PHP

Moderators: None (Apply to moderate this forum)
Number of threads: 1848
Number of posts: 5016

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Re: validate php form on submit Posted by cmps_getch on 22 Sept 2006 at 7:33 AM

could u give me an example of this?


: Nope, if you do it it javascript, your script is not secured. data may be messed if somebody means it.
: To do it in PHP, you should echo PHP variables rite on input feilds. While the form is not submited, they are null.
: once the form is submited, if there is one which is not valid, set it to empty or null. Then the output would still be empty. Now you can output the error ms to your users.
: Good luck
:

Thread Tree
cmps_getch validate php form on submit on 21 Sept 2006 at 8:51 AM
Eraser9486 Re: validate php form on submit on 21 Sept 2006 at 12:45 PM
minhnguyena7 Re: validate php form on submit on 22 Sept 2006 at 12:04 AM
cmps_getch Re: validate php form on submit on 22 Sept 2006 at 7:33 AM
minhnguyena7 Re: validate php form on submit on 22 Sept 2006 at 8:14 AM



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.