/* * 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 ![]() |
Last post | ||
---|---|---|---|---|
0 Members and 16 Guests are viewing this board. | ||||
![]() |
![]() |
3 Replies
3,092 Views |
![]() by dsohei |
|
![]() |
![]() |
Hello fellow cavepeoples
Started by Destor |
3 Replies
2,574 Views |
![]() by Destor |
![]() |
![]() |
Hello from Japan!!
Started by skyz0blue |
3 Replies
2,762 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello Everyone
Started by OldeSword |
3 Replies
3,378 Views |
![]() by boxcarguy07 |
![]() |
![]() |
Hello everybody!
Started by Z |
4 Replies
4,310 Views |
![]() by Z |
![]() |
![]() |
made in germany
Started by Bio-shell Avatar |
4 Replies
3,457 Views |
![]() by Bio-shell Avatar |
![]() |
![]() |
Hi's and hellos!
Started by sherylrays |
4 Replies
2,554 Views |
![]() by CitrusHigh |
![]() |
![]() |
Excited to heal with raw foods! : )
Started by Aaaaaa |
4 Replies
4,111 Views |
![]() by Aaaaaa |
![]() |
![]() |
hey from Wales!
Started by flapsandwich |
4 Replies
4,433 Views |
![]() by Raw-nature |
![]() |
![]() |
Paleo-style
Started by JaX |
4 Replies
3,331 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello from the Netherlands!
Started by MarkR |
4 Replies
2,100 Views |
![]() by GustafStahl |
![]() |
![]() |
4 Replies
4,268 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
4 Replies
2,626 Views |
![]() by raw-al |
|
![]() |
![]() |
Hi all
Started by SharpPointyStickGuy |
4 Replies
3,628 Views |
![]() by Guittarman03 |
![]() |
![]() |
Grixxly here
Started by Grixxly |
4 Replies
3,242 Views |
![]() by goodsamaritan |
![]() |
![]() |
4 Replies
3,669 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
4 Replies
3,796 Views |
![]() by Mike |
|
![]() |
![]() |
Fairly New
Started by reyyzl |
4 Replies
3,942 Views |
![]() by reyyzl |
![]() |
![]() |
Hello, introducing myself
Started by livingthelife |
4 Replies
3,582 Views |
![]() by reyyzl |
![]() |
![]() |
Just joined...
Started by dizzzie_d |
4 Replies
3,240 Views |
![]() by Satya |
![]() |
![]() |
Newbie from Illinois
Started by xEdgexRNx |
4 Replies
3,502 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings from Sweden
Started by fishercat |
4 Replies
3,355 Views |
![]() by fishercat |
![]() |
![]() |
One excited explorer from Finland
Started by DogToffee |
4 Replies
3,667 Views |
![]() by goodsamaritan |
![]() |
![]() |
Hei guise :3
Started by oxycat |
4 Replies
3,103 Views |
![]() by oxycat |
![]() |
![]() |
Janice from The Netherlands
Started by FlyingDutchwoman |
4 Replies
2,808 Views |
![]() by cherimoya_kid |
![]() |
![]() |
4 Replies
3,533 Views |
![]() by Apani |
|
![]() |
![]() |
Hi Everyone!
Started by TX BAR ORGANICS |
4 Replies
2,956 Views |
![]() by Isthmus |
![]() |
![]() |
A Quick Peep
Started by David Howe |
4 Replies
3,032 Views |
![]() by David Howe |
![]() |
![]() |
Hello from the Pacific Northwest...
Started by Omniverse |
4 Replies
2,975 Views |
![]() by Omniverse |
![]() |
![]() |
4 Replies
3,458 Views |
![]() by Siiri |
|
![]() |
![]() |
4 Replies
2,811 Views |
![]() by TylerDurden |
|
![]() |
![]() |
4 Replies
2,712 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
New to Paleo, considering more raw
Started by CinnamonGirl |
4 Replies
2,695 Views |
![]() by shannon |
![]() |
![]() |
Hello all
Started by natural_Jose |
4 Replies
2,442 Views |
![]() by natural_Jose |
![]() |
![]() |
Primal Newbie
Started by fahadullahkhan |
4 Replies
3,108 Views |
![]() by fahadullahkhan |
![]() |
![]() |
Hi I'm New!
Started by makin8 |
4 Replies
3,022 Views |
![]() by Dorothy |
![]() |
![]() |
Introducing myself
Started by Suzubick |
4 Replies
2,650 Views |
![]() by Adora |
![]() |
![]() |
HEllo!
Started by awesomeame |
4 Replies
3,343 Views |
![]() by Josh |
![]() |
![]() |
Hello & questions?
Started by DeadRamones |
4 Replies
3,614 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
3,873 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Raw Vegan
Started by rawobjectivism |
4 Replies
2,849 Views |
![]() by TylerDurden |
![]() |
![]() |
New with many questions
Started by Tin_Man |
4 Replies
2,825 Views |
![]() by joej627 |
![]() |
![]() |
Hello everyone
Started by Spirit Bear |
4 Replies
3,195 Views |
![]() by Spirit Bear |
![]() |
![]() |
finally there
Started by HIT_it_RAW |
4 Replies
3,120 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
4 Replies
3,614 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Hi to all!
Started by dimiter |
4 Replies
3,000 Views |
![]() by dimiter |
![]() |
![]() |
4 Replies
3,443 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
my banana concept
Started by LePatron7 |
4 Replies
3,319 Views |
![]() by LePatron7 |
![]() |
![]() |
4 Replies
4,117 Views |
![]() by eoterm |
|
![]() |
![]() |
4 Replies
2,898 Views |
![]() by Ioanna |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll