note 79479 added to function.file
| From: | Radon8472 at osu1 dot php dot net | Date: | Thu, 29 Nov 2007 10:42:25 +0000 |
| Subject: | note 79479 added to function.file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132660@lists.php.net to get a copy of this message | ||
andekian at gmail dot com (Steve), why do you such complicated stuff ?
<?php
$file = "www.pickalandlord.com/cgi-bin/example.exe?parm1=value";
readfile($file);
?>
or
<?php
$file = "www.pickalandlord.com/cgi-bin/example.exe?parm1=value";
echo file_get_contents($file);
?>
Produces exactly the same output.
And the "urldecode" doesn`t make sense to me in this case
----
Server IP: 217.13.201.10
Probable Submitter: 87.234.95.85
----
Manual Page -- http://www.php.net/manual/en/function.file.php
Edit -- https://master.php.net/note/edit/79479
Del: integrated -- https://master.php.net/note/delete/79479/integrated
Del: useless -- https://master.php.net/note/delete/79479/useless
Del: bad code -- https://master.php.net/note/delete/79479/bad+code
Del: spam -- https://master.php.net/note/delete/79479/spam
Del: non-english -- https://master.php.net/note/delete/79479/non-english
Del: in docs -- https://master.php.net/note/delete/79479/in+docs
Del: other reasons-- https://master.php.net/note/delete/79479
Reject -- https://master.php.net/note/reject/79479
Search -- https://master.php.net/manage/user-notes.php