Page 2 of 2

Posted: Wed Dec 01, 2004 6:35 pm
by josh
Yeah it was a type by memory and i wasnt thinking when i posted here.. lol x>5 is what it should be

Posted: Wed Dec 01, 2004 6:39 pm
by timvw

Code: Select all

set_time_limit (0);
while (true)
{
    // open socket, write http1 get /whatever, don't wait for output and run 
    
   //  file_get_contents() would require us to download the whole returned page
}

Posted: Wed Dec 01, 2004 9:00 pm
by rehfeld
timvw wrote:

Code: Select all

set_time_limit (0);
while (true)
{
    // open socket, write http1 get /whatever, don't wait for output and run 
    
   //  file_get_contents() would require us to download the whole returned page
}

hehe...

the most fun is when you find someone using urls like

index.php?page=page2.php

i just change the url to
index.php?page=index.php

and laugh until the page gets so big my browser crashes :)

Posted: Sat Dec 04, 2004 11:54 am
by asi0917
another question, if anyone is still paying attention to this forum,
what would code for a form with a button in it look like,
the buttons purpose would be to reset test.txt

Posted: Sat Dec 04, 2004 2:50 pm
by timvw
http://www.php.net/fopen

'w' Open for writing only; place the file pointer at the beginning of the file and truncate the file to zero length. If the file does not exist, attempt to create it.



and then do the regular stuff........

Posted: Sat Dec 04, 2004 4:22 pm
by asi0917
my hoster's server has been shut down???
idk, i think my site over loaded it or sumfin