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

From: Date: Mon, 05 Mar 2007 06:21:54 +0000
Subject: Re: PHP running as CGI? How to set x.php as index page?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-249843@lists.php.net to get a copy of this message
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>

« previous php.general (#249843) next »