• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
$_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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.