Jump to content

Perl Compatible Regular Expression (PCRE)

Whether you're a seasoned veteran or a struggling beginner, Web Radiance is the web development and web design forum for you. You'll find answers to all your HTML, CSS, SEO, and Programming needs. Pull up a chair and stay awhile.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Perl Compatible Regular Expression (PCRE) Rate Topic: -----

#1 User is offline   Beavis 

  • W.R. Corporal
  • Group: Members
  • Posts: 167
  • Joined: 24-March 08

Posted 25 March 2008 - 04:23 AM

Does anyone know anything about this.

I am trying to use PRCE in a function to do a case insensitive check on the email body for malicious content.
According to the tutorial it is to prevent spam relay code being entered via your Contact Us form.

Can`t get it to work though.
Function in question is "preg_match".
0

#2 User is offline   Catalyst 

  • Codesmith
  • Group: Administrators
  • Posts: 1,049
  • Joined: 04-April 06
  • Gender:Male
  • Location:San Diego

Posted 25 March 2008 - 02:14 PM

Can you be more specific about the problem you're having? Is it with the function itself or with the regex expression?
0

#3 User is offline   Beavis 

  • W.R. Corporal
  • Group: Members
  • Posts: 167
  • Joined: 24-March 08

Posted 28 March 2008 - 06:06 AM

View PostCatalyst, on Mar 26 2008, 04:14 AM, said:

Can you be more specific about the problem you're having? Is it with the function itself or with the regex expression?



Sorry for the late reply.
I fixed the problem I had.

Isn`t it amazing how much grief a misplaced punctuation mark can cause a person :censored:
0

#4 User is offline   EncoderDecoder 

  • W.R. Sergeant
  • Group: Members
  • Posts: 260
  • Joined: 01-March 11
  • Gender:Female
  • Location:Philippines

Posted 11 July 2011 - 07:51 AM

hahahaha.. so true.. especially if the environment you are using doesn't have a debugger.. a misplaced punctuation or a wrong spelling could really cause a lot of trouble..
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users