Re: redirect
| From: | Data Driven Design | Date: | Mon, 24 Jul 2000 17:10:45 +0000 |
| Subject: | Re: redirect | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-7934@lists.php.net to get a copy of this message | ||
<script language="javascript">
<!--
window.location.href = "<?php echo $new_location ?>";
// -->
</script>
You have to use client side scripting
Data Driven Design
P.O. Box 1084
Holly Hill, FL 32125-1084
Phone : (904) - 226-8979
URL : http://www.datadrivendesign.com
URL : http://www.rossidesigns.net
----- Original Message -----
From: "Laura Carlson" <lcarlson@d.umn.edu>
To: <php-general@lists.php.net>
Sent: Monday, July 24, 2000 11:55 AM
Subject: [PHP] redirect
> Is there a way to redirect to a url after code or whitespace? I know
> that
> the header function doesn't work for this. It can not have anything
> printed to the screen prior
> to it.
>
> So how can you redirect from a place deep in the code?
>
> Your suggestions will be greatly appreciated.
>
> Laura
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>