/* * 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 13 Guests are viewing this board. | ||||
![]() |
![]() |
You all really are some of the best!
Started by MDee |
3 Replies
3,190 Views |
![]() by MDee |
![]() |
![]() |
On with the intro...
Started by Bacchal |
3 Replies
3,194 Views |
![]() by CitrusHigh |
![]() |
![]() |
2 Replies
3,196 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
Hello from Kansas
Started by Preachermedic |
2 Replies
3,202 Views |
![]() by TylerDurden |
![]() |
![]() |
A personal study more or less...
Started by Saris |
3 Replies
3,214 Views |
![]() by Charlie4444 |
![]() |
![]() |
Hello welcoming comitee!
Started by LePatron7 |
2 Replies
3,216 Views |
![]() by LePatron7 |
![]() |
![]() |
Ciao
Started by Carne Cruda |
1 Replies
3,218 Views |
![]() by cherimoya_kid |
![]() |
![]() |
EMAIL/ FORGOT PASSWORD not working
Started by primalgirl |
1 Replies
3,222 Views |
![]() by goodsamaritan |
![]() |
![]() |
hi there from polish ecoregion :)
Started by gggrzesiek |
3 Replies
3,226 Views |
![]() by TylerDurden |
![]() |
![]() |
new to paleo
Started by brettie vedder |
2 Replies
3,229 Views |
![]() by PaleoPhil |
![]() |
![]() |
Holistic Medical Advice and Paleo
Started by Panohok |
1 Replies
3,234 Views |
![]() by Iguana |
![]() |
![]() |
Roger from Australia
Started by IonSurfer |
2 Replies
3,235 Views |
![]() by cherimoya_kid |
![]() |
![]() |
New guy learning about Paleo
Started by GetNativ |
1 Replies
3,239 Views |
![]() by goodsamaritan |
![]() |
![]() |
Hello from SoCal
Started by Goose |
1 Replies
3,242 Views |
![]() by sabertooth |
![]() |
![]() |
What I Need To Do
Started by Lurch 51 |
2 Replies
3,250 Views |
![]() by achillezzz |
![]() |
![]() |
Hello there!
Started by dair |
1 Replies
3,256 Views |
![]() by TylerDurden |
![]() |
![]() |
New here, anyone live in Houston TX?
Started by ModeloChris |
0 Replies
3,257 Views |
![]() by ModeloChris |
![]() |
![]() |
New to Paleo
Started by brodude |
1 Replies
3,258 Views |
![]() by goodsamaritan |
![]() |
![]() |
2 Replies
3,271 Views |
![]() by KollektivDom |
|
![]() |
![]() |
4 Replies
3,284 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Where do I start?
Started by Rod Franklin |
3 Replies
3,288 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
3,291 Views |
![]() by Onlymistert |
|
![]() |
![]() |
Introducing myself
Started by Suzubick |
4 Replies
3,302 Views |
![]() by Adora |
![]() |
![]() |
Hello to all from the Germany
Started by A1000Jakeys |
3 Replies
3,304 Views |
![]() by Löwenherz |
![]() |
![]() |
mary austin
Started by maryaustin |
0 Replies
3,316 Views |
![]() by maryaustin |
![]() |
![]() |
Hello!
Started by BiologicalNaturalLaw |
0 Replies
3,323 Views |
![]() by BiologicalNaturalLaw |
![]() |
![]() |
New Here...Hi To All :)
Started by Foods4Health |
3 Replies
3,323 Views |
![]() by TylerDurden |
![]() |
![]() |
Hey folks!
Started by iBlairr |
1 Replies
3,329 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi everyone! ^_^
Started by wild_is_free |
0 Replies
3,331 Views |
![]() by wild_is_free |
![]() |
![]() |
Hello, everyone! From Brazil.
Started by Servo de Cristo |
2 Replies
3,333 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
3,335 Views |
![]() by leadahead |
|
![]() |
![]() |
Colorado off-grid
Started by Snowflower |
3 Replies
3,358 Views |
![]() by goodsamaritan |
![]() |
![]() |
Greetings from UK :)
Started by Health33 |
2 Replies
3,377 Views |
![]() by RawZi |
![]() |
![]() |
NOC Meaning
Started by navyasri |
0 Replies
3,381 Views |
![]() by navyasri |
![]() |
![]() |
1 Replies
3,386 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
3,397 Views |
![]() by LePatron7 |
|
![]() |
![]() |
4 Replies
3,397 Views |
![]() by raw-al |
|
![]() |
![]() |
3 Replies
3,398 Views |
![]() by LePatron7 |
|
![]() |
![]() |
2 Replies
3,403 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
3,405 Views |
![]() by Welchdymn |
|
![]() |
![]() |
Paleo diet saved me!
Started by toure7 |
1 Replies
3,406 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello from Japan!!
Started by skyz0blue |
3 Replies
3,417 Views |
![]() by TylerDurden |
![]() |
![]() |
4 Replies
3,424 Views |
![]() by TylerDurden |
|
![]() |
![]() |
newbie query
Started by nightmare |
1 Replies
3,437 Views |
![]() by eveheart |
![]() |
![]() |
Hello everyone!
Started by PrimiFit |
2 Replies
3,444 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
3,446 Views |
![]() by Satnee |
|
![]() |
![]() |
Journey back to health
Started by birdy |
2 Replies
3,448 Views |
![]() by surfsteve |
![]() |
![]() |
New raw eater.
Started by Nucleus |
0 Replies
3,451 Views |
![]() by Nucleus |
![]() |
![]() |
4 Replies
3,456 Views |
![]() by Ioanna |
|
![]() |
![]() |
Salutations from a Recent Convert!
Started by zeno |
3 Replies
3,461 Views |
![]() by zeno |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll