/* * 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 24 Guests are viewing this board. | ||||
|
|
Study on ancient americans
Started by TylerDurden |
1 Replies
2,042 Views |
by cherimoya_kid |
|
|
0 Replies
1,957 Views |
by TylerDurden |
|
|
|
More evidence re Neanderthals
Started by TylerDurden « 1 2 » |
31 Replies
12,136 Views |
by PaleoPhil |
|
|
The Enteric Nervous System (ENS)
Started by LePatron7 |
1 Replies
2,416 Views |
by cherimoya_kid |
|
|
1 Replies
2,121 Views |
by goodsamaritan |
|
|
|
0 Replies
1,904 Views |
by TylerDurden |
|
|
|
0 Replies
1,909 Views |
by TylerDurden |
|
|
|
Neanderthals were never autistic
Started by TylerDurden |
2 Replies
2,501 Views |
by goodsamaritan |
|
|
Positive Neanderthal Study
Started by TylerDurden |
13 Replies
5,419 Views |
by Iguana |
|
|
1 Replies
2,437 Views |
by TylerDurden |
|
|
|
Hair and eye Color changes from diet?
Started by Suiren |
9 Replies
5,552 Views |
by Iguana |
|
|
3 Replies
3,327 Views |
by Iguana |
|
|
|
1 Replies
2,501 Views |
by van |
|
|
|
Caveman Burial Rituals and Food
Started by TylerDurden |
0 Replies
2,114 Views |
by TylerDurden |
|
|
Ancient Roman Diet
Started by TylerDurden |
0 Replies
2,148 Views |
by TylerDurden |
|
|
Neanderthals used complex speech
Started by TylerDurden |
0 Replies
2,120 Views |
by TylerDurden |
|
|
New reason for start of Neolithic era
Started by TylerDurden |
1 Replies
2,446 Views |
by Iguana |
|
|
0 Replies
2,333 Views |
by TylerDurden |
|
|
|
Prehistoric Man went house-hunting
Started by TylerDurden |
1 Replies
3,447 Views |
by Iguana |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll