/* * 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 53 Guests are viewing this board. | ||||
![]() |
![]() |
Hey
Started by SteakNchop |
11 Replies
6,025 Views |
![]() by PaleoPhil |
![]() |
![]() |
Greetings to everyone!
Started by Caveman |
3 Replies
3,039 Views |
![]() by goodsamaritan |
![]() |
![]() |
3 Replies
2,812 Views |
![]() by Ioanna |
|
![]() |
![]() |
7 Replies
4,487 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Greetings!
Started by magnagei |
2 Replies
2,804 Views |
![]() by TylerDurden |
![]() |
![]() |
15 Replies
7,965 Views |
![]() by kurite |
|
![]() |
![]() |
71 Replies
29,097 Views |
![]() by Iguana |
|
![]() |
![]() |
In search of Optimum Health!
Started by PaganAngel |
5 Replies
4,624 Views |
![]() by PaganAngel |
![]() |
![]() |
Girlfriend and I are new to paleo
Started by misswoo |
1 Replies
2,773 Views |
![]() by TylerDurden |
![]() |
![]() |
56 Replies
33,406 Views |
![]() by Brother |
|
![]() |
![]() |
New raw paleo woman
Started by Louna |
8 Replies
5,722 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
3,545 Views |
![]() by Ioanna |
|
![]() |
![]() |
Hellooooo! From the land of Oz.....
Started by Laddox |
5 Replies
3,664 Views |
![]() by Laddox |
![]() |
![]() |
10 Replies
6,774 Views |
![]() by Tymianek |
|
![]() |
![]() |
Greetings from Australia
Started by irenekrey |
1 Replies
2,811 Views |
![]() by miles |
![]() |
![]() |
I'm new and intrigued
Started by Marissa |
2 Replies
2,862 Views |
![]() by TylerDurden |
![]() |
![]() |
3 Replies
3,129 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
I'm New!! Hello!
Started by Calypso |
5 Replies
4,224 Views |
![]() by Calypso |
![]() |
![]() |
82 Replies
46,042 Views |
![]() by yon yonson |
|
![]() |
![]() |
36 Replies
16,553 Views |
![]() by pioneer |
|
![]() |
![]() |
A warm Bula from Fiji
Started by Locuro |
10 Replies
6,689 Views |
![]() by Locuro |
![]() |
![]() |
5 Replies
4,223 Views |
![]() by kurite |
|
![]() |
![]() |
Who is Nicola?
Started by Nicola |
2 Replies
5,076 Views |
![]() by Stephanie07 |
![]() |
![]() |
6 Replies
4,496 Views |
![]() by greywolve |
|
![]() |
![]() |
NEWBIE!!!! Q & A
Started by Lancelion |
18 Replies
10,001 Views |
![]() by Lancelion |
![]() |
![]() |
5 Replies
4,435 Views |
![]() by TylerDurden |
|
![]() |
![]() |
4 Replies
4,197 Views |
![]() by Siiri |
|
![]() |
![]() |
Raw Vegan not practical
Started by LightzNY |
10 Replies
6,830 Views |
![]() by Cinna |
![]() |
![]() |
New to Paleo, considering more raw
Started by CinnamonGirl |
4 Replies
3,594 Views |
![]() by shannon |
![]() |
![]() |
newbie here
Started by shannon |
3 Replies
3,047 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi Everyone!
Started by Monty |
2 Replies
2,985 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi everybody
Started by Brother |
12 Replies
8,072 Views |
![]() by Arthas_ |
![]() |
![]() |
New to the Forum!
Started by Rawman1 |
19 Replies
9,961 Views |
![]() by Rawman1 |
![]() |
![]() |
4 Replies
3,345 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
7 Replies
4,338 Views |
![]() by Iguana |
|
![]() |
![]() |
hello- help with enamel issues?
Started by kanotim |
7 Replies
5,142 Views |
![]() by Michael |
![]() |
![]() |
Hello There
Started by Nishwash |
1 Replies
2,453 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
3,517 Views |
![]() by TylerDurden |
|
![]() |
![]() |
New to Raw Paleo, in search of health
Started by Rob |
3 Replies
3,183 Views |
![]() by TylerDurden |
![]() |
![]() |
John the SuplementosDude
Started by SuplementosDude |
2 Replies
2,815 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
2,421 Views |
![]() by SuplementosDude |
|
![]() |
![]() |
My health journey thus far
Started by andvanwyk |
6 Replies
6,382 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
2,911 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Switching from near vegan, Hi
Started by Salidroside |
6 Replies
5,100 Views |
![]() by kurite |
![]() |
![]() |
Hello, new here..
Started by Wolf |
23 Replies
11,501 Views |
![]() by Wolf |
![]() |
![]() |
Hello from Germany
Started by Susan |
9 Replies
5,589 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello from the Pacific Northwest...
Started by Omniverse |
4 Replies
3,662 Views |
![]() by Omniverse |
![]() |
![]() |
what i don't understand
Started by NEUROSPORT |
16 Replies
8,615 Views |
![]() by GR37 |
![]() |
![]() |
Hi, I would like to introduce
Started by STZGluten Free |
0 Replies
2,558 Views |
![]() by STZGluten Free |
![]() |
![]() |
5 months of raw and doing good
Started by sabertooth |
13 Replies
7,885 Views |
![]() by Nation |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll