Thread: Open a php page
View Single Post

  #1 (permalink)  
Old 04-02-2006
S.Voll
 
Posts: n/a
Default Open a php page

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.


Reply With Quote