Jump to content

Help With Php & Html Contact Page


houssam_ballout

Recommended Posts

So, you want a single page contact script that stays on the same page if there are errors to report?What do you want to do if the Email is successful?Google Larry Ullman Redux Method and Larry Ullman Sticky Forms for information on handling forms on a single page.

Link to comment
Share on other sites

I could handle it via php on the same page, but while searching I see that this could be done easily via AJAX, can you help?Thanks
it's pretty damn easy with PHP though. There must be tons of examples online that you can custom tailor to your needs.
Link to comment
Share on other sites

Yeah I know, but with AJAX I heard that you can do amazing work, right?
AJAX allows you to send HTTP requests without refreshing the page. It isn't magical though :)You could use AJAX to pass the data on to a PHP script that validates the data and returns a response, but unless you need validation against data stored on the server (e.g. does this user exist), then this method is no more secure than doing a straight client-side validation.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...