You are here: Open a php file « All PHP « IT news, forums, messages
Open a php file

Posted by S.Voll on 04/02/06 23:10

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация