/* * 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. | ||||
![]() |
![]() |
I'm new here!
Started by Obbire |
1 Replies
3,198 Views |
![]() by TheHealingForests |
![]() |
![]() |
On with the intro...
Started by Bacchal |
3 Replies
3,199 Views |
![]() by CitrusHigh |
![]() |
![]() |
2 Replies
3,202 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
Hello from Kansas
Started by Preachermedic |
2 Replies
3,208 Views |
![]() by TylerDurden |
![]() |
![]() |
A personal study more or less...
Started by Saris |
3 Replies
3,217 Views |
![]() by Charlie4444 |
![]() |
![]() |
Hello welcoming comitee!
Started by LePatron7 |
2 Replies
3,220 Views |
![]() by LePatron7 |
![]() |
![]() |
Ciao
Started by Carne Cruda |
1 Replies
3,224 Views |
![]() by cherimoya_kid |
![]() |
![]() |
hi there from polish ecoregion :)
Started by gggrzesiek |
3 Replies
3,229 Views |
![]() by TylerDurden |
![]() |
![]() |
EMAIL/ FORGOT PASSWORD not working
Started by primalgirl |
1 Replies
3,230 Views |
![]() by goodsamaritan |
![]() |
![]() |
new to paleo
Started by brettie vedder |
2 Replies
3,232 Views |
![]() by PaleoPhil |
![]() |
![]() |
Holistic Medical Advice and Paleo
Started by Panohok |
1 Replies
3,238 Views |
![]() by Iguana |
![]() |
![]() |
New guy learning about Paleo
Started by GetNativ |
1 Replies
3,243 Views |
![]() by goodsamaritan |
![]() |
![]() |
Roger from Australia
Started by IonSurfer |
2 Replies
3,245 Views |
![]() by cherimoya_kid |
![]() |
![]() |
What I Need To Do
Started by Lurch 51 |
2 Replies
3,255 Views |
![]() by achillezzz |
![]() |
![]() |
Hello from SoCal
Started by Goose |
1 Replies
3,255 Views |
![]() by sabertooth |
![]() |
![]() |
Hello there!
Started by dair |
1 Replies
3,259 Views |
![]() by TylerDurden |
![]() |
![]() |
New to Paleo
Started by brodude |
1 Replies
3,265 Views |
![]() by goodsamaritan |
![]() |
![]() |
New here, anyone live in Houston TX?
Started by ModeloChris |
0 Replies
3,270 Views |
![]() by ModeloChris |
![]() |
![]() |
2 Replies
3,285 Views |
![]() by KollektivDom |
|
![]() |
![]() |
4 Replies
3,289 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Where do I start?
Started by Rod Franklin |
3 Replies
3,294 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
3,301 Views |
![]() by Onlymistert |
|
![]() |
![]() |
Introducing myself
Started by Suzubick |
4 Replies
3,314 Views |
![]() by Adora |
![]() |
![]() |
Hello to all from the Germany
Started by A1000Jakeys |
3 Replies
3,315 Views |
![]() by Löwenherz |
![]() |
![]() |
mary austin
Started by maryaustin |
0 Replies
3,327 Views |
![]() by maryaustin |
![]() |
![]() |
New Here...Hi To All :)
Started by Foods4Health |
3 Replies
3,328 Views |
![]() by TylerDurden |
![]() |
![]() |
Hey folks!
Started by iBlairr |
1 Replies
3,334 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi everyone! ^_^
Started by wild_is_free |
0 Replies
3,335 Views |
![]() by wild_is_free |
![]() |
![]() |
Hello!
Started by BiologicalNaturalLaw |
0 Replies
3,338 Views |
![]() by BiologicalNaturalLaw |
![]() |
![]() |
Hello, everyone! From Brazil.
Started by Servo de Cristo |
2 Replies
3,344 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
3,345 Views |
![]() by leadahead |
|
![]() |
![]() |
Colorado off-grid
Started by Snowflower |
3 Replies
3,366 Views |
![]() by goodsamaritan |
![]() |
![]() |
Greetings from UK :)
Started by Health33 |
2 Replies
3,383 Views |
![]() by RawZi |
![]() |
![]() |
1 Replies
3,390 Views |
![]() by TylerDurden |
|
![]() |
![]() |
NOC Meaning
Started by navyasri |
0 Replies
3,390 Views |
![]() by navyasri |
![]() |
![]() |
4 Replies
3,402 Views |
![]() by raw-al |
|
![]() |
![]() |
3 Replies
3,404 Views |
![]() by LePatron7 |
|
![]() |
![]() |
2 Replies
3,404 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
3 Replies
3,406 Views |
![]() by LePatron7 |
|
![]() |
![]() |
0 Replies
3,411 Views |
![]() by Welchdymn |
|
![]() |
![]() |
Paleo diet saved me!
Started by toure7 |
1 Replies
3,411 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello from Japan!!
Started by skyz0blue |
3 Replies
3,420 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
3,430 Views |
![]() by TylerDurden |
|
![]() |
![]() |
newbie query
Started by nightmare |
1 Replies
3,444 Views |
![]() by eveheart |
![]() |
![]() |
Hello everyone!
Started by PrimiFit |
2 Replies
3,448 Views |
![]() by goodsamaritan |
![]() |
![]() |
Journey back to health
Started by birdy |
2 Replies
3,453 Views |
![]() by surfsteve |
![]() |
![]() |
0 Replies
3,458 Views |
![]() by Satnee |
|
![]() |
![]() |
4 Replies
3,462 Views |
![]() by Ioanna |
|
![]() |
![]() |
New raw eater.
Started by Nucleus |
0 Replies
3,464 Views |
![]() by Nucleus |
![]() |
![]() |
Salutations from a Recent Convert!
Started by zeno |
3 Replies
3,466 Views |
![]() by zeno |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll