put this to the begining of your some.php

if (eregi("some.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}


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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to