POST without a button
| From: | Ron Newman | Date: | Wed, 30 Aug 2000 16:25:03 +0000 |
| Subject: | POST without a button | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-14429@lists.php.net to get a copy of this message | ||
I have an HTML/Javascript file which has a form in it whose action is to
call my PHP4 file. After PHP4 stuffs some of the data into a database, it
needs to POST to a remote html file.
The PHP4 file is invisible, generates no HTML except in the case of an
error. How do I invisibly do another post without putting up a submit button?
I thought of using header("location:"), but I understand from the manual
that headers should go at the very top of the file, and I want the entire
file to execute, then jump to the new address.
*************************************************
Ron Newman
Troubadour Technology
http://www.imt.net/~ronman/
*************************************************