note 55050 added to function.fsockopen
| From: | zmrzli_at_mindspring_dot_com at osu1 dot php dot net | Date: | Sat, 23 Jul 2005 17:35:48 +0000 |
| Subject: | note 55050 added to function.fsockopen | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-92345@lists.php.net to get a copy of this message | ||
I've noticed that fopen (and fsockopen) fail when you try to open an url that's located on
the same server where's the script that's doing the openning.
In other words, the fopen in the script that's located in www.mydomain.com/myscript.php will
fail if you try to open www.mydomain.com/index.htm. The same script will work fine if you try
different url.
Miro
----
Manual Page -- http://www.php.net/manual/en/function.fsockopen.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+55050
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55050&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55050&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55050&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55050&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55050&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55050&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+55050&report=yes
Search -- http://master.php.net/manage/user-notes.php