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
[EMAIL PROTECTED] (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