Re: File Access...
| From: | Stephan Seidt | Date: | Thu, 19 Sep 2002 18:24:46 +0000 |
| Subject: | Re: File Access... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116902@lists.php.net to get a copy of this message | ||
I guess it is sth. like :
<?php header('Redirect: http://www.domain.com/index.php'); ?>
If it doesnt work try www.php.net/header, there is an example.
On Thu, 19 Sep 2002 17:21:15 +0100
brian.mcgarvie@anypurposeloans.co.uk (Brian McGarvie) wrote:
> How could you redirect somone from directly accessing a file...
>
> Meaning... if an engine spiders www.domain.com/some.php
>
> How could you make some.php redirect to index.php
>
> However... the site is framed, and the menu uses content.php to display the
> selected content.
>
> Any ideas?
>
>