Development PHP ereg() question

Discussion in 'Software' started by Tizz0r, 8 Jul 2005.

  1. Tizz0r

    Tizz0r What's a Dremel?

    Joined:
    26 Jul 2004
    Posts:
    29
    Likes Received:
    0
    Yes I know it's been a long time since I was last here. I know you all probably missed me greatly :p :hehe: So you should all be happy to know that I should be frequenting the forums a little more often now. :D

    Anyway, on to the question. I'm trying to make some validator functions in php to try and prevent sql injection. I am going to use the ereg function, I found a few examples but they look a little bit different than what I'm used to. I was wondering if the regular expressions used by this function are the same as the expressions you can use with grep (linux command line tool).
     

Share This Page