Best way to do this: www.domain.com?page=var

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux