|
Posted by crescent_au on 10/04/06 14:04
hi all,
i am creating a form that returns to itself like this:
<form name="form1" action="<?php echo $_REQUEST['PHP_SELF']; ?>"
method="post">
Upon clicking submit, I want the form to return to "itself" (does the
input fields validation). If the validation is false, the initial input
values are displayed on the fields. If the validation is correct, it
should go to an external file (on different server) and does the rest
of the processing such as sending mail or writing to a file, etc (could
be anything). There are basically 2 tasks here. Is this achievable in a
single form. I tried to include external file after validation but it
fails to call a function inside that file as the file resides on a
different server.
Can someone show me the right direction?
Thanks
Navigation:
[Reply to this message]
|