Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Generating a POST


Message #1 by "TQ White II" <tqWrox@j...> on Thu, 18 Apr 2002 19:19:29
I have an application where I want to do a header 'location:' type of 
redirect. I also want to send form parameters to the destination page.

Previously I have done this by adding a query string to the url in the 
location: clause, ie, location: http://blah.com?parameter=something. 
The data arrives as if posted from a method=GET form and life is 
good.

Today, I need to send the data as if created by a method=POST form 
(in fact, my workaround is to write a method=POST form with a 
javascript submit attached).

I can't figure out how to use PHP to attach parameters to be picked up 
via POST.

Any thoughts?

tqii

  Return to Index