/* * 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 60 Guests are viewing this board. | ||||
Hello from NW Arkansas
Started by Cavecloth.com |
1 Replies
2,340 Views |
February 17, 2013, 04:08:07 am by van |
||
On with the intro...
Started by Bacchal |
3 Replies
2,624 Views |
February 09, 2013, 07:56:48 pm by CitrusHigh |
||
just joined, introducing myself
Started by Nora |
19 Replies
8,659 Views |
February 09, 2013, 09:53:15 am by Ioanna |
||
Hi everyone!
Started by Azyth |
10 Replies
4,917 Views |
February 02, 2013, 04:12:40 pm by LePatron7 |
||
3 Replies
2,752 Views |
January 25, 2013, 08:38:33 pm by LePatron7 |
|||
G'day there
Started by Cobb Clan |
3 Replies
2,992 Views |
January 24, 2013, 02:26:08 pm by Cobb Clan |
||
Introducing myself
Started by Suzubick |
4 Replies
2,685 Views |
January 20, 2013, 02:24:29 am by Adora |
||
Update on Newbie
Started by Eva_R |
0 Replies
2,072 Views |
January 15, 2013, 02:22:37 pm by Eva_R |
||
Primal family, maybe going raw?
Started by CapesClan |
2 Replies
2,272 Views |
January 14, 2013, 04:59:40 am by jessica |
||
3 Replies
3,196 Views |
January 13, 2013, 04:31:43 pm by Eva_R |
|||
3 Replies
3,114 Views |
January 11, 2013, 04:50:43 am by Poncho |
|||
How wonderful!
Started by Suoaei |
6 Replies
3,566 Views |
December 28, 2012, 12:44:07 am by Suoaei |
||
dear fellows
Started by Witherby |
1 Replies
2,210 Views |
December 24, 2012, 12:33:18 am by cherimoya_kid |
||
Hi...
Started by longhairlover |
6 Replies
3,937 Views |
December 21, 2012, 02:08:14 am by Adora |
||
57 Replies
21,704 Views |
December 10, 2012, 06:27:04 pm by LePatron7 |
|||
New to raw animal foods
Started by moogs |
7 Replies
5,441 Views |
November 30, 2012, 11:49:57 am by jessica |
||
Hey Hey. Putting this into full swing.
Started by revision |
8 Replies
4,477 Views |
November 16, 2012, 04:13:31 pm by TylerDurden |
||
Hey yo
Started by naturalbornmovers |
1 Replies
2,266 Views |
November 14, 2012, 07:23:20 am by LePatron7 |
||
2 Replies
2,459 Views |
November 12, 2012, 10:47:35 pm by TylerDurden |
|||
3 Replies
2,785 Views |
November 05, 2012, 08:43:29 pm by LePatron7 |
|||
3 Replies
2,790 Views |
November 05, 2012, 02:32:53 am by eveheart |
|||
27 Replies
16,336 Views |
November 04, 2012, 09:21:36 pm by LePatron7 |
|||
Fermented Foods?
Started by paper_clips43 |
8 Replies
5,616 Views |
October 26, 2012, 02:37:46 am by raw |
||
Hello from Kansas
Started by Preachermedic |
2 Replies
2,656 Views |
October 17, 2012, 02:50:34 pm by TylerDurden |
||
Hi... I've just joined RPF
Started by laughing seed |
2 Replies
2,453 Views |
October 16, 2012, 11:43:39 pm by intrigued |
||
New to the Paleo lifestyle
Started by Johnh |
1 Replies
2,119 Views |
October 12, 2012, 11:08:44 pm by TylerDurden |
||
42 Replies
16,241 Views |
October 12, 2012, 04:13:55 am by Alive |
|||
made in germany
Started by Bio-shell Avatar |
4 Replies
3,496 Views |
October 09, 2012, 09:05:53 pm by Bio-shell Avatar |
||
no more haggis?
Started by cfrench |
2 Replies
3,935 Views |
October 03, 2012, 11:05:49 pm by intrigued |
||
Janice from The Netherlands
Started by FlyingDutchwoman |
4 Replies
2,852 Views |
September 26, 2012, 07:12:55 am by cherimoya_kid |
||
New and with bowel/appendix problems
Started by Gordono |
14 Replies
6,523 Views |
September 25, 2012, 07:55:36 am by Alive |
||
4 Replies
4,168 Views |
August 27, 2012, 10:18:35 am by eoterm |
|||
6 Replies
3,750 Views |
August 16, 2012, 12:40:23 am by RomanK |
|||
2 Replies
2,547 Views |
August 11, 2012, 11:16:33 pm by joej627 |
|||
7 Replies
5,108 Views |
August 10, 2012, 09:41:36 pm by 24isours |
|||
2 Replies
3,131 Views |
August 10, 2012, 05:29:19 am by joej627 |
|||
Greetings from UK :)
Started by Health33 |
2 Replies
2,774 Views |
August 01, 2012, 02:54:38 am by RawZi |
||
Adam Here. Glad to Join the Group
Started by adampaleoboy |
3 Replies
2,836 Views |
July 28, 2012, 05:13:15 am by joej627 |
||
New with many questions
Started by Tin_Man |
4 Replies
2,860 Views |
July 24, 2012, 08:33:33 am by joej627 |
||
12 Replies
5,466 Views |
July 16, 2012, 01:42:06 pm by cherimoya_kid |
|||
2 Replies
2,427 Views |
July 16, 2012, 09:37:33 am by CitrusHigh |
|||
Hello Everyone :)
Started by jinna86 |
15 Replies
7,223 Views |
July 07, 2012, 01:13:40 pm by Dorothy |
||
If I Were Fish I'd be Flounder
Started by mhikl |
3 Replies
3,164 Views |
June 30, 2012, 08:58:26 am by Dorothy |
||
38 Replies
14,614 Views |
June 23, 2012, 06:57:44 am by PaleoPhil |
|||
New Member Here!
Started by Fiona01 |
6 Replies
3,994 Views |
June 22, 2012, 11:43:26 pm by CitrusHigh |
||
New and curious
Started by dunbar |
5 Replies
3,657 Views |
June 17, 2012, 12:11:56 pm by cherimoya_kid |
||
2 Replies
2,589 Views |
June 13, 2012, 06:37:26 pm by CitrusHigh |
|||
19 Replies
7,849 Views |
June 04, 2012, 08:55:28 am by cherimoya_kid |
|||
2 Replies
2,398 Views |
May 31, 2012, 03:53:39 am by RawZi |
|||
Beginning Raw Paleo
Started by matattack |
3 Replies
3,107 Views |
May 21, 2012, 11:24:11 pm by Charlie4444 |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll