> - if I use wget --spider (HEAD request) the script exits just after the > first output, all the functions below never get executed > > This has nothing to do with any system command. Then have your HTTP request trigger a system command that runs on regardless. The HTTP request continues on after triggering the system command, not giving a "tiny rats ass" what it does. You can use the exec() code I gave you to do this (ie using an ampersand and redirecting the output streams). -- Richard Heyes HTML5 Graphing for FF, Chrome, Opera and Safari: http://www.rgraph.org (Updated November 1st) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php