/* * 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 22 Guests are viewing this board. | ||||
![]() |
![]() |
1 Replies
3,781 Views |
![]() by TylerDurden |
|
![]() |
![]() |
finally there
Started by HIT_it_RAW |
4 Replies
3,795 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
1 Replies
3,807 Views |
![]() by RAW T |
|
![]() |
![]() |
1 Replies
3,814 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Hi to all!
Started by dimiter |
4 Replies
3,815 Views |
![]() by dimiter |
![]() |
![]() |
1 Replies
3,815 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
3,818 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
5 Replies
3,821 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hello, I'm new here.
Started by edmon171 |
3 Replies
3,824 Views |
![]() by sakshisinha |
![]() |
![]() |
G'Day From Australia!
Started by Delphoene |
2 Replies
3,833 Views |
![]() by Bec |
![]() |
![]() |
A Quick Peep
Started by David Howe |
4 Replies
3,837 Views |
![]() by David Howe |
![]() |
![]() |
Just joined...
Started by dizzzie_d |
4 Replies
3,848 Views |
![]() by Satya |
![]() |
![]() |
Hi I'm New!
Started by makin8 |
4 Replies
3,860 Views |
![]() by Dorothy |
![]() |
![]() |
2 Replies
3,891 Views |
![]() by joej627 |
|
![]() |
![]() |
HEllo!
Started by awesomeame |
4 Replies
3,893 Views |
![]() by Josh |
![]() |
![]() |
Newcomer needs some expert advice
Started by zbr5 |
3 Replies
3,894 Views |
![]() by zbr5 |
![]() |
![]() |
Beginning Raw Paleo
Started by matattack |
3 Replies
3,903 Views |
![]() by Charlie4444 |
![]() |
![]() |
3 Replies
3,907 Views |
![]() by Eva_R |
|
![]() |
![]() |
3 Replies
3,907 Views |
![]() by dsohei |
|
![]() |
![]() |
I come in peace
Started by Widukind |
3 Replies
3,908 Views |
![]() by TylerDurden |
![]() |
![]() |
Primal Newbie
Started by fahadullahkhan |
4 Replies
3,916 Views |
![]() by fahadullahkhan |
![]() |
![]() |
Hello everyone
Started by Spirit Bear |
4 Replies
3,943 Views |
![]() by Spirit Bear |
![]() |
![]() |
Grixxly here
Started by Grixxly |
4 Replies
3,946 Views |
![]() by goodsamaritan |
![]() |
![]() |
Introducing
Started by BillyF |
2 Replies
3,977 Views |
![]() by goodsamaritan |
![]() |
![]() |
Greetings from Sweden
Started by fishercat |
4 Replies
3,981 Views |
![]() by fishercat |
![]() |
![]() |
3 Replies
3,986 Views |
![]() by edmon171 |
|
![]() |
![]() |
Saying Hello
Started by TheButcher |
2 Replies
3,986 Views |
![]() by juliett |
![]() |
![]() |
my banana concept
Started by LePatron7 |
4 Replies
4,007 Views |
![]() by LePatron7 |
![]() |
![]() |
2 Replies
4,027 Views |
![]() by aco |
|
![]() |
![]() |
Stephane, new here
Started by stephane |
1 Replies
4,027 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
4,045 Views |
![]() by GustafStahl |
|
![]() |
![]() |
5 Replies
4,055 Views |
![]() by eveheart |
|
![]() |
![]() |
1 Replies
4,058 Views |
![]() by political atheist |
|
![]() |
![]() |
Just the beginning!!!
Started by Pecsgirl |
5 Replies
4,086 Views |
![]() by svrn |
![]() |
![]() |
Newbie from Illinois
Started by xEdgexRNx |
4 Replies
4,090 Views |
![]() by TylerDurden |
![]() |
![]() |
5 Replies
4,101 Views |
![]() by kurite |
|
![]() |
![]() |
I'm New!! Hello!
Started by Calypso |
5 Replies
4,107 Views |
![]() by Calypso |
![]() |
![]() |
Michal from Poland
Started by Buddha |
3 Replies
4,124 Views |
![]() by tonyvee |
![]() |
![]() |
4 Replies
4,130 Views |
![]() by Siiri |
|
![]() |
![]() |
Greetings from Spain !
Started by Ramsay |
3 Replies
4,139 Views |
![]() by SouthernSpain11 |
![]() |
![]() |
1 Replies
4,158 Views |
![]() by therouting |
|
![]() |
![]() |
Hello from the Philippines
Started by Fitawep123 |
3 Replies
4,178 Views |
![]() by A_Tribe_Called_Paleo |
![]() |
![]() |
One excited explorer from Finland
Started by DogToffee |
4 Replies
4,209 Views |
![]() by goodsamaritan |
![]() |
![]() |
4 Replies
4,220 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
7 Replies
4,221 Views |
![]() by Iguana |
|
![]() |
![]() |
Paleo from a different angle
Started by PaleoChemist |
2 Replies
4,228 Views |
![]() by eveheart |
![]() |
![]() |
5 Replies
4,229 Views |
![]() by TylerDurden |
|
![]() |
![]() |
5 Replies
4,241 Views |
![]() by Sitting Coyote |
|
![]() |
![]() |
Learning more about raw meat as an option
Started by JJ |
3 Replies
4,245 Views |
![]() by TylerDurden |
![]() |
![]() |
In search of Optimum Health!
Started by PaganAngel |
5 Replies
4,252 Views |
![]() by PaganAngel |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll