/* * 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 14 Guests are viewing this board. | ||||
![]() |
![]() |
New to community, Have some questions
Started by consoomer |
3 Replies
1,932 Views |
![]() by MarkR |
![]() |
![]() |
White stuff growing on meat.
Started by Core |
2 Replies
5,455 Views |
![]() by NuclearKnight |
![]() |
![]() |
Craig Here!
Started by Craig |
7 Replies
6,715 Views |
![]() by cherimoya_kid |
![]() |
![]() |
19 Replies
11,038 Views |
![]() by RawZi |
|
![]() |
![]() |
5 Replies
4,984 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hi - Where do I fit in?
Started by Crudivore |
3 Replies
2,742 Views |
![]() by TylerDurden |
![]() |
![]() |
Getting Started
Started by csesuvra |
1 Replies
2,066 Views |
![]() by CitrusHigh |
![]() |
![]() |
Hello my fellow meat eaters
Started by Cthulhu |
6 Replies
4,079 Views |
![]() by PaleoPhil |
![]() |
![]() |
Hiiiiiiiiii:D:D:D im new ^_^
Started by Curator |
6 Replies
3,829 Views |
![]() by Curator |
![]() |
![]() |
3 Replies
2,569 Views |
![]() by Ioanna |
|
![]() |
![]() |
1 Replies
3,025 Views |
![]() by TylerDurden |
|
![]() |
![]() |
hello everyone
Started by d leh |
2 Replies
2,574 Views |
![]() by d leh |
![]() |
![]() |
Hello there!
Started by dair |
1 Replies
2,697 Views |
![]() by TylerDurden |
![]() |
![]() |
Raw Vegan to Raw Every Thing
Started by DameonWolf |
15 Replies
7,753 Views |
![]() by chucky |
![]() |
![]() |
2 Replies
3,690 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Paleo from Spain
Started by danipr86 |
0 Replies
2,470 Views |
![]() by danipr86 |
![]() |
![]() |
4 Replies
2,712 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Hi!.. and some questions??
Started by DarkMonk81 « 1 2 » |
33 Replies
17,732 Views |
![]() by DarkMonk81 |
![]() |
![]() |
Heya,
Started by daulatwant |
2 Replies
3,382 Views |
![]() by TylerDurden |
![]() |
![]() |
A Quick Peep
Started by David Howe |
4 Replies
3,032 Views |
![]() by David Howe |
![]() |
![]() |
Hello from Aurora CO.
Started by daviddigital |
0 Replies
2,291 Views |
![]() by daviddigital |
![]() |
![]() |
Greetings from Austin
Started by davidg |
5 Replies
4,301 Views |
![]() by Kristelle |
![]() |
![]() |
Saying hello as well
Started by Dbk |
5 Replies
3,629 Views |
![]() by Dbk |
![]() |
![]() |
8 Replies
4,484 Views |
![]() by van |
|
![]() |
![]() |
Hello & questions?
Started by DeadRamones |
4 Replies
3,614 Views |
![]() by TylerDurden |
![]() |
![]() |
5 Replies
4,146 Views |
![]() by AdamDilFRIVA |
|
![]() |
![]() |
G'Day From Australia!
Started by Delphoene |
2 Replies
3,003 Views |
![]() by Bec |
![]() |
![]() |
Hello fellow cavepeoples
Started by Destor |
3 Replies
2,574 Views |
![]() by Destor |
![]() |
![]() |
1 Replies
3,145 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
2 Replies
2,458 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Hello. I am new to this forum
Started by dillis14 |
2 Replies
2,144 Views |
![]() by Bronwen |
![]() |
![]() |
Hello from NJ
Started by Dima |
23 Replies
10,749 Views |
![]() by turkish |
![]() |
![]() |
Hi to all!
Started by dimiter |
4 Replies
3,000 Views |
![]() by dimiter |
![]() |
![]() |
new frenchy coming
Started by diogene |
11 Replies
10,116 Views |
![]() by diogene |
![]() |
![]() |
Just joined...
Started by dizzzie_d |
4 Replies
3,240 Views |
![]() by Satya |
![]() |
![]() |
Hello
Started by djr_81 |
17 Replies
10,153 Views |
![]() by djr_81 |
![]() |
![]() |
0 Replies
1,978 Views |
![]() by dmoffett |
|
![]() |
![]() |
One excited explorer from Finland
Started by DogToffee |
4 Replies
3,667 Views |
![]() by goodsamaritan |
![]() |
![]() |
Heya!
Started by DoktehrPooh |
9 Replies
6,944 Views |
![]() by fanbrits |
![]() |
![]() |
A journey of food
Started by Dorg Endo |
9 Replies
5,229 Views |
![]() by Dorg Endo |
![]() |
![]() |
9 Replies
6,251 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
15 Replies
5,851 Views |
![]() by jessica |
|
![]() |
![]() |
3 Replies
3,044 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
3,092 Views |
![]() by dsohei |
|
![]() |
![]() |
New and curious
Started by dunbar |
5 Replies
3,616 Views |
![]() by cherimoya_kid |
![]() |
![]() |
2 Replies
2,847 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Hello, I'm new here.
Started by edmon171 |
3 Replies
3,054 Views |
![]() by sakshisinha |
![]() |
![]() |
Hi there.......
Started by Elainie |
15 Replies
10,466 Views |
![]() by PaleoPhil |
![]() |
![]() |
Participants needed! (Link fix)
Started by ellamayes |
0 Replies
2,119 Views |
![]() by ellamayes |
![]() |
![]() |
hi
Started by elysianisis |
10 Replies
5,437 Views |
![]() by achillezzz |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll