Welcome Guest, Not a member yet? Register   Sign In
$_GET and Form Validation
#1

[eluser]RS71[/eluser]
Hello,

I've gotten query strings to work but I'd like to validate the strings if possible. How can I use the form validation library with them? Any help is greatly appreciated!

Thanks
#2

[eluser]WanWizard[/eluser]
The short answer: You can't. The Form validation library has $_POST hardcoded.

The long answer: If you still want this, your best bet is to copy the form validation library to get_validation.php, and replace all occurences of $_POST with $_GET. Imho that's a better bet than extending and messing with the code.




Theme © iAndrew 2016 - Forum software by © MyBB