[PHP] Checking correct usage of fopen(), stream_set_timeout() and fread() [newbie]

2010-02-11 Thread Mark White
Hi, I have some code to download large files as part of a larger class. I've been in a discussion with the developer of a library that I'm using who has told me clearly that my code will not work at all, even though it does. He is suggesting my problems are due to my not understanding the nature o

Re: [PHP] newbie problem - extraneous newlines inserted in PHP-generated HTML form source

2006-11-22 Thread Mark White
Thanks to Richard Lynch and Edward Kay for their help. The var_dump() showed unwanted whitespace appearing in the array data from record 2 onwards. The trim() worked a treat to get rid of it. Now all I have to do is work out what's wrong with my original handler functions that caused the pr