Hello guys;
Sorry about this, I a beginner PHP developper, I need some help plase.
I wrote this script yesternight on my index.php file located under the apache directory directly,
<?php
ob_start();
header("Location: www.google.co.uk"
;
ob_flush_end();
?>
this script generates me a error pricising that the header are alredy sent, I copied the script created an other file named "test.php" and tried again over the new file, "THE SCRIPT WORKS CORRECTLY". so what's up now, do this script or doesn't it.
I noticed so, that no function that uses headers works on that file why "the index.php mistery". no session_start() no header() nothing.
For attention, I'm using wamp5 server in it's last version.
I worked with headers for a long time (with older versions of apache and php), I have not seen such problems.
So I'll be thankful, if any one can help.
Tounsi Moez
Genie Logiciel