Re: Targetted redirection?
| From: | Analysis & Solutions | Date: | Fri, 15 Mar 2002 17:25:10 +0000 |
| Subject: | Re: Targetted redirection? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-88681@lists.php.net to get a copy of this message | ||
On Fri, Mar 15, 2002 at 11:03:22AM -0600, Chris Boget wrote:
> <script language="php">
> if( isset( $submit )) {
> header( "Window-target: content" );
> header( "location: right.php" );
> exit();
> }
> </script>
The script needs to be in between <?php and ?> in order to execute
on your server. Browsers don't execute PHP. What you've written is how
Java'sCrap works.
Enjoy,
--Dan
--
PHP scripts that make your job easier
http://www.analysisandsolutions.com/code/
SQL Solution | Layout Solution | Form Solution
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y