/* * Patch for filter_var() */ if(!function_exists('filter_var')){ define('FILTER_VALIDATE_IP', 'ip'); define('FILTER_FLAG_IPV4', 'ipv4'); define('FILTER_FLAG_IPV6', 'ipv6'); define('FILTER_VALIDATE_EMAIL', 'email'); define('FILTER_FLAG_EMAIL_UNICODE', 'unicode'); function filter_var($variable, $filter, $option = false){ if($filter == 'ip'){ if($option == 'ipv4'){ if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } if($option == 'ipv6'){ if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } if($filter == 'email'){ if($option == 'unicode' || $option == false){ if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } } }
Visit our website: www.rawpaleodiet.com
Join our Yahoo Group: RawPaleoDiet
RSS Feed Latest 50 Posts
Subject / Started by | Replies / Views | Last post | ||
---|---|---|---|---|
0 Members and 47 Guests are viewing this board. | ||||
How much sleep do RPDers need? Poll
Started by TylerDurden |
7 Replies
4,003 Views |
November 09, 2015, 09:18:23 pm by dariorpl |
||
Other articles on Ron Paul's website
Started by TylerDurden |
7 Replies
2,301 Views |
July 21, 2014, 04:29:43 pm by goodsamaritan |
||
Covert celebrities among us?
Started by goodsamaritan |
7 Replies
4,424 Views |
December 15, 2009, 09:50:35 pm by SkinnyDevil |
||
7 Replies
3,133 Views |
May 27, 2011, 03:13:36 pm by Löwenherz |
|||
The most beautiful places on Earth!!
Started by TylerDurden |
7 Replies
6,754 Views |
August 12, 2008, 06:19:13 am by boxcarguy07 |
||
Where did KD go?
Started by RogueFarmer |
7 Replies
2,955 Views |
March 04, 2013, 11:27:30 am by cherimoya_kid |
||
Dreams about health matters
Started by pc701 |
7 Replies
4,029 Views |
November 02, 2010, 02:07:43 pm by yuli |
||
The Moon is Not What it Seems to Be
Started by goodsamaritan |
7 Replies
3,881 Views |
July 27, 2014, 03:27:24 pm by Iguana |
||
Sugar in honey..
Started by laterade |
7 Replies
4,633 Views |
April 01, 2011, 12:06:52 am by raw-al |
||
7 Replies
3,412 Views |
November 12, 2010, 04:26:55 am by the PresiDenT |
|||
7 Replies
4,425 Views |
March 16, 2013, 01:24:45 am by svrn |
|||
7 Replies
3,370 Views |
November 17, 2010, 11:13:00 pm by RawZi |
|||
Cold training in 2014
Started by Projectile Vomit |
7 Replies
4,326 Views |
April 19, 2014, 03:13:35 pm by RogueFarmer |
||
7 Replies
4,085 Views |
June 03, 2009, 09:58:41 am by MaverickHunter40245 |
|||
7 Replies
4,552 Views |
May 15, 2011, 11:41:12 am by raw-al |
|||
8 Replies
2,900 Views |
May 09, 2012, 05:20:39 am by raw-al |
|||
8 Replies
3,656 Views |
March 07, 2015, 01:56:42 am by TylerDurden |
|||
Food Prices
Started by TylerDurden |
8 Replies
3,646 Views |
November 02, 2014, 12:59:45 am by TylerDurden |
||
Coconut fat and Alzheimer's disease
Started by Löwenherz |
8 Replies
5,208 Views |
November 30, 2011, 12:02:46 am by Dorothy |
||
Metal Utensils
Started by Wolf |
8 Replies
6,238 Views |
July 24, 2011, 11:45:31 am by RawZi |
||
A message from DopeDivinity
Started by jessica |
8 Replies
4,352 Views |
July 11, 2012, 12:37:36 am by goodsamaritan |
||
The true age of supermarket food
Started by TylerDurden |
8 Replies
2,692 Views |
July 24, 2016, 05:58:37 pm by TylerDurden |
||
Woman dies from drinking Coca-Cola
Started by TylerDurden |
8 Replies
4,657 Views |
May 22, 2012, 08:56:20 am by raw-al |
||
Ideas for newbies
Started by TylerDurden |
8 Replies
3,214 Views |
January 02, 2013, 06:48:09 am by Iguana |
||
The other bit of news in the media
Started by TylerDurden |
8 Replies
4,377 Views |
July 27, 2014, 09:01:55 pm by goodsamaritan |
||
Cruel and Unusual Punishment
Started by sabertooth |
8 Replies
6,140 Views |
March 02, 2016, 05:55:47 am by cherimoya_kid |
||
8 Replies
2,997 Views |
January 05, 2018, 06:05:47 am by norawnofun |
|||
8 Replies
4,251 Views |
March 30, 2011, 04:59:44 am by raw-al |
|||
8 Replies
3,328 Views |
August 21, 2015, 03:33:40 pm by TylerDurden |
|||
8 Replies
7,258 Views |
August 26, 2012, 06:33:58 am by Suiren |
|||
Prince Charles
Started by TylerDurden |
8 Replies
2,758 Views |
August 12, 2016, 09:00:49 pm by sabertooth |
||
Synonyms of raw
Started by majormark |
8 Replies
4,372 Views |
February 03, 2011, 11:40:30 am by KD |
||
Urban Caveman Article
Started by extralizard13 |
8 Replies
5,295 Views |
January 19, 2010, 05:23:16 am by extralizard13 |
||
I just heard of breatharianism!
Started by kurite |
8 Replies
4,565 Views |
March 08, 2010, 06:55:58 am by kurite |
||
Good Books, Please Add Yours
Started by donrad |
8 Replies
5,758 Views |
February 21, 2011, 10:48:25 am by magnetic |
||
8 Replies
4,444 Views |
March 14, 2010, 08:48:56 am by raw-al |
|||
8 Replies
4,371 Views |
September 15, 2014, 09:16:17 am by Brad462 |
|||
Cheap & Easy Website?
Started by King Salmon |
8 Replies
4,751 Views |
December 28, 2010, 09:20:50 pm by yuli |
||
The need for variety
Started by TylerDurden |
8 Replies
4,544 Views |
April 17, 2015, 05:52:55 pm by JeuneKoq |
||
a lesson in finance
Started by Ioanna |
8 Replies
3,408 Views |
March 22, 2013, 01:49:12 am by ys |
||
8 Replies
3,394 Views |
September 15, 2016, 03:18:09 am by Iguana |
|||
Be a MAN
Started by SkinnyDevil |
8 Replies
4,042 Views |
January 01, 2011, 02:00:55 am by raw-al |
||
8 Replies
5,058 Views |
October 15, 2009, 12:13:50 am by lex_rooker |
|||
freak of nature or fraud?
Started by svrn |
8 Replies
3,909 Views |
April 07, 2012, 06:48:39 am by svrn |
||
What COULD you eat, right now?
Started by Satya |
8 Replies
3,797 Views |
August 02, 2009, 11:25:11 am by MaverickHunter40245 |
||
Nigel Farage's Straight Talk
Started by goodsamaritan |
8 Replies
4,622 Views |
March 19, 2015, 07:35:48 pm by goodsamaritan |
||
USA IRS raids
Started by raw-al |
8 Replies
3,039 Views |
January 30, 2013, 05:04:27 am by raw-al |
||
8 Replies
4,096 Views |
May 12, 2013, 12:13:37 am by svrn |
|||
Happy Birthday Keith!
Started by Satya |
8 Replies
4,229 Views |
July 29, 2008, 08:49:14 pm by boxcarguy07 |
||
Lex's latest project
Started by lex_rooker |
8 Replies
5,420 Views |
September 01, 2008, 10:49:12 pm by Raw Kyle |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll