[FX.php List] PHP Header vs. Javascript location.replace ?
Gjermund Gusland Thorsen
ggt667 at gmail.com
Wed Jul 19 16:48:18 MDT 2006
I do not use javascript, all my scripts are HTML 2.0 compatible.
ggt667
On 7/20/06, Joel Shapiro <jsfmp at earthlink.net> wrote:
> Last year at DevCon Lance Hallberg recommended using a javascript
> location.replace instead of php header (something about problems
> loading a header more than once?)
>
> <script language="javascript">
> <!--
> location.replace("./Form2.php");
> -->
> </script>
>
> Any thoughts?
>
> -Joel
>
>
> On Jul 19, 2006, at 3:02 PM, Gjermund Gusland Thorsen wrote:
>
> > after you have done your FMNew in CreateRecord.php
> >
> > And it returns errorCode == 0
> >
> > I believe you should do a
> >
> > header( "Location: ./Form2.php" );
> > exit;
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>
More information about the FX.php_List
mailing list