diff options
Diffstat (limited to 'php/examples/getpageinvar.php')
-rw-r--r-- | php/examples/getpageinvar.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/php/examples/getpageinvar.php b/php/examples/getpageinvar.php deleted file mode 100644 index 9b45d9ef7..000000000 --- a/php/examples/getpageinvar.php +++ /dev/null @@ -1,12 +0,0 @@ -<?php -// -// The PHP curl module supports the received page to be returned in a variable -// if told. -// -$ch = curl_init(); - -curl_setopt($ch, CURLOPT_URL,"http://www.myurl.com/"); -curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); -$result=curl_exec ($ch); -curl_close ($ch); -?> |