note 58699 added to function.passthru
| From: | phpemail at supernaut dot org | Date: | Sat, 12 Nov 2005 17:34:56 +0000 |
| Subject: | note 58699 added to function.passthru | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-98485@lists.php.net to get a copy of this message | ||
passthru doesn't seem to take a URL as an imput, but you can effectively passthru a URL using
file_get_contents:
echo file_get_contents('http://www.someurl.wha/dbsgepka/index.php');
(if the fopen wrappers have been enabled; i'm sure there's a dozen other ways to do it as
well.)
cheers,
:)b
----
Manual Page -- http://www.php.net/manual/en/function.passthru.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+58699
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58699&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58699&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58699&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58699&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58699&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58699&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58699&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+58699&report=yes
Search -- http://master.php.net/manage/user-notes.php