/* * 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 24 Guests are viewing this board. | ||||
7 Replies
4,734 Views |
August 10, 2012, 09:41:36 pm by 24isours |
|||
Hello everyone
Started by Funky Raw Rob |
7 Replies
3,853 Views |
April 27, 2012, 04:59:07 am by Funky Raw Rob |
||
Hi all!!!
Started by gregsashinsky |
7 Replies
4,219 Views |
June 22, 2011, 01:50:38 am by Broderick5 |
||
Hello from reunion island
Started by papangue |
7 Replies
4,340 Views |
July 01, 2011, 03:53:14 pm by papangue |
||
7 Replies
3,824 Views |
February 12, 2014, 07:32:41 am by Celeste |
|||
7 Replies
3,234 Views |
August 20, 2010, 02:27:13 am by Iguana |
|||
Bodybuilder Looking To Go Raw
Started by AJW91 |
7 Replies
4,895 Views |
May 14, 2011, 01:30:02 am by TylerDurden |
||
7 Replies
3,431 Views |
December 18, 2013, 10:09:25 pm by rawesome |
|||
New to raw animal foods
Started by moogs |
7 Replies
5,030 Views |
November 30, 2012, 11:49:57 am by jessica |
||
Hello -- new to the site
Started by rawpaleo |
7 Replies
5,048 Views |
December 11, 2013, 03:27:01 am by Iguana |
||
7 Replies
4,127 Views |
February 06, 2011, 06:56:19 am by achillezzz |
|||
New User, but been on Paleo a while.
Started by WeaselWoman |
7 Replies
4,981 Views |
February 05, 2014, 03:40:03 pm by WeaselWoman |
||
oxalates / oxalic acid
Started by thuphaer |
8 Replies
6,824 Views |
December 20, 2014, 09:31:29 am by goodsamaritan |
||
8 Replies
4,563 Views |
September 21, 2013, 01:23:53 am by svrn |
|||
Newbie here
Started by Raw Forever |
8 Replies
4,225 Views |
December 07, 2009, 05:58:11 am by Raw Forever |
||
Very first post...
Started by Sitting Coyote |
8 Replies
4,187 Views |
December 27, 2009, 10:42:50 pm by Sitting Coyote |
||
New to this forum..
Started by Fats |
8 Replies
4,176 Views |
January 25, 2012, 06:33:22 am by TylerDurden |
||
Hello to all
Started by kindredspirit23 |
8 Replies
3,796 Views |
June 03, 2011, 12:39:20 am by CitrusHigh |
||
RZ the Vampyre Angel
Started by RawZi |
8 Replies
5,271 Views |
November 30, 2008, 03:18:50 am by boxcarguy07 |
||
raw paleo for facial eczema
Started by zetsyuk |
8 Replies
5,074 Views |
September 30, 2011, 02:40:38 pm by RogueFarmer |
||
Hello I am exploring the possibilities
Started by rentawitch |
8 Replies
4,614 Views |
July 09, 2011, 08:29:52 pm by HIT_it_RAW |
||
Introducing Prehistorik
Started by prehistorik |
8 Replies
6,299 Views |
February 19, 2009, 01:39:38 pm by Raw Rob |
||
8 Replies
3,685 Views |
January 27, 2011, 09:27:21 am by Paleo93 |
|||
Hiya!
Started by Sarafiddlesurf |
8 Replies
4,096 Views |
February 24, 2012, 01:55:40 am by ChefMasterOrange |
||
Am I in the right place?
Started by asecretchord |
8 Replies
4,749 Views |
April 30, 2009, 08:12:58 am by asecretchord |
||
Hello everyone
Started by Steve2403 |
8 Replies
3,413 Views |
December 20, 2010, 10:36:52 am by TylerDurden |
||
Just Starting, Newbie from Oregon
Started by Poppy |
8 Replies
2,590 Views |
September 10, 2021, 10:57:29 pm by tonyvee |
||
New to RPD, some questions !
Started by ciervo-chaman |
8 Replies
5,814 Views |
December 29, 2014, 07:43:35 am by dariorpl |
||
Coming back
Started by boxcarguy07 |
8 Replies
4,084 Views |
November 18, 2011, 06:18:05 pm by billy4184 |
||
8 Replies
5,003 Views |
January 23, 2014, 03:57:18 pm by Chris |
|||
8 Replies
6,063 Views |
June 18, 2011, 01:35:34 am by Predator |
|||
Excited to be here :)
Started by superja |
8 Replies
3,846 Views |
February 12, 2012, 03:48:08 am by Löwenherz |
||
Paleo in the Philippines
Started by boojieman |
8 Replies
4,728 Views |
May 17, 2014, 05:56:08 am by meatbeater |
||
Hey Hey. Putting this into full swing.
Started by revision |
8 Replies
4,027 Views |
November 16, 2012, 04:13:31 pm by TylerDurden |
||
New raw paleo woman
Started by Louna |
8 Replies
4,377 Views |
October 30, 2010, 06:30:15 am by TylerDurden |
||
Question about eating raw seafood
Started by firefighter1/1 |
8 Replies
4,928 Views |
November 30, 2011, 11:47:00 pm by CitrusHigh |
||
Hello from Berkeley, California
Started by naomi |
8 Replies
5,928 Views |
November 24, 2014, 11:04:14 pm by eveheart |
||
8 Replies
5,103 Views |
October 08, 2008, 03:33:57 am by iceman |
|||
8 Replies
5,592 Views |
February 17, 2009, 04:32:21 am by Satya |
|||
8 Replies
4,060 Views |
October 02, 2018, 11:04:22 pm by van |
|||
Fermented Foods?
Started by paper_clips43 |
8 Replies
5,203 Views |
October 26, 2012, 02:37:46 am by raw |
||
9 Replies
5,554 Views |
June 24, 2010, 05:29:10 am by maxscan |
|||
OUR 100th MEMBER, SQUALL - WELCOME
Started by Waungata |
9 Replies
6,080 Views |
September 12, 2008, 06:20:23 pm by TylerDurden |
||
Howdy
Started by RogueFarmer |
9 Replies
4,780 Views |
January 23, 2012, 09:02:58 am by RogueFarmer |
||
9 Replies
5,893 Views |
October 11, 2011, 08:06:17 am by PaleoPhil |
|||
Hi :)
Started by MoonStalkeR |
9 Replies
3,798 Views |
April 20, 2010, 11:21:15 pm by TylerDurden |
||
9 Replies
5,534 Views |
April 05, 2012, 12:14:51 am by gc |
|||
A guy searching for good health...
Started by CHK91 |
9 Replies
5,536 Views |
January 01, 2011, 11:19:45 pm by sabertooth |
||
Hello from Germany
Started by Susan |
9 Replies
3,992 Views |
July 17, 2010, 04:09:08 pm by TylerDurden |
||
Hi from France
Started by Iguana |
9 Replies
6,835 Views |
July 20, 2009, 09:38:04 am by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll