Thread
:
PHP advice on loops
View Single Post
12-21-2005, 05:04 PM
SMG
Confirmed User
Join Date: Aug 2003
Posts: 1,798
do you mean something like this?
do {
$fp = fopen($url,'r');
$fout = '';
while ($s=fgets($fp,1000)) {
$fout .= $s
}
fclose($fp);
} while (empty($fout));
__________________
TGP Webmasters: sign up for the top 100 tgp list!
Submit galleries
If you add me to icq (title) make sure to mention GFY or I'll think you're a bot and deny you.
SMG
View Public Profile
Visit SMG's homepage!
Find More Posts by SMG