HAMM3R Posted April 19, 2006 Share Posted April 19, 2006 Right now I have 2 files: form.htm and form.php. There is an input form in form.htm, and it sends the data via POST to form.php where it is processed. However, im behind a packet filter which is messing up the POST process. So my question is, how can i have the form, and process it in the same file? ... thus eliminating the POST action? This way I would have 1 file (form.php). Thanks in advance! Link to comment https://forums.phpfreaks.com/topic/7855-handle-form-in-same-file/ Share on other sites More sharing options...
poirot Posted April 19, 2006 Share Posted April 19, 2006 You can make a single file, but you will have to submit it (the form) anyways (even if it submits to itself). Link to comment https://forums.phpfreaks.com/topic/7855-handle-form-in-same-file/#findComment-28626 Share on other sites More sharing options...
Orio Posted April 19, 2006 Share Posted April 19, 2006 PHP is a server-side language, meaning all the calculations are being made on the server. That means you have to send the information to the server in any case.Orio. Link to comment https://forums.phpfreaks.com/topic/7855-handle-form-in-same-file/#findComment-28640 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.