how can curl code more basic? yet can't output - hello curl! - on browser. please help!
<?php $ch = curl_init(); curl_setopt($ch, curlopt_url, "http://".$_server["http_host"]."/ita2/test.php"); curl_exec($ch); curl_close($ch); ?> this test.php script:
<?php echo "hello curl!"; ?>
Comments
Post a Comment