Forum Search:
FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.
Calendar
Search
Help
Members
Control Panel
Logout [ CommonCrawl [Bot] ]
Home
Post Form
Logged in user:
CommonCrawl [Bot] [
logout
]
Forum:
HTML, Javascript, jQuery & AJAX
Title:
Poll:
[CREATE POLL]
Message Icon:
No Icon
Smiley Shortcuts:
[
list all smilies
]
Formatting Tools:
Size
1
2
3
4
5
6
7
Color
Sky Blue
Royal Blue
Blue
Dark Blue
Orange
Orange Red
Crimson
Red
Firebrick
Dark Red
Green
Lime Green
Sea Green
Deep Pink
Tomato
Coral
Purple
Indigo
Burly Wood
Sandy Brown
Sienna
Chocolate
Teal
Silver
Font
Arial
Times
Courier
Century
Body:
Forum Options:
HTML
code is
off
BBcode
is
on
Images
are
on
Smilies
are
on
Editing Time Limit
: Unlimited
File Attachments:
Allowed File Extensions:
jpg jpeg png gif txt doc gz bz2 inc php zip diff
Maximum File Size:
1024KB
Maximum Files Per Message:
3
Options:
Post Notification
Notify me when someone replies to this message.
Include Signature
Include your profile signature.
Disable smilies in this message
Topic View
Re: AJAX - PHP validation
Sat, 04 February 2012 04:24
NeXuS
Karma:
What you can use AJAX for is:
local verification
remote verification
Local verification: you check things like "password1 == password2"
Remote verification: you call a script on the server (PHP,Perl,etc.) which tells you if a parameter is valid (e.g. usernamve available)
As already stated you will anyway to redo the checks server side.
Re: AJAX - PHP validation
Sat, 07 January 2012 00:30
naudefj
Karma:
AJAX can be used to validate data interactively as users type. You still need to re-validate everything when the form is posted, as AJAX is JS based and can be deactivated and bots can post data without executing the JS.
AJAX - PHP validation
Sun, 30 September 2007 02:38
esm2002
Karma:
I have a page where I use AJAX to call a PHP file which validates a couple of fields in a form. I use onblur to call a JS function which is a AJAX call a PHP file which checks the field for validity.
I have read a little about using JS to validate client-side (folks say this is a thing to do) and PHP to validate server-side (folks say this is a must).
So where does AJAX fit into the validation of form data...???
I have read where JS is useless if the surfer has it turned off. But you cannot really use my site if JS is turned off.
Comments???
.
Current Time:
Sat May 24 08:15:55 EDT 2025
Total time taken to generate the page: 0.08081 seconds