You are here: processing 2 things in one form. is it possible? « PHP Programming Language « IT news, forums, messages
processing 2 things in one form. is it possible?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация