IP archiver

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post 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
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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
}
rehfeld
Forum Regular
Posts: 741
Joined: Mon Oct 18, 2004 8:14 pm

Post 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 :)
User avatar
asi0917
Forum Commoner
Posts: 41
Joined: Thu Nov 25, 2004 10:37 am
Location: Shoreline, Washington
Contact:

Post 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
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post 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........
User avatar
asi0917
Forum Commoner
Posts: 41
Joined: Thu Nov 25, 2004 10:37 am
Location: Shoreline, Washington
Contact:

Post by asi0917 »

my hoster's server has been shut down???
idk, i think my site over loaded it or sumfin
Post Reply