Re: PHP running as CGI? How to set x.php as index page?

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

 



Hi Mike, thanks for the help, I really appreciate your time. :)

Michael Weaver wrote:
It's not a PHP trick, but it should work for you, even with restrictions.

Definitely a good option. Actually, that is close to what I am doing now:

<?php
#header("Refresh: 0; URL=http://www.domain.com/start.php?page=home";); /* Old technique. */ require('http://www.domain.com/start.php?page=home'); /* Current technique. */
?>

I chose to use require() for SEO purposes... I think Google tends to frown upon header redirects and/or refreshes... but require() has become slightly problematic for other reasons... I think the bottom line is that this host sucks... need to make a switch. :D

Thanks for the tip, I greatly appreciate your help.

Cheers,
Micky

--
 Wishlist: <http://snipurl.com/vrs9>
   Switch: <http://browsehappy.com/>
     BCC?: <http://snipurl.com/w6f8>
       My: <http://del.icio.us/mhulse>

--
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