RE: [PHP] Re-directing
| From: | scott [gts] | Date: | Thu, 17 May 2001 16:17:24 +0000 |
| Subject: | RE: [PHP] Re-directing | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53265@lists.php.net to get a copy of this message | ||
ohhh...
i thought he wanted to know how to do a
simple redirect... not how to make
'start.php' the index...
i agree it's an odd request. why not just
name it 'index.php', or specify 'start.php'
with apache?
> -----Original Message-----
> From: B. van Ouwerkerk [mailto:bvo@atz.nl]
> Sent: Wednesday, May 16, 2001 4:58 PM
> To: scott [gts]
> Subject: RE: [PHP] Re-directing
>
>
> At 14:56 16-5-01 -0400, you wrote:
> >if you need to redirect a page, why not juse use
> >header("Location: ./newurl.php"); ??
> >
> >or, as was suggested, use the apache directive
> >to do it for you if you have access to the
> >config files... :)
>
> Nope. .htaccess can contain almost any directive which is found in the
> httpd.conf file. It will even work with most ISP's :-)
>
> Meta refresh is a good idea too.. But I would consider javascript one of
> the worst things possible. In my experience it's buggy and you need the
> visitor to be so kind to enable javascript..
>
> I wonder why the person who asked the question in the first place just
> doesn't want to call his start.php (or whatever de name is) index.php .. oh
> well probably a M$ lover.
>
> Bye,
>
>
> B.
>