Hello everyone,
I am confused. I want to open a php file and find myself redirected on
another.
a simple example of what I'd like to do.
file1.php______ _______________ __
<?php
header(Location : http://127.0.0.1/file2.php);
?>
file2.php______ ___________
<?php
echo "you are in file 2";
?>
it doesn't work! maybe I am not using the proper function...
what can I do?
thanks for you help.
I am confused. I want to open a php file and find myself redirected on
another.
a simple example of what I'd like to do.
file1.php______ _______________ __
<?php
header(Location : http://127.0.0.1/file2.php);
?>
file2.php______ ___________
<?php
echo "you are in file 2";
?>
it doesn't work! maybe I am not using the proper function...
what can I do?
thanks for you help.
Comment