/* * 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 88 Guests are viewing this board. | ||||
![]() |
![]() |
Welcome New Members! Please Read.
Started by Waungata |
0 Replies
22,159 Views |
![]() by Waungata |
![]() |
![]() |
7 Replies
6,276 Views |
![]() by 24isours |
|
![]() |
![]() |
4 Replies
4,200 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
Hello to all from the Germany
Started by A1000Jakeys |
3 Replies
3,291 Views |
![]() by Löwenherz |
![]() |
![]() |
Excited to heal with raw foods! : )
Started by Aaaaaa |
4 Replies
5,010 Views |
![]() by Aaaaaa |
![]() |
![]() |
The great white north
Started by aariel |
1 Replies
2,891 Views |
![]() by William |
![]() |
![]() |
Just a new guy that scared of raw paleo
Started by achillezzz « 1 2 » |
31 Replies
17,369 Views |
![]() by miles |
![]() |
![]() |
2 Replies
3,994 Views |
![]() by aco |
|
![]() |
![]() |
Adam Here. Glad to Join the Group
Started by adampaleoboy |
3 Replies
3,559 Views |
![]() by joej627 |
![]() |
![]() |
Introducing myself
Started by Aegis |
6 Replies
7,247 Views |
![]() by dariorpl |
![]() |
![]() |
Raw-vegan and raw-paleo and other Questions
Started by aek11 |
12 Replies
8,909 Views |
![]() by RawZi |
![]() |
![]() |
My first post
Started by AgainstTheFlow |
13 Replies
7,237 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Hello to everyone
Started by aginghippie |
2 Replies
3,166 Views |
![]() by aginghippie |
![]() |
![]() |
Bodybuilder Looking To Go Raw
Started by AJW91 |
7 Replies
6,342 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi RPDers Alex here
Started by Alex |
12 Replies
8,551 Views |
![]() by presynaras |
![]() |
![]() |
Hello Everyone
Started by Aliayzar |
22 Replies
10,157 Views |
![]() by Aliayzar |
![]() |
![]() |
1 Replies
2,816 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Failed as a vegan/raw vegan... disapointed
Started by Allen |
1 Replies
3,047 Views |
![]() by TylerDurden |
![]() |
![]() |
One more from France
Started by alphagruis |
19 Replies
10,986 Views |
![]() by alphagruis |
![]() |
![]() |
Raw Paleo Diet for more than 1 year; Eczema Detox?
Started by alvinkim92910 « 1 2 » |
28 Replies
12,882 Views |
![]() by TylerDurden |
![]() |
![]() |
New with a beginner challenge
Started by alycia |
14 Replies
9,946 Views |
![]() by Ioanna |
![]() |
![]() |
Greetings and Salutations!
Started by Amris |
10 Replies
6,256 Views |
![]() by goodsamaritan |
![]() |
![]() |
My health journey thus far
Started by andvanwyk |
6 Replies
6,197 Views |
![]() by TylerDurden |
![]() |
![]() |
3 Replies
3,392 Views |
![]() by LePatron7 |
|
![]() |
![]() |
Introducing myself.
Started by apollo00 |
3 Replies
9,082 Views |
![]() by trafficmoivio |
![]() |
![]() |
0 Replies
2,770 Views |
![]() by Aquarion |
|
![]() |
![]() |
Hello from Brazil
Started by Arthas_ |
15 Replies
10,072 Views |
![]() by Raw Kyle |
![]() |
![]() |
Am I in the right place?
Started by asecretchord |
8 Replies
6,075 Views |
![]() by asecretchord |
![]() |
![]() |
3 Replies
3,496 Views |
![]() by eveheart |
|
![]() |
![]() |
New member: Western Australia
Started by Atu |
14 Replies
8,090 Views |
![]() by Atu |
![]() |
![]() |
42 Replies
19,991 Views |
![]() by Alive |
|
![]() |
![]() |
4 Replies
5,211 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
1 Replies
2,764 Views |
![]() by lex_rooker |
|
![]() |
![]() |
HEllo!
Started by awesomeame |
4 Replies
3,882 Views |
![]() by Josh |
![]() |
![]() |
4 Replies
4,247 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Hi everyone!
Started by Azyth |
10 Replies
6,016 Views |
![]() by LePatron7 |
![]() |
![]() |
Joining
Started by a_real_man |
5 Replies
4,962 Views |
![]() by a_real_man |
![]() |
![]() |
36 Replies
16,057 Views |
![]() by pioneer |
|
![]() |
![]() |
Hi everyone! just taking a look around
Started by babetteq |
1 Replies
2,637 Views |
![]() by TylerDurden |
![]() |
![]() |
On with the intro...
Started by Bacchal |
3 Replies
3,189 Views |
![]() by CitrusHigh |
![]() |
![]() |
Hello and long live the king
Started by bacchus |
5 Replies
4,698 Views |
![]() by bacchus |
![]() |
![]() |
juicing and other questions
Started by bachcole |
13 Replies
8,685 Views |
![]() by bachcole |
![]() |
![]() |
7 Replies
5,509 Views |
![]() by achillezzz |
|
![]() |
![]() |
recovering ex-fruitarian
Started by balancing-act |
16 Replies
10,773 Views |
![]() by balancing-act |
![]() |
![]() |
27 Replies
19,050 Views |
![]() by LePatron7 |
|
![]() |
![]() |
1 Replies
2,862 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Jumping in Cold Turkey
Started by Beyonder |
5 Replies
4,425 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello from Portugal
Started by BFCP |
18 Replies
10,744 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi everyone
Started by billy4184 |
15 Replies
13,584 Views |
![]() by billy4184 |
![]() |
![]() |
Introducing
Started by BillyF |
2 Replies
3,957 Views |
![]() by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll