Troubles with sockets
| From: | Marek Blahus | Date: | Sun, 20 Aug 2000 20:05:35 +0000 |
| Subject: | Troubles with sockets | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-12667@lists.php.net to get a copy of this message | ||
Hello list.
I have a problem with FSockOpen PHP3 function. I am using a "HTTP Classes"
class for getting the files from the internet to use in my scripts. I am
running scripts on virtual web server www.ceskywap.cz. All is right when
connecting and getting data from another servers, but when I try to get any
file from the server where the script is running, www.ceskywap.cz, it is
plodding, plodding and then returns an error. My syntax is:
$connection = FSockOpen("www.ceskywap.cz/wap/show.php3", 80, &$error);
Does anybody of you know what could be the reason and how to fix it? Thank
you very much.
Marek Blahus