Hello everyone!

I'm getting this weird warning message when I include a file. I was hoping
someone could point me in the right direction.

==The Code==
$_html = implode('',file('http://myaddress.com'));
print_r($_html);

===

This code gives the following error:

----Begin Error------
Warning: file("http://webmail.juicemarketing.net";) - Success in
/home/sites/site38/web/webbrowser.php on line 3

Warning: Bad arguments to implode() in
/home/sites/site38/web/webbrowser.php on line 3
---End Error -----

$_html is empty, even though the remote page exist and is working
properly.

What is causing that warning? Am I misssing something?

I am using php 4.0.6 (*don't ask...I'm trying to get the ISP to
upgrade...) with allow_url_fopen set to '1'.

OS: LInux
PHP: 4.0.6


=P e p i e  D e s i g n s
 www.pepiedesigns.com
 Providing Solutions That Increase Productivity

 Web Developement. Database. Hosting. Multimedia.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to