/* * 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 222 Guests are viewing this board. | ||||
|
|
6 Replies
4,841 Views |
by cherimoya_kid |
|
|
|
Very dodgy new scientific claim
Started by TylerDurden |
6 Replies
4,679 Views |
by jessica |
|
|
Chemicals in popcorn case
Started by TylerDurden |
0 Replies
2,342 Views |
by TylerDurden |
|
|
Interesting article
Started by TylerDurden |
0 Replies
2,547 Views |
by TylerDurden |
|
|
3 Replies
3,687 Views |
by White shark |
|
|
|
Ripoff USA
Started by TylerDurden |
2 Replies
3,016 Views |
by ys |
|
|
Yet another unlikely article!
Started by TylerDurden |
2 Replies
2,860 Views |
by TylerDurden |
|
|
2 Replies
2,974 Views |
by jessica |
|
|
|
Interesting rawpalaeo-friendly site
Started by TylerDurden |
2 Replies
3,286 Views |
by TylerDurden |
|
|
8 Replies
9,409 Views |
by Suiren |
|
|
|
HIV / AIDS - It's all BS - Hoax!
Started by goodsamaritan |
14 Replies
12,379 Views |
by goodsamaritan |
|
|
10 Replies
10,092 Views |
by goodsamaritan |
|
|
|
Revenge of the Nerds
Started by TylerDurden |
2 Replies
3,687 Views |
by cherimoya_kid |
|
|
So, I just got a cat...
Started by Wolf |
21 Replies
13,394 Views |
by intrigued |
|
|
Out of Africa Myth Debunked
Started by TylerDurden |
13 Replies
13,210 Views |
by PaleoPhil |
|
|
2 Replies
4,235 Views |
by goodsamaritan |
|
|
|
Your screen name and why you chose it
Started by blackrhino « 1 2 » |
37 Replies
22,720 Views |
by Wolf |
|
|
Microwave used as weaponry
Started by raw-al |
0 Replies
2,659 Views |
by raw-al |
|
|
Are you FoWL?
Started by CitrusHigh |
2 Replies
3,197 Views |
by eveheart |
|
|
Hobbies
Started by sabertooth |
5 Replies
4,418 Views |
by Adora |
|
|
Horizontal Gene Transfer
Started by CitrusHigh |
4 Replies
4,835 Views |
by CitrusHigh |
|
|
Suicides in the military
Started by raw-al |
4 Replies
3,924 Views |
by cherimoya_kid |
|
|
0 Replies
2,611 Views |
by jessica |
|
|
|
Big Bro in your brain
Started by raw-al |
1 Replies
2,745 Views |
by cherimoya_kid |
|
|
Terrifying article
Started by TylerDurden |
18 Replies
11,097 Views |
by PaleoPhil |
|
|
5 Replies
4,434 Views |
by CitrusHigh |
|
|
|
6 Replies
5,494 Views |
by CitrusHigh |
|
|
|
Orgasmic Child Birthing Technique
Started by goodsamaritan |
5 Replies
6,161 Views |
by raw-al |
|
|
Libertarian comedians
Started by TylerDurden |
3 Replies
5,060 Views |
by bachcole |
|
|
Having a hard time finding pussy?
Started by raw-al |
1 Replies
3,113 Views |
by Ferocious |
|
|
Llamas 'better than dogs' for hunting
Started by Alive |
0 Replies
4,009 Views |
by Alive |
|
|
212 Replies
130,682 Views |
by Hanna |
|
|
|
2 Replies
5,094 Views |
by Adora |
|
|
|
1 Replies
4,171 Views |
by goodsamaritan |
|
|
|
Are you circumcised?
Started by TylerDurden « 1 2 3 » |
53 Replies
57,447 Views |
by TylerDurden |
|
|
1 Replies
3,974 Views |
by Dorothy |
|
|
|
Obama and his super-rich enemies
Started by raw-al |
2 Replies
3,316 Views |
by raw-al |
|
|
Give it to me Raw is Shutting Down
Started by PaleoPhil |
1 Replies
4,304 Views |
by Dorothy |
|
|
documentary Sicko by Michael Moore
Started by LePatron7 |
12 Replies
7,649 Views |
by raw-al |
|
|
A message from DopeDivinity
Started by jessica |
8 Replies
7,368 Views |
by goodsamaritan |
|
|
Article about a genuine tylerdurden!
Started by TylerDurden |
1 Replies
2,814 Views |
by cherimoya_kid |
|
|
CR diet extends lifespan
Started by TylerDurden |
2 Replies
2,994 Views |
by TylerDurden |
|
|
6 Replies
5,108 Views |
by HIT_it_RAW |
|
|
|
Mac troubles - need help
Started by TylerDurden |
10 Replies
6,638 Views |
by raw-al |
|
|
52 Replies
25,553 Views |
by Dorothy |
|
|
|
Cool animation inside living cell
Started by Alive |
0 Replies
3,326 Views |
by Alive |
|
|
Total proof that USA is a lapdog of Israel
Started by goodsamaritan « 1 2 3 4 » |
95 Replies
40,778 Views |
by TylerDurden |
|
|
10 Replies
8,084 Views |
by Inger |
|
|
|
Humans came from Asia, not Africa.
Started by TylerDurden « 1 2 » |
39 Replies
22,109 Views |
by HIT_it_RAW |
|
|
3 Replies
3,832 Views |
by TylerDurden |
|
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll