TomBrown Posted September 15, 2009 Share Posted September 15, 2009 I have a structure or procedural issue. My form is a PHP file. I'm using nms_formmail.pl which requires the name of the file to be entered into the action field of the form. I want to use PHP rather than Javascript to validate the form data. When using Javascript to validate I've used the onSubmit="return validate()" with the nms_formmail.pl in the action field. The only way I can seem to get my PHP code to run is puting <?=$_SERVER['PHP_SELF']?> in the action field, but then I can't get my nms_formmail.pl to run without getting a message saying that nms_formmail must be in the action field. Regards Tom Link to comment https://forums.phpfreaks.com/topic/174342-structure-or-procedural-issue/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.