You are here: Best way to do this: www.domain.com?page=var « PHP « IT news, forums, messages
Best way to do this: www.domain.com?page=var

Posted by Michael Hulse on 10/04/19 11:37

Hello,

What would be the best way to get a page variable like this:

www.domain.com?page=home

to show up when a user types in:

www.domain.com

My current fix is to have this:

header("Refresh: 0; URL=http://www.domain.com/start.php?page=home");

.... on a index.php page on the root.

Is there a way I can do this and avoid having a page that just does
redirection?

Thanks for help.
Cheers,
Micky

 

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

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