RE: [PHP] help please help
| From: | luis | Date: | Tue, 15 Apr 2003 18:26:47 +0000 |
| Subject: | RE: [PHP] help please help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-143999@lists.php.net to get a copy of this message | ||
Submit the form to a php scrip and use an http connection to send some
data to the CGI script for example
$foo = $_REQUEST['foo']; or whatever....
then something like this....
$fp = fopen(http://example.com/script.cgi?name=$foo);
If the data MUST be submitted using POST you can use Snoopy, a PHP class
that can emulate a browser behaviour.
Of course you can do the same form the CGI point of view but this is a
PHP mailing list after all.
-----Original Message-----
From: Didier McGillis [mailto:codesmoker@hotmail.com]
Sent: Tuesday, April 15, 2003 3:19 PM
To: php-general@lists.php.net
Subject: [PHP] help please help
I'm sumbitting a form. Part of it has to go to a cgi form and the other
has
to execute some php. This is one form, so I need it to do it once
without
having somebody have to hit the button twice.
anyone have a way of doing this.
thanks,
dan
_________________________________________________________________
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php