Yamil Ortega wrote:
Ok, but what happens if I change server and there is no more apache2
directory?
Do I have to change all the headers in my 37 web pages?
do this:
// in a config file, or header file
$sitename = "http:/localhost/apache2/"; eader file
// whereever it is needed
header("Location: $sitename/file3.php");
You may also want to look at the object buffer and perhaps clear that
before doing a redirect.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php