Greetings, Martino Dell'Ambrogio. In reply to Your message dated Tuesday, November 4, 2008, 15:11:45, > - if I use wget --spider (HEAD request) the script exits just after the > first output, all the functions below never get executed It is intended behaviour. Apache sending headers at the moment first body byte sent, and since it is HEAD request, Apache shut down the script in case of request completion (HEADers sent). -- Sincerely Yours, ANR Daemon <anrdaemon@xxxxxxxxxxx> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php