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

Huh?  The file names are .php and the code is within PHP script tags so it
is running on the server.  The redirection is occuring, just that it's not going 
to the right frame.

<script language="php"></script>

is the same as writing

<?php ?>

The latter is just shorthand.

Chris


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

Reply via email to