File - Success Warning Message

From: Date: Thu, 04 Dec 2003 09:54:31 +0000
Subject: File - Success Warning Message
Groups: php.general 
Request: Send a blank email to php-general+get-171785@lists.php.net to get a copy of this message
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.

« previous php.general (#171785) next »