/* * 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 19 Guests are viewing this board. | ||||
![]() |
![]() |
3 Replies
3,259 Views |
![]() by RawZi |
|
![]() |
![]() |
2 Replies
4,921 Views |
![]() by TylerDurden |
|
![]() |
![]() |
French "Paleocru" forum
Started by Iguana |
1 Replies
4,098 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,687 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Fruit And Animal Products Diet
Started by IonSurfer |
8 Replies
6,309 Views |
![]() by cherimoya_kid |
![]() |
![]() |
8 Replies
6,831 Views |
![]() by Iguana |
|
![]() |
![]() |
2 Replies
3,226 Views |
![]() by King Salmon |
|
![]() |
![]() |
0 Replies
2,555 Views |
![]() by raw-al |
|
![]() |
![]() |
26 Replies
18,991 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,802 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
21 Replies
15,981 Views |
![]() by hadzabal |
|
![]() |
![]() |
Good Samaritan SOS
Started by sabertooth |
10 Replies
8,309 Views |
![]() by kelpguy |
![]() |
![]() |
1 Replies
2,896 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
3 Replies
6,785 Views |
![]() by xylothrill |
|
![]() |
![]() |
Government agency forces farmers to destroy their food...again
Started by CitrusHigh |
3 Replies
3,496 Views |
![]() by billy4184 |
![]() |
![]() |
Grass Fed Beef
Started by Nicola |
13 Replies
10,795 Views |
![]() by Sully |
![]() |
![]() |
1 Replies
4,576 Views |
![]() by achillezzz |
|
![]() |
![]() |
5 Replies
5,677 Views |
![]() by subfarm |
|
![]() |
![]() |
GUT REBUILDING VIRTUAL CONFERENCE
Started by Aura |
0 Replies
3,485 Views |
![]() by Aura |
![]() |
![]() |
1 Replies
4,371 Views |
![]() by ForTheHunt |
|
![]() |
![]() |
Happy Father's Day 2015!
Started by goodsamaritan |
0 Replies
2,992 Views |
![]() by goodsamaritan |
![]() |
![]() |
3 Replies
3,287 Views |
![]() by eveheart |
|
![]() |
![]() |
Hashimoto's thyroiditis & the paleo diet
Started by Nicola |
8 Replies
28,792 Views |
![]() by RawZi |
![]() |
![]() |
3 Replies
7,702 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Health Advantage
Started by Nicola |
1 Replies
5,223 Views |
![]() by William |
![]() |
![]() |
1 Replies
7,192 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
0 Replies
5,805 Views |
![]() by MaximilianKohler |
|
![]() |
![]() |
7 Replies
6,332 Views |
![]() by magnetic |
|
![]() |
![]() |
help raw dairy today please
Started by Steph |
2 Replies
3,021 Views |
![]() by KD |
![]() |
![]() |
Himalayan Sole
Started by Nicola |
1 Replies
5,228 Views |
![]() by Raw Kyle |
![]() |
![]() |
0 Replies
3,688 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
HOUSE BILL 91
Started by Raw Matt18 |
1 Replies
3,329 Views |
![]() by TylerDurden |
![]() |
![]() |
How do I post a PDF ?
Started by raw-al |
2 Replies
2,865 Views |
![]() by raw-al |
![]() |
![]() |
10 Replies
16,215 Views |
![]() by surfsteve |
|
![]() |
![]() |
0 Replies
3,025 Views |
![]() by raw |
|
![]() |
![]() |
8 Replies
7,253 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Hybrid Origins of the Human Races
Started by goodsamaritan |
4 Replies
8,938 Views |
![]() by goodsamaritan |
![]() |
![]() |
18 Replies
11,491 Views |
![]() by letsdoiteczema |
|
![]() |
![]() |
10 Replies
6,639 Views |
![]() by majormark |
|
![]() |
![]() |
6 Replies
5,942 Views |
![]() by Josh |
|
![]() |
![]() |
Industrial hemp
Started by sabertooth |
5 Replies
5,476 Views |
![]() by jessica |
![]() |
![]() |
0 Replies
2,895 Views |
![]() by wodgina |
|
![]() |
![]() |
3 Replies
3,312 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Inserting URL with the name showing
Started by raw-al |
2 Replies
3,053 Views |
![]() by raw-al |
![]() |
![]() |
1 Replies
3,107 Views |
![]() by Aura |
|
![]() |
![]() |
7 Replies
6,855 Views |
![]() by Guittarman03 |
|
![]() |
![]() |
50 Replies
37,274 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
5 Replies
10,164 Views |
![]() by raw |
|
![]() |
![]() |
Internet Freedom: Stop SOPA
Started by zeno |
2 Replies
3,093 Views |
![]() by sabertooth |
![]() |
![]() |
Intuitive Running
Started by Aura |
1 Replies
3,378 Views |
![]() by Aura |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll