/* * 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 ![]() |
Replies / Views | Last post | ||
---|---|---|---|---|
0 Members and 63 Guests are viewing this board. | ||||
![]() |
![]() |
4 Replies
4,506 Views |
![]() by TylerDurden |
|
![]() |
![]() |
9 Replies
6,777 Views |
![]() by van |
|
![]() |
![]() |
0 Replies
2,221 Views |
![]() by TylerDurden |
|
![]() |
![]() |
23 Replies
16,939 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
2 Replies
2,607 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Mouth WATERING
Started by RogueFarmer |
0 Replies
2,580 Views |
![]() by RogueFarmer |
![]() |
![]() |
Move to improve sushi in the UK
Started by TylerDurden |
0 Replies
2,069 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,449 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
MOVED: Earth's shape?
Started by goodsamaritan |
0 Replies
3,151 Views |
![]() by goodsamaritan |
![]() |
![]() |
MOVED: Repent!
Started by goodsamaritan |
0 Replies
2,546 Views |
![]() by goodsamaritan |
![]() |
![]() |
MOVED: ReWild Yourself! Magazine
Started by goodsamaritan |
0 Replies
2,308 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
3,075 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,552 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
MOVED: Women and Men
Started by TylerDurden |
0 Replies
2,256 Views |
![]() by TylerDurden |
![]() |
![]() |
MOVED: young dude
Started by goodsamaritan |
0 Replies
2,495 Views |
![]() by goodsamaritan |
![]() |
![]() |
Mr. Universe turns 100
Started by storm |
1 Replies
2,225 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Mrs Thatcher's Diet
Started by TylerDurden |
8 Replies
5,279 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
2,760 Views |
![]() by RogueFarmer |
|
![]() |
![]() |
Mutant Worms, Antioxidants and Aging
Started by raw-al |
0 Replies
2,130 Views |
![]() by raw-al |
![]() |
![]() |
1 Replies
3,669 Views |
![]() by TylerDurden |
|
![]() |
![]() |
My Cheat Weekend!
Started by surfsteve |
2 Replies
2,937 Views |
![]() by PaganGoy |
![]() |
![]() |
14 Replies
12,385 Views |
![]() by Dorothy |
|
![]() |
![]() |
My first liver
Started by Aliayzar |
11 Replies
7,489 Views |
![]() by Aliayzar |
![]() |
![]() |
32 Replies
18,086 Views |
![]() by RawZi |
|
![]() |
![]() |
My updated more awesome current diet
Started by IonSurfer |
8 Replies
13,689 Views |
![]() by Onlymistert |
![]() |
![]() |
13 Replies
8,871 Views |
![]() by pioneer |
|
![]() |
![]() |
mysterious raw egg death
Started by svrn |
7 Replies
9,113 Views |
![]() by Iguana |
![]() |
![]() |
Nanoparticles
Started by raw-al |
0 Replies
2,531 Views |
![]() by raw-al |
![]() |
![]() |
11 Replies
6,389 Views |
![]() by svrn |
|
![]() |
![]() |
Natsinagfa thread
Started by smokeyquartz |
1 Replies
3,849 Views |
![]() by tonyvee |
![]() |
![]() |
natural tobacco
Started by svrn |
11 Replies
7,712 Views |
![]() by PaleoPhil |
![]() |
![]() |
2 Replies
2,965 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
8 Replies
7,086 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Need advice on raising happy children
Started by zbr5 |
4 Replies
3,184 Views |
![]() by goodsamaritan |
![]() |
![]() |
23 Replies
14,237 Views |
![]() by TylerDurden |
|
![]() |
![]() |
New article on animal slaughter
Started by TylerDurden |
0 Replies
2,684 Views |
![]() by TylerDurden |
![]() |
![]() |
New chicken farm design a la 'The Matrix'
Started by CitrusHigh |
1 Replies
2,715 Views |
![]() by cherimoya_kid |
![]() |
![]() |
New Cordain Newsletter
Started by TylerDurden |
1 Replies
3,202 Views |
![]() by van |
![]() |
![]() |
110 Replies
51,931 Views |
![]() by wodgina |
|
![]() |
![]() |
New diets for cows, sheep could cut emissions
Started by ys |
1 Replies
3,211 Views |
![]() by kurite |
![]() |
![]() |
0 Replies
4,163 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
New fad DNA diet
Started by TylerDurden |
1 Replies
2,592 Views |
![]() by Drengr |
![]() |
![]() |
0 Replies
2,126 Views |
![]() by raw-al |
|
![]() |
![]() |
16 Replies
9,201 Views |
![]() by dariorpl |
|
![]() |
![]() |
24 Replies
12,962 Views |
![]() by sabertooth |
|
![]() |
![]() |
0 Replies
2,071 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
3,212 Views |
![]() by eveheart |
|
![]() |
![]() |
new updates
Started by svrn |
1 Replies
2,598 Views |
![]() by svrn |
![]() |
![]() |
2 Replies
2,974 Views |
![]() by raw-al |
|
![]() |
![]() |
46 Replies
21,287 Views |
![]() by raw-al |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll