/* * 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 21 Guests are viewing this board. | ||||
![]() |
![]() |
3 Replies
3,250 Views |
![]() by RawZi |
|
![]() |
![]() |
2 Replies
4,912 Views |
![]() by TylerDurden |
|
![]() |
![]() |
French "Paleocru" forum
Started by Iguana |
1 Replies
4,093 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
2,676 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Fruit And Animal Products Diet
Started by IonSurfer |
8 Replies
6,269 Views |
![]() by cherimoya_kid |
![]() |
![]() |
8 Replies
6,796 Views |
![]() by Iguana |
|
![]() |
![]() |
2 Replies
3,219 Views |
![]() by King Salmon |
|
![]() |
![]() |
0 Replies
2,544 Views |
![]() by raw-al |
|
![]() |
![]() |
26 Replies
18,945 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
0 Replies
2,797 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
21 Replies
15,958 Views |
![]() by hadzabal |
|
![]() |
![]() |
Good Samaritan SOS
Started by sabertooth |
10 Replies
8,281 Views |
![]() by kelpguy |
![]() |
![]() |
1 Replies
2,887 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
3 Replies
6,774 Views |
![]() by xylothrill |
|
![]() |
![]() |
Government agency forces farmers to destroy their food...again
Started by CitrusHigh |
3 Replies
3,487 Views |
![]() by billy4184 |
![]() |
![]() |
Grass Fed Beef
Started by Nicola |
13 Replies
10,778 Views |
![]() by Sully |
![]() |
![]() |
1 Replies
4,571 Views |
![]() by achillezzz |
|
![]() |
![]() |
5 Replies
5,668 Views |
![]() by subfarm |
|
![]() |
![]() |
GUT REBUILDING VIRTUAL CONFERENCE
Started by Aura |
0 Replies
3,476 Views |
![]() by Aura |
![]() |
![]() |
1 Replies
4,361 Views |
![]() by ForTheHunt |
|
![]() |
![]() |
Happy Father's Day 2015!
Started by goodsamaritan |
0 Replies
2,984 Views |
![]() by goodsamaritan |
![]() |
![]() |
3 Replies
3,279 Views |
![]() by eveheart |
|
![]() |
![]() |
Hashimoto's thyroiditis & the paleo diet
Started by Nicola |
8 Replies
28,767 Views |
![]() by RawZi |
![]() |
![]() |
3 Replies
7,692 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Health Advantage
Started by Nicola |
1 Replies
5,209 Views |
![]() by William |
![]() |
![]() |
1 Replies
7,181 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
0 Replies
5,796 Views |
![]() by MaximilianKohler |
|
![]() |
![]() |
7 Replies
6,326 Views |
![]() by magnetic |
|
![]() |
![]() |
help raw dairy today please
Started by Steph |
2 Replies
3,011 Views |
![]() by KD |
![]() |
![]() |
Himalayan Sole
Started by Nicola |
1 Replies
5,218 Views |
![]() by Raw Kyle |
![]() |
![]() |
0 Replies
3,679 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
HOUSE BILL 91
Started by Raw Matt18 |
1 Replies
3,317 Views |
![]() by TylerDurden |
![]() |
![]() |
How do I post a PDF ?
Started by raw-al |
2 Replies
2,856 Views |
![]() by raw-al |
![]() |
![]() |
10 Replies
16,191 Views |
![]() by surfsteve |
|
![]() |
![]() |
0 Replies
3,013 Views |
![]() by raw |
|
![]() |
![]() |
8 Replies
7,247 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Hybrid Origins of the Human Races
Started by goodsamaritan |
4 Replies
8,921 Views |
![]() by goodsamaritan |
![]() |
![]() |
18 Replies
11,473 Views |
![]() by letsdoiteczema |
|
![]() |
![]() |
10 Replies
6,630 Views |
![]() by majormark |
|
![]() |
![]() |
6 Replies
5,927 Views |
![]() by Josh |
|
![]() |
![]() |
Industrial hemp
Started by sabertooth |
5 Replies
5,464 Views |
![]() by jessica |
![]() |
![]() |
0 Replies
2,884 Views |
![]() by wodgina |
|
![]() |
![]() |
3 Replies
3,301 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Inserting URL with the name showing
Started by raw-al |
2 Replies
3,044 Views |
![]() by raw-al |
![]() |
![]() |
1 Replies
3,093 Views |
![]() by Aura |
|
![]() |
![]() |
7 Replies
6,841 Views |
![]() by Guittarman03 |
|
![]() |
![]() |
50 Replies
37,209 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
5 Replies
10,149 Views |
![]() by raw |
|
![]() |
![]() |
Internet Freedom: Stop SOPA
Started by zeno |
2 Replies
3,084 Views |
![]() by sabertooth |
![]() |
![]() |
Intuitive Running
Started by Aura |
1 Replies
3,366 Views |
![]() by Aura |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll