/* * 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 16 Guests are viewing this board. | ||||
![]() |
![]() |
1 Replies
3,777 Views |
![]() by TylerDurden |
|
![]() |
![]() |
finally there
Started by HIT_it_RAW |
4 Replies
3,791 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
1 Replies
3,797 Views |
![]() by RAW T |
|
![]() |
![]() |
1 Replies
3,803 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
3,809 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Hi to all!
Started by dimiter |
4 Replies
3,811 Views |
![]() by dimiter |
![]() |
![]() |
3 Replies
3,815 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
5 Replies
3,816 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hello, I'm new here.
Started by edmon171 |
3 Replies
3,822 Views |
![]() by sakshisinha |
![]() |
![]() |
G'Day From Australia!
Started by Delphoene |
2 Replies
3,830 Views |
![]() by Bec |
![]() |
![]() |
A Quick Peep
Started by David Howe |
4 Replies
3,833 Views |
![]() by David Howe |
![]() |
![]() |
Just joined...
Started by dizzzie_d |
4 Replies
3,844 Views |
![]() by Satya |
![]() |
![]() |
Hi I'm New!
Started by makin8 |
4 Replies
3,857 Views |
![]() by Dorothy |
![]() |
![]() |
Newcomer needs some expert advice
Started by zbr5 |
3 Replies
3,883 Views |
![]() by zbr5 |
![]() |
![]() |
2 Replies
3,887 Views |
![]() by joej627 |
|
![]() |
![]() |
HEllo!
Started by awesomeame |
4 Replies
3,889 Views |
![]() by Josh |
![]() |
![]() |
I come in peace
Started by Widukind |
3 Replies
3,895 Views |
![]() by TylerDurden |
![]() |
![]() |
Beginning Raw Paleo
Started by matattack |
3 Replies
3,898 Views |
![]() by Charlie4444 |
![]() |
![]() |
3 Replies
3,902 Views |
![]() by dsohei |
|
![]() |
![]() |
3 Replies
3,903 Views |
![]() by Eva_R |
|
![]() |
![]() |
Primal Newbie
Started by fahadullahkhan |
4 Replies
3,912 Views |
![]() by fahadullahkhan |
![]() |
![]() |
Hello everyone
Started by Spirit Bear |
4 Replies
3,939 Views |
![]() by Spirit Bear |
![]() |
![]() |
Grixxly here
Started by Grixxly |
4 Replies
3,941 Views |
![]() by goodsamaritan |
![]() |
![]() |
Introducing
Started by BillyF |
2 Replies
3,974 Views |
![]() by goodsamaritan |
![]() |
![]() |
Greetings from Sweden
Started by fishercat |
4 Replies
3,978 Views |
![]() by fishercat |
![]() |
![]() |
Saying Hello
Started by TheButcher |
2 Replies
3,981 Views |
![]() by juliett |
![]() |
![]() |
3 Replies
3,981 Views |
![]() by edmon171 |
|
![]() |
![]() |
my banana concept
Started by LePatron7 |
4 Replies
4,004 Views |
![]() by LePatron7 |
![]() |
![]() |
2 Replies
4,013 Views |
![]() by aco |
|
![]() |
![]() |
Stephane, new here
Started by stephane |
1 Replies
4,017 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
4,032 Views |
![]() by GustafStahl |
|
![]() |
![]() |
1 Replies
4,049 Views |
![]() by political atheist |
|
![]() |
![]() |
5 Replies
4,050 Views |
![]() by eveheart |
|
![]() |
![]() |
Just the beginning!!!
Started by Pecsgirl |
5 Replies
4,083 Views |
![]() by svrn |
![]() |
![]() |
Newbie from Illinois
Started by xEdgexRNx |
4 Replies
4,087 Views |
![]() by TylerDurden |
![]() |
![]() |
5 Replies
4,094 Views |
![]() by kurite |
|
![]() |
![]() |
I'm New!! Hello!
Started by Calypso |
5 Replies
4,102 Views |
![]() by Calypso |
![]() |
![]() |
Michal from Poland
Started by Buddha |
3 Replies
4,115 Views |
![]() by tonyvee |
![]() |
![]() |
4 Replies
4,127 Views |
![]() by Siiri |
|
![]() |
![]() |
Greetings from Spain !
Started by Ramsay |
3 Replies
4,137 Views |
![]() by SouthernSpain11 |
![]() |
![]() |
1 Replies
4,147 Views |
![]() by therouting |
|
![]() |
![]() |
Hello from the Philippines
Started by Fitawep123 |
3 Replies
4,173 Views |
![]() by A_Tribe_Called_Paleo |
![]() |
![]() |
One excited explorer from Finland
Started by DogToffee |
4 Replies
4,196 Views |
![]() by goodsamaritan |
![]() |
![]() |
7 Replies
4,209 Views |
![]() by Iguana |
|
![]() |
![]() |
4 Replies
4,213 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
Paleo from a different angle
Started by PaleoChemist |
2 Replies
4,223 Views |
![]() by eveheart |
![]() |
![]() |
5 Replies
4,224 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Learning more about raw meat as an option
Started by JJ |
3 Replies
4,234 Views |
![]() by TylerDurden |
![]() |
![]() |
In search of Optimum Health!
Started by PaganAngel |
5 Replies
4,234 Views |
![]() by PaganAngel |
![]() |
![]() |
5 Replies
4,237 Views |
![]() by Sitting Coyote |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll