I would try urlencoding the query-string in that url. Or put the url in
single quotes instead.

Just shots in the dark, but try it out.

M.


----- Original Message -----
From: "Tim Harvey" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 10, 2001 9:44 PM
Subject: [PHP] Problems with the fopen() function


> Can somebody PLEASE help me with this problem I'm having.
>
> This is a script to search the web. It sends the parematers "q,c & i" to
the
> "SeacrhHippo" server using the fopen function. When the script executes
the
> following error messages are displayed:
>
> Warning: php_hostconnect: connect failed in /usr/home/public_html/test.php
> on line 118
> Warning: fopen("http://www.searchhippo.com/qxml?q=test&c=&i=","r";) - Bad
> file descriptor in /usr/home/public_html/test.php on line 118
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to