PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
ї09-Jun-2005 16:58:29] PHP Warning: fopen(http://www.alexa.com): failed to open stream: Connection refused in **********************/test.php on line 7
ї09-Jun-2005 16:58:29] PHP Warning: fread(): supplied argument is not a valid stream resource in ***********************/test.php on line 9
i tried a code practically identical yesterday as a test for my EzThumb class, as i have to seperate ways of reading local and remote files, this code basically just created an infinite loop.
I have also seen this code recommended in the PHP manual, som im not sure why it wont work for some people