I have a script that use the
header('Refresh: 5; url=http..');
die();
And i call this script with another php file that use the function "file_get_contents". Unfortunately it does not work. With header location there aren't problems.
Any suggestions?
-- UPDATES --
I have followed the advice of Oscargeek. I have updated the code with a print of HTML that contains meta-refresh. The script that call this url, is a "system" of cron, and make this call in a foreach. So i think it can't work. I have changed this call with a cron and wget, but the result is the same.
Other suggestion ?