Re: Header() - POST
| From: | Luke | Date: | Fri, 05 Sep 2008 17:30:07 +0000 |
| Subject: | Re: Header() - POST | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279564@lists.php.net to get a copy of this message | ||
POST requests in Ajax (or without in js) is straight forward. On the iPod now but I'll POST an example later. Get it?
Luke Slater
Lead Developer
NuVoo
On 5 Sep 2008, at 18:14, mike <mike503@gmail.com> wrote:
On Fri, Sep 5, 2008 at 9:20 AM, Boyd, Todd M. <tmboyd1@ccis.edu> wrote:On a side note... in the future, if you find that a particular process calls for POSTing to a different page, the cURL library (which I believe is now included with PHP by default in v5.x+) can accomplish a plethora of wonderful stuff that would ordinarily be handled by a browser (POSTing, basic HTTP authentication, SSL certs, etc.).correct: curl is king for that OP: sending POST to the browser doesn't do anything. POST is a request, not a response. if you want to re-post data you need to look at a client-side alternative using javascript (or applets - flash, java, etc) --PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php