note 95518 added to function.file-get-contents
| From: | navyism at osu1 dot php dot net | Date: | Thu, 07 Jan 2010 08:30:54 +0000 |
| Subject: | note 95518 added to function.file-get-contents | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-164723@lists.php.net to get a copy of this message | ||
function file_wget_contents($url)
{
$fuid = '/tmp/wget_tmp_' . md5($_SERVER['REMOTE_ADDR'] . microtime() . $url);
$cmd = 'wget "' . $url . '" -O "' . $fuid . '"';
$cmd;
$data = file_get_contents($fuid);
rm -rf $fuid;
return $data;
}
----
Server IP: 211.234.110.150
Probable Submitter: 115.93.103.92
----
Manual Page -- http://www.php.net/manual/en/function.file-get-contents.php
Edit -- https://master.php.net/note/edit/95518
Del: integrated -- https://master.php.net/note/delete/95518/integrated
Del: useless -- https://master.php.net/note/delete/95518/useless
Del: bad code -- https://master.php.net/note/delete/95518/bad+code
Del: spam -- https://master.php.net/note/delete/95518/spam
Del: non-english -- https://master.php.net/note/delete/95518/non-english
Del: in docs -- https://master.php.net/note/delete/95518/in+docs
Del: other reasons-- https://master.php.net/note/delete/95518
Reject -- https://master.php.net/note/reject/95518
Search -- https://master.php.net/manage/user-notes.php