fopen("http://...") shows error when there is none
| From: | Lukas | Date: | Sat, 15 Mar 2003 20:57:14 +0000 |
| Subject: | fopen("http://...") shows error when there is none | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-19026@lists.php.net to get a copy of this message | ||
Hi!
I've installed 4.3.1 under Windows 2002 and whenever I try to call my SMS
gateway with a php function (which was no problem with the provider I had
before) the script gives me the following output:
Warning: fopen() [function.fopen]: HTTP request failed! HTTP/1.1 404 Object
Not Found in E:\Webseiten\test.php on line 3
Warning: fopen( here comes my sms provider url for the script)
[function.fopen]: failed to create stream: Bad file descriptor in
E:\Webseiten\test.php on line 3
Warning: fgets(): supplied argument is not a valid stream resource in
E:\Webseiten\\test.php on line 4
Warning: fclose(): supplied argument is not a valid stream resource in
E:\Webseiten\\test.php on line 5
But ... the SMS arrives on my mobile phone without any problems!
Do you have an idea what I could do?
Lukas L. Rosenstock