[thelist] Re: SELF FORM VALIDATION - php

Alex Farran alex at alexfarran.com
Sat Feb 28 17:37:43 CST 2004


  writes:

> I'm using a self validation form (php) with sessions and would like to
> redirect the posted or session data to another .php file. I tried header
> redirect to no avail.
 
> Could you someone please rescue me.

To redirect to another page I use -

header( "Location: ".$location );

This must be the first thing you output or it will fail.
-- 

    __o    Alex Farran
  _`\<,_   Analyst / Programmer
 (_)/ (_)  www.alexfarran.com



More information about the thelist mailing list