NYCPHP Meetup

NYPHP.org

[nycphp-talk] Passing some form values through to a redirected page...

Webapprentice webapprentice at onemain.com
Fri Jan 31 16:53:40 EST 2003


Ok, this is an easy way, no doubt.

How would I do this via POST?  Some form fields may not be presentable 
to the screen.

--Stephen

nyphp at jimbishop.org wrote:

>>Upon a successful submission of the form on my PHP page, I use the
>>header("Location: ") function to redirect to another page.  I'd like
>>to carry over some form values over to the redirected page to use.  
>>Is this possible?  Or is there another way to do this?  I don't think
>>it's a good idea to embed the second page into the main PHP page as
>>the main PHP page will be very long.
>>    
>>
>
>
>the easiest way is to just:
>
>Location:  http://url.com/?name=value&name1=value1
>
>then on the corresponding grab the values in the $_GET hash.
>
>
>
>
>
>
>
>--- Unsubscribe at http://nyphp.org/list/ ---
>
>
>
>  
>





More information about the talk mailing list