I realize there are no "GoTo()" and "Reload()" functions in PHP but let me explain what I am trying to get at... I am trying to write a PHP script that I can tell it, go to a certain URL (page), then wait x amount of seconds/minutes, then reload the page and repeat this process to a previously indicated amount of times. Now, I already know I cannot use th sleep() function because most servers have a limit of how long a script can execute for. I want to use this script for debugging another PHP project I made. I want to try and break it (funny enough) by having it get "hit" by the same ip multiple times in a certain amount of time. Now, does anyone have any ideas how to do this without using AJAX of Javascript? I would really like a pure PHP script if at all possible. Once I am done with testing, I will take down the page, as it is EXTREMELY inconsiderate towards the servers/hosts, but I figure for a half hour-an hour of testing, its OK. Thanks in advance.



Reply With Quote


Bookmarks