PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Thu Nov 14, 2019 12:46 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: the best of the regex
PostPosted: Fri May 06, 2005 11:19 am 
Offline
DevNet Master
User avatar

Joined: Tue Dec 28, 2004 6:57 pm
Posts: 2745
Location: Tallinn, Estonia
is there a regex to detect if a user has inputted characters unsafe for mysql querys? instead of just doing mysql_real_escape_string i want to return the user to the page saying invalid characters were detected blah blah blah.

oh by the way, amazing idea to add this form! will definatly come in handy!


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 06, 2005 11:40 am 
Offline
DevNet Master
User avatar

Joined: Thu Aug 15, 2002 5:53 am
Posts: 4235
Location: Sussex, UK
Not the best of coding, but they work

http://www.owasp.org/software/labs/phpfilters.html


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 06, 2005 12:07 pm 
Offline
DevNet Master
User avatar

Joined: Tue Dec 28, 2004 6:57 pm
Posts: 2745
Location: Tallinn, Estonia
many thanks! now if you guys now a tutorial to teach someone regex who knows absolutly nothing about regex :oops: that would be a awesome link


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 06, 2005 1:13 pm 
Offline
Forum Regular
User avatar

Joined: Sat Mar 12, 2005 8:13 pm
Posts: 703
Location: US
one word: google

http://www.regular-expressions.info/


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 07, 2005 6:06 pm 
Offline
Breakbeat Nuttzer
User avatar

Joined: Wed Mar 24, 2004 8:57 am
Posts: 13098
Location: Melbourne, Australia
I'll make a nice tutorial.... gimme some time and I'll make it "dead simple" ;-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group