Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #6345
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!solaris.cc.vt.edu!news.vt.edu!newsfeed-00.mathworks.com!panix!not-for-mail |
|---|---|
| From | Robert Rosenberg <hal9001@panix.com> |
| Newsgroups | comp.lang.php |
| Subject | Simulating a Form Method=Post submission in PHP |
| Date | Sat, 16 Jun 2012 14:25:57 -0400 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Lines | 14 |
| Message-ID | <CC0247F5.270E7%hal9001@panix.com> (permalink) |
| NNTP-Posting-Host | ool-4578bca6.dyn.optonline.net |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="US-ASCII" |
| Content-Transfer-Encoding | 7bit |
| X-Trace | reader1.panix.com 1339871158 10099 69.120.188.166 (16 Jun 2012 18:25:58 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Sat, 16 Jun 2012 18:25:58 +0000 (UTC) |
| User-Agent | Microsoft-Entourage/11.4.0.080122 |
| Thread-Topic | Simulating a Form Method=Post submission in PHP |
| Thread-Index | Ac1L7XjStyfoOrfgEeG9BgAfWzxFxA== |
| Xref | csiph.com comp.lang.php:6345 |
Show key headers only | View raw
I would like to go to an external site and send a form to it via Post (simulating having generated the form and having the user submit it). I know that if I had been using GET, I could just code the parms along with the URL in the location command. To simulate Post I assume that I just need to use header to send the POST parms but I do not know the format of what to place in the header request (and I assume that I then use location to fire off to connection). Can someone either supply me with a sample code to do this or give me the URL of the documentation of the Headers that get sent by Post so I can look them up and create the needed script myself. Thank You.
Back to comp.lang.php | Previous | Next — Next in thread | Find similar | Unroll thread
Simulating a Form Method=Post submission in PHP Robert Rosenberg <hal9001@panix.com> - 2012-06-16 14:25 -0400
Re: Simulating a Form Method=Post submission in PHP Jerry Stuckle <jstucklex@attglobal.net> - 2012-06-16 14:45 -0400
Re: Simulating a Form Method=Post submission in PHP Luuk <luuk@invalid.lan> - 2012-06-16 20:46 +0200
Re: Simulating a Form Method=Post submission in PHP Robert Rosenberg <hal9001@panix.com> - 2012-06-16 20:10 -0400
Re: Simulating a Form Method=Post submission in PHP Jerry Stuckle <jstucklex@attglobal.net> - 2012-06-16 20:41 -0400
Re: Simulating a Form Method=Post submission in PHP Luuk <luuk@invalid.lan> - 2012-06-17 20:14 +0200
Re: Simulating a Form Method=Post submission in PHP "J.O. Aho" <user@example.net> - 2012-06-17 14:19 +0200
Re: Simulating a Form Method=Post submission in PHP Denis McMahon <denismfmcmahon@gmail.com> - 2012-07-03 12:11 +0000
Re: Simulating a Form Method=Post submission in PHP Arno Welzel <usenet@arnowelzel.de> - 2012-06-18 09:54 +0200
csiph-web