/* * 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 7 Guests are viewing this board. | ||||
New to the Paleo lifestyle
Started by Johnh |
1 Replies
2,121 Views |
October 12, 2012, 11:08:44 pm by TylerDurden |
||
15 Replies
6,467 Views |
November 13, 2010, 07:19:55 pm by kurite |
|||
23 Replies
9,659 Views |
August 13, 2017, 04:14:05 am by Iguana |
|||
Hello everyone
Started by Josh |
3 Replies
3,001 Views |
April 30, 2009, 06:22:37 am by goodsamaritan |
||
11 Replies
11,288 Views |
November 30, 2015, 02:35:09 am by thetasig |
|||
2 Replies
2,461 Views |
November 12, 2012, 10:47:35 pm by TylerDurden |
|||
raw beginner
Started by justincase |
3 Replies
3,109 Views |
May 03, 2013, 12:28:28 am by goodsamaritan |
||
46 Replies
22,420 Views |
July 03, 2013, 11:03:59 pm by Aura |
|||
Kane: Primal to Raw Paleo
Started by Kane |
18 Replies
10,898 Views |
August 21, 2011, 05:10:59 am by Kane |
||
hello- help with enamel issues?
Started by kanotim |
7 Replies
4,399 Views |
August 16, 2010, 12:47:45 am by Michael |
||
1 Replies
3,153 Views |
May 02, 2015, 01:51:26 pm by TylerDurden |
|||
28 Replies
12,588 Views |
February 23, 2010, 07:50:35 am by KD |
|||
Help needed for RPD-wannabe from Singapore!
Started by keith |
2 Replies
4,104 Views |
December 24, 2017, 06:32:43 pm by Igla |
||
new member from the philippines
Started by kelpguy |
1 Replies
3,241 Views |
May 12, 2019, 05:53:20 pm by goodsamaritan |
||
5 Replies
3,505 Views |
December 28, 2010, 05:32:28 pm by TylerDurden |
|||
Hello to all
Started by kindredspirit23 |
8 Replies
4,142 Views |
June 03, 2011, 12:39:20 am by CitrusHigh |
||
Anyone in Vancouver?
Started by King Salmon |
1 Replies
2,333 Views |
June 02, 2010, 04:10:31 pm by TylerDurden |
||
0 Replies
1,675 Views |
February 14, 2022, 06:46:46 pm by Kingyonmedical |
|||
Hello from Scotland
Started by Kittenki |
2 Replies
2,092 Views |
June 01, 2023, 02:07:36 pm by gomomo |
||
4 Replies
3,848 Views |
February 11, 2009, 02:09:38 am by Raw Kyle |
|||
going raw with a toddler...
Started by kofimama |
6 Replies
4,781 Views |
September 10, 2011, 07:03:43 pm by RawZi |
||
2 Replies
2,710 Views |
December 15, 2018, 11:19:52 pm by KollektivDom |
|||
Hellooooo! From the land of Oz.....
Started by Laddox |
5 Replies
3,058 Views |
October 11, 2010, 02:54:29 pm by Laddox |
||
Hi Everyone,
Started by Ladyjustice |
2 Replies
2,641 Views |
October 14, 2009, 05:01:47 pm by TylerDurden |
||
5 Replies
3,567 Views |
September 11, 2011, 12:56:59 am by eveheart |
|||
Tried Paleo for one month...
Started by laece |
19 Replies
10,841 Views |
October 25, 2011, 05:34:00 am by dmoffett |
||
NEWBIE!!!! Q & A
Started by Lancelion |
18 Replies
8,182 Views |
September 04, 2010, 02:29:04 am by Lancelion |
||
Introduction and a question
Started by larrymagee « 1 2 » |
28 Replies
13,285 Views |
May 05, 2011, 03:52:05 am by elysianisis |
||
Hi... I've just joined RPF
Started by laughing seed |
2 Replies
2,456 Views |
October 16, 2012, 11:43:39 pm by intrigued |
||
Newbie From Brazil
Started by leakybrain |
1 Replies
3,181 Views |
August 16, 2016, 08:01:08 pm by TylerDurden |
||
6 Replies
4,644 Views |
April 14, 2017, 01:07:51 am by goodsamaritan |
|||
email of yahoo group
Started by LePatron7 |
2 Replies
2,515 Views |
March 26, 2012, 10:23:11 pm by LePatron7 |
||
Hello welcoming comitee!
Started by LePatron7 |
2 Replies
2,581 Views |
January 25, 2012, 11:35:37 pm by LePatron7 |
||
my banana concept
Started by LePatron7 |
4 Replies
3,354 Views |
February 12, 2012, 05:19:39 am by LePatron7 |
||
9 Replies
5,975 Views |
April 05, 2012, 12:14:51 am by gc |
|||
Hi All
Started by lex_rooker |
17 Replies
10,802 Views |
May 25, 2008, 01:55:05 pm by lex_rooker |
||
Raw Vegan not practical
Started by LightzNY |
10 Replies
5,534 Views |
August 30, 2010, 02:06:16 pm by Cinna |
||
Hi! Salutations from spain
Started by Living all Raw |
16 Replies
8,989 Views |
February 20, 2011, 10:05:04 am by magnetic |
||
Hello, introducing myself
Started by livingthelife |
4 Replies
3,774 Views |
November 25, 2008, 02:44:56 am by reyyzl |
||
A warm Bula from Fiji
Started by Locuro |
10 Replies
5,334 Views |
September 09, 2010, 07:15:51 pm by Locuro |
||
Hi...
Started by longhairlover |
6 Replies
3,942 Views |
December 21, 2012, 02:08:14 am by Adora |
||
Tips for transitioning to raw paleo?
Started by lorelf |
15 Replies
8,770 Views |
January 12, 2015, 04:10:12 am by eveheart |
||
2 Replies
2,592 Views |
June 13, 2012, 06:37:26 pm by CitrusHigh |
|||
New raw paleo woman
Started by Louna |
8 Replies
4,756 Views |
October 30, 2010, 06:30:15 am by TylerDurden |
||
Just want to say Hi.
Started by Lucidknight |
5 Replies
4,454 Views |
September 13, 2008, 08:22:03 am by goodsamaritan |
||
Would like to thank everyody on this forum
Started by luis |
13 Replies
5,630 Views |
April 11, 2010, 04:45:53 am by Stig of the Dump |
||
Greetings from Florida!
Started by Luis3valen |
2 Replies
2,531 Views |
December 19, 2018, 12:14:53 pm by TylerDurden |
||
38 Replies
14,649 Views |
June 23, 2012, 06:57:44 am by PaleoPhil |
|||
What I Need To Do
Started by Lurch 51 |
2 Replies
2,666 Views |
February 20, 2012, 11:42:23 am by achillezzz |
||
6 Replies
4,404 Views |
February 17, 2009, 02:22:52 am by Satya |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll