Re: PHP on_submit()

From: Date: Fri, 01 Sep 2000 14:53:17 +0000
Subject: Re: PHP on_submit()
Groups: php.general 
Request: Send a blank email to php-general+get-14822@lists.php.net to get a copy of this message
>Perhaps you should use one form to send the info back to the PHP script. >Then your script can do it's stuff and do a POST to the second machine >by itself, from inside PHP that is. That way the user is only submitting >one form. If I understand you correctly, this is what I'm doing. The user sees only one form, and this first form gathers data into variables which PHP can access. Then a second POST sends this to the third party server, but this time there's no visible form. I guess you'd call it a virtual form. Both are done with Javascript. If there was a non-Javascript way to gather info from a form and put it into PHP $variables I'd be set. How about sessions? I haven't used them but is there something I'm overlooking there that would work? I guess the crux of the problem is getting data out of an HTML form, not just out of PHP, which lead to my method of using some HTML, some Javascript, and some PHP to get the job done. If any PHPLIB or PHP4 developers are listening, this would be a great addition, a PHP4 version of on_submit() and on_click() and on_load !! ************************************************* Ron Newman Troubadour Technology http://www.imt.net/~ronman/ *************************************************

« previous php.general (#14822) next »