/* * 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 141 Guests are viewing this board. | ||||
![]() |
![]() |
1 Replies
2,032 Views |
![]() by sabertooth |
|
![]() |
![]() |
Worst Movie I Ever Seen
Started by Sully |
20 Replies
10,821 Views |
![]() by CHK91 |
![]() |
![]() |
21 Replies
12,085 Views |
![]() by invisible |
|
![]() |
![]() |
29 Replies
12,431 Views |
![]() by BakeyMan |
|
![]() |
![]() |
0 Replies
2,235 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
2,633 Views |
![]() by Iguana |
|
![]() |
![]() |
0 Replies
2,077 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,186 Views |
![]() by eveheart |
|
![]() |
![]() |
Yet another foolish superfood!
Started by TylerDurden |
6 Replies
3,596 Views |
![]() by sabertooth |
![]() |
![]() |
0 Replies
6,775 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,834 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
3,150 Views |
![]() by dair |
|
![]() |
![]() |
10 Replies
4,945 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
1 Replies
2,252 Views |
![]() by jessica |
|
![]() |
![]() |
0 Replies
2,027 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,899 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,913 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Yet another reason to buy local
Started by TylerDurden |
0 Replies
2,558 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,843 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,441 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Yet another reason to go rawpalaeo
Started by TylerDurden |
7 Replies
4,578 Views |
![]() by kurite |
![]() |
![]() |
Yet another unlikely article!
Started by TylerDurden |
2 Replies
2,302 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,831 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Yippeee!! Mini-Ice Age on the way!!!!
Started by TylerDurden |
5 Replies
3,408 Views |
![]() by nummi |
![]() |
![]() |
157 Replies
53,392 Views |
![]() by TylerDurden |
|
![]() |
![]() |
You know you're an RPDer when...
Started by boxcarguy07 « 1 2 » |
29 Replies
14,425 Views |
![]() by cherimoya_kid |
![]() |
![]() |
You should watch this.
Started by 24isours |
0 Replies
2,326 Views |
![]() by 24isours |
![]() |
![]() |
young dude
Started by kalo |
5 Replies
5,148 Views |
![]() by kalo |
![]() |
![]() |
Your Ancestry?
Started by Sully |
6 Replies
4,877 Views |
![]() by goodsamaritan |
![]() |
![]() |
Your Day???
Started by SkinnyDevil |
5 Replies
4,747 Views |
![]() by SkinnyDevil |
![]() |
![]() |
Your screen name and why you chose it
Started by blackrhino « 1 2 » |
37 Replies
18,742 Views |
![]() by Wolf |
![]() |
![]() |
26 Replies
22,273 Views |
![]() by Techydude |
|
![]() |
![]() |
Youtube rawpalaeo videos
Started by TylerDurden |
2 Replies
3,049 Views |
![]() by TylerDurden |
![]() |
![]() |
Youtube wealth video
Started by TylerDurden |
6 Replies
5,054 Views |
![]() by goodsamaritan |
![]() |
![]() |
Yuli, Hannibal, Michael, where are you?
Started by Iguana |
9 Replies
6,433 Views |
![]() by achillezzz |
![]() |
![]() |
7 Replies
5,990 Views |
![]() by SkinnyDevil |
|
![]() |
![]() |
Zephyr
Started by smokeyquartz |
0 Replies
4,095 Views |
![]() by smokeyquartz |
![]() |
![]() |
Zika epidemic
Started by TylerDurden |
0 Replies
1,749 Views |
![]() by TylerDurden |
![]() |
![]() |
Zoloft Nation = Lack of a tribe?
Started by Coatue |
3 Replies
3,322 Views |
![]() by sabertooth |
![]() |
![]() |
Zoo visit
Started by TylerDurden |
3 Replies
3,168 Views |
![]() by CitrusHigh |
![]() |
![]() |
2 Replies
3,236 Views |
![]() by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll