I got this script i wish to run like it was a seperate thread on the server
cause i can't run anything with a crontab but i can't seem to do a valid GET
request thru fsockopen. If anyone can help me please.


$fp = fsockopen ("sandbox.lhjmq.xl5.net", 80);
if ($fp) {

fputs ($fp, "GET /lang_fr/index.php HTTP/1.1");
while (!feof($fp)) echo fgets ($fp,128);
fclose ($fp);
}

I run the script from the web but nothing happens. If i run it also with the
real URL i want to get (I cannot show this url for security reasons) my
processor and mysql process should go up to 80% each for like 40 seconds and
my "top" command in shell would show it, but it's not happenning. Now i
tried index.php and still nothing!

Please help me out

Mathieu Dumoulin



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to