aboutsummaryrefslogtreecommitdiff
path: root/php/examples/getpageinvar.php
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-10-01 07:40:32 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-10-01 07:40:32 +0000
commit9ff28a823702781f7e90cd44f31032a453827e7a (patch)
treebc29b74be5941b9910f433042c182829cc44aba2 /php/examples/getpageinvar.php
parente9aa07f660a3663281416fd5d391bcee78a117ec (diff)
moved to separate module
Diffstat (limited to 'php/examples/getpageinvar.php')
-rw-r--r--php/examples/getpageinvar.php12
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);
-?>