/* * 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 69 Guests are viewing this board. | ||||
![]() |
![]() |
1 Replies
2,041 Views |
![]() by sabertooth |
|
![]() |
![]() |
Worst Movie I Ever Seen
Started by Sully |
20 Replies
10,883 Views |
![]() by CHK91 |
![]() |
![]() |
21 Replies
12,163 Views |
![]() by invisible |
|
![]() |
![]() |
29 Replies
12,497 Views |
![]() by BakeyMan |
|
![]() |
![]() |
0 Replies
2,246 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
2,648 Views |
![]() by Iguana |
|
![]() |
![]() |
0 Replies
2,087 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
2,200 Views |
![]() by eveheart |
|
![]() |
![]() |
Yet another foolish superfood!
Started by TylerDurden |
6 Replies
3,627 Views |
![]() by sabertooth |
![]() |
![]() |
0 Replies
6,794 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,840 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
3,164 Views |
![]() by dair |
|
![]() |
![]() |
10 Replies
4,976 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
1 Replies
2,266 Views |
![]() by jessica |
|
![]() |
![]() |
0 Replies
2,037 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,913 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
1,924 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Yet another reason to buy local
Started by TylerDurden |
0 Replies
2,571 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,855 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
2,449 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Yet another reason to go rawpalaeo
Started by TylerDurden |
7 Replies
4,597 Views |
![]() by kurite |
![]() |
![]() |
Yet another unlikely article!
Started by TylerDurden |
2 Replies
2,310 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
1,844 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Yippeee!! Mini-Ice Age on the way!!!!
Started by TylerDurden |
5 Replies
3,424 Views |
![]() by nummi |
![]() |
![]() |
157 Replies
53,672 Views |
![]() by TylerDurden |
|
![]() |
![]() |
You know you're an RPDer when...
Started by boxcarguy07 « 1 2 » |
29 Replies
14,476 Views |
![]() by cherimoya_kid |
![]() |
![]() |
You should watch this.
Started by 24isours |
0 Replies
2,337 Views |
![]() by 24isours |
![]() |
![]() |
young dude
Started by kalo |
5 Replies
5,172 Views |
![]() by kalo |
![]() |
![]() |
Your Ancestry?
Started by Sully |
6 Replies
4,897 Views |
![]() by goodsamaritan |
![]() |
![]() |
Your Day???
Started by SkinnyDevil |
5 Replies
4,764 Views |
![]() by SkinnyDevil |
![]() |
![]() |
Your screen name and why you chose it
Started by blackrhino « 1 2 » |
37 Replies
18,837 Views |
![]() by Wolf |
![]() |
![]() |
26 Replies
22,373 Views |
![]() by Techydude |
|
![]() |
![]() |
Youtube rawpalaeo videos
Started by TylerDurden |
2 Replies
3,067 Views |
![]() by TylerDurden |
![]() |
![]() |
Youtube wealth video
Started by TylerDurden |
6 Replies
5,076 Views |
![]() by goodsamaritan |
![]() |
![]() |
Yuli, Hannibal, Michael, where are you?
Started by Iguana |
9 Replies
6,468 Views |
![]() by achillezzz |
![]() |
![]() |
7 Replies
6,006 Views |
![]() by SkinnyDevil |
|
![]() |
![]() |
Zephyr
Started by smokeyquartz |
0 Replies
4,118 Views |
![]() by smokeyquartz |
![]() |
![]() |
Zika epidemic
Started by TylerDurden |
0 Replies
1,761 Views |
![]() by TylerDurden |
![]() |
![]() |
Zoloft Nation = Lack of a tribe?
Started by Coatue |
3 Replies
3,352 Views |
![]() by sabertooth |
![]() |
![]() |
Zoo visit
Started by TylerDurden |
3 Replies
3,175 Views |
![]() by CitrusHigh |
![]() |
![]() |
2 Replies
3,244 Views |
![]() by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll