Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17
  1. #16
    Regular Coder
    Join Date
    Sep 2011
    Posts
    213
    Thanks
    15
    Thanked 5 Times in 5 Posts
    You would get their input from the forum using $_POST (or $_GET, depending on how you have it set up) and check to make sure it's a valid option (probably is_numeric would work, but it might let letters in, which you could strip with a simple regex replacement) and run it through mysql_real_escape_string() to clean it from sqli.

  2. Users who have thanked Dubz for this post:

    RussH (04-09-2013)

  3. #17
    New Coder
    Join Date
    Apr 2013
    Posts
    32
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Thanks Dubz,

    I have some reading up to do, might be back with some more questions

    Thanks again


 
Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •