Re: File - Success Warning Message
| From: | Richard Davey | Date: | Thu, 04 Dec 2003 10:02:47 +0000 |
| Subject: | Re: File - Success Warning Message | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171787@lists.php.net to get a copy of this message | ||
Hello [-^-!-%-,
Thursday, December 4, 2003, 9:54:31 AM, you wrote:
> $_html = implode('',file('http://myaddress.com'
>));
> Warning: Bad arguments to implode() in
> $_html is empty, even though the remote page exist and is working
> properly.
implode creates a string from an array. Your web page is not an array!
The "Bad arguments" warning is trying to tell you this. That is why
$_html is empty.
--
Best regards,
Richard mailto:rich@launchcode.co.uk