Hello and welcome to our community! Is this your first visit?
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
    Thanked 27 Times in 27 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-10-2013)

  3. #17
    New Coder
    Join Date
    Apr 2013
    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