Re: fopen("http://...") shows error when there is none
| From: | Lukas | Date: | Sat, 15 Mar 2003 21:20:43 +0000 |
| Subject: | Re: fopen("http://...") shows error when there is none | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-19027@lists.php.net to get a copy of this message | ||
Ha, just forget it! It was no php problem but the settings I had with my SMS
gateway linked back to a file on my server that doesn't exist.
"Lukas" <ich@lukasrosenstock.net> schrieb im Newsbeitrag
news:20030315205652.87225.qmail@pb1.pair.com...
> 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
>
>