Re: Fw: [PHP-INST] Simple .php page redirect
| From: | Lee Leahu | Date: | Sun, 23 Dec 2001 02:11:48 +0000 |
| Subject: | Re: Fw: [PHP-INST] Simple .php page redirect | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-5370@lists.php.net to get a copy of this message | ||
Try this example, it is easier and doesn't require Javascript on the client machine:
<?php
header("Location: http://www.somedomain.com/somepath/somefile.php");
?>
That's all you need!
At 01:35 2001-09-17, you wrote:
hello, it is very possible to redirect with just some html code... <body onload="use java code to open page"> i.e. the location might work, onload="location='../folder/file'" i hope this can help youLee Leahu lee@ricis.com Internet Technologies Specialist RICIS, Inc. Phone: (708) 444-2690 Fax: (708) 444-2697 Cell: (708) 363-6860 Pager: (708) 467-2044 http://www.ricis.com/