/* * 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 130 Guests are viewing this board. | ||||
|
|
2 Replies
3,808 Views |
by RawZi |
|
|
|
Beginning Raw Paleo
Started by matattack |
3 Replies
4,980 Views |
by Charlie4444 |
|
|
juicing and other questions
Started by bachcole |
13 Replies
10,740 Views |
by bachcole |
|
|
Hi I'm New!
Started by makin8 |
4 Replies
5,102 Views |
by Dorothy |
|
|
Raw carnivore with questions...
Started by Nicole_German « 1 2 » |
26 Replies
22,977 Views |
by Alive |
|
|
14 year old - Eating problem
Started by Gadsie |
3 Replies
6,329 Views |
by Funky Raw Rob |
|
|
Hello everyone
Started by Funky Raw Rob |
7 Replies
6,818 Views |
by Funky Raw Rob |
|
|
7 Replies
8,258 Views |
by Adora |
|
|
|
for health reasons....
Started by Suiren |
11 Replies
8,906 Views |
by Adora |
|
|
A personal study more or less...
Started by Saris |
3 Replies
4,345 Views |
by Charlie4444 |
|
|
Home at last!
Started by MarkC |
19 Replies
12,666 Views |
by intrigued |
|
|
4 Replies
5,519 Views |
by CitrusHigh |
|
|
|
Hello everyone
Started by Spirit Bear |
4 Replies
5,274 Views |
by Spirit Bear |
|
|
9 Replies
8,606 Views |
by gc |
|
|
|
Hi all, just introducing myself
Started by bish8303 |
2 Replies
4,132 Views |
by Lynnzard |
|
|
Hear that squeak? Noob wrapper. Tear in.
Started by Lynnzard |
12 Replies
9,383 Views |
by Adora |
|
|
Hello to everyone
Started by aginghippie |
2 Replies
4,084 Views |
by aginghippie |
|
|
email of yahoo group
Started by LePatron7 |
2 Replies
3,987 Views |
by LePatron7 |
|
|
11 Replies
8,417 Views |
by intrigued |
|
|
|
Gratitude
Started by feralflannery |
0 Replies
3,230 Views |
by feralflannery |
|
|
Hello to all from the Germany
Started by A1000Jakeys |
3 Replies
4,211 Views |
by Löwenherz |
|
|
Hey all new here!
Started by spitfiredd1 |
6 Replies
6,300 Views |
by cherimoya_kid |
|
|
Silicon Valley raw eater, saying HI
Started by monkeysee |
17 Replies
11,694 Views |
by eveheart |
|
|
Hi Everyone!
Started by TX BAR ORGANICS |
4 Replies
4,557 Views |
by Isthmus |
|
|
0 Replies
3,170 Views |
by raw-al |
|
|
|
Hello Everybody!
Started by rbastedo |
1 Replies
3,579 Views |
by ChefMasterOrange |
|
|
Hiya!
Started by Sarafiddlesurf |
8 Replies
6,725 Views |
by ChefMasterOrange |
|
|
1 Replies
3,794 Views |
by TylerDurden |
|
|
|
What I Need To Do
Started by Lurch 51 |
2 Replies
4,117 Views |
by achillezzz |
|
|
my banana concept
Started by LePatron7 |
4 Replies
4,934 Views |
by LePatron7 |
|
|
looking for inspiration and RAW friends
Started by ems |
2 Replies
3,897 Views |
by ems |
|
|
Excited to be here :)
Started by superja |
8 Replies
6,345 Views |
by Löwenherz |
|
|
Hello new here!
Started by JackAttack |
2 Replies
3,839 Views |
by CitrusHigh |
|
|
12 Replies
10,053 Views |
by zoomaster |
|
|
|
Hello welcoming comitee!
Started by LePatron7 |
2 Replies
4,040 Views |
by LePatron7 |
|
|
New to this forum..
Started by Fats |
8 Replies
7,745 Views |
by TylerDurden |
|
|
Howdy
Started by RogueFarmer |
9 Replies
8,083 Views |
by RogueFarmer |
|
|
Greetings, paleo people
Started by GK420 |
21 Replies
15,388 Views |
by GK420 |
|
|
9 Replies
7,094 Views |
by Carnál |
|
|
|
Hello everyone!
Started by PrimiFit |
2 Replies
4,460 Views |
by goodsamaritan |
|
|
3 Replies
4,561 Views |
by RawZi |
|
|
|
Hello Everyone
Started by Aliayzar |
22 Replies
12,511 Views |
by Aliayzar |
|
|
Raw Vegan
Started by rawobjectivism |
4 Replies
4,478 Views |
by TylerDurden |
|
|
new guy here
Started by Witty Name |
3 Replies
4,436 Views |
by TylerDurden |
|
|
Hi! New to this forum and Raw Paleo
Started by mommyrunmommy |
9 Replies
8,204 Views |
by bjland4 |
|
|
58 Replies
32,233 Views |
by CitrusHigh |
|
|
|
Excited to heal with raw foods! : )
Started by Aaaaaa |
4 Replies
6,124 Views |
by Aaaaaa |
|
|
Hi everyone
Started by billy4184 |
15 Replies
16,331 Views |
by billy4184 |
|
|
3 Replies
4,523 Views |
by zbr5 |
|
|
|
Question about eating raw seafood
Started by firefighter1/1 |
8 Replies
7,464 Views |
by CitrusHigh |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll