[thelist] calling a php file and submitting a form?

Mike Migurski mike at saturn5.com
Wed Jan 8 15:05:01 CST 2003


>a) user fills in form
>b) submit form (post)
>c) before the form goes to the next page (onsubmit()) - I need to
>copy the values from the form and run a php script.. this means I
>either have to use javascript or post the form to 2 places..is this
>possible?

Why not have the handler form do both - handle the submission, and do
whetever else it is you need to do? I can't think of any situation where
you may need to do something that unconventional, but maybe some more
details about the problem you're trying to solve would hlp.

Short answer: no, form submissions can only go to one place.

---------------------------------------------------------------------
michal migurski- contact info and pgp key:
                 http://www.saturn5.com/mike/contact.html

                "Freedom! Horrible, horrible freedom!"







More information about the thelist mailing list