Sam Masiello wrote:

If the PHP configuration doesn't have "register_globals" turned on in
the php.ini file, you will be able to access the form variables via the
_POST array like this:

$_POST["my_form_var"]

Of course, substitute my_form_var with the correct variable from the
form that you are submitting.

If the server does have register_globals turned on you can access the
variables just as they are named in the form.  For example, if you have
a text input field named "lastname", you can access the value in that
text box using the variable $lastname.

Thanks, but how do I get the info submitted to the PHP script to access the data in the first place? Since the target of the form is the Perl script, the submit button submits the form to the Perl script; can I add a second button of some type to submit the form to a different location (the PHP script)? Or can I use the DOM (ie document.formname.fieldname.value) to grab the data straight from the fields and then pass it on somehow?


--

Charlie Fiskeaux II
Media Designer
Cre8tive Group
cre8tivegroup.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to