/* * 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 / Started by | Replies / Views | Last post | ||
---|---|---|---|---|
0 Members and 14 Guests are viewing this board. | ||||
3 Replies
2,868 Views |
April 23, 2010, 03:23:52 pm by RawZi |
|||
2 Replies
4,306 Views |
October 15, 2012, 03:37:08 pm by TylerDurden |
|||
French "Paleocru" forum
Started by Iguana |
1 Replies
3,697 Views |
September 11, 2009, 05:11:34 pm by TylerDurden |
||
0 Replies
2,275 Views |
November 18, 2014, 07:43:54 am by goodsamaritan |
|||
Fruit And Animal Products Diet
Started by IonSurfer |
8 Replies
5,197 Views |
June 01, 2013, 06:58:43 pm by cherimoya_kid |
||
8 Replies
5,586 Views |
April 27, 2013, 03:11:26 pm by Iguana |
|||
2 Replies
2,746 Views |
July 11, 2010, 08:56:20 am by King Salmon |
|||
0 Replies
2,079 Views |
August 10, 2013, 04:41:43 am by raw-al |
|||
26 Replies
14,794 Views |
July 29, 2009, 03:30:34 pm by goodsamaritan |
|||
0 Replies
2,307 Views |
June 24, 2012, 10:37:23 pm by goodsamaritan |
|||
21 Replies
14,082 Views |
March 03, 2014, 11:03:15 am by hadzabal |
|||
Good Samaritan SOS
Started by sabertooth |
10 Replies
3,714 Views |
December 23, 2021, 11:44:33 am by kelpguy |
||
1 Replies
2,517 Views |
January 27, 2010, 01:54:58 pm by cherimoya_kid |
|||
3 Replies
4,696 Views |
August 02, 2008, 09:29:52 am by xylothrill |
|||
Government agency forces farmers to destroy their food...again
Started by CitrusHigh |
3 Replies
2,792 Views |
November 15, 2011, 08:34:40 am by billy4184 |
||
Grass Fed Beef
Started by Nicola |
13 Replies
8,026 Views |
December 08, 2008, 10:41:40 pm by Sully |
||
1 Replies
4,087 Views |
May 03, 2011, 02:45:31 am by achillezzz |
|||
5 Replies
4,920 Views |
December 04, 2010, 11:22:01 am by subfarm |
|||
GUT REBUILDING VIRTUAL CONFERENCE
Started by Aura |
0 Replies
3,026 Views |
November 06, 2013, 07:31:26 pm by Aura |
||
1 Replies
3,884 Views |
May 20, 2010, 11:49:33 pm by ForTheHunt |
|||
Happy Father's Day 2015!
Started by goodsamaritan |
0 Replies
2,582 Views |
June 22, 2015, 08:32:36 pm by goodsamaritan |
||
3 Replies
2,753 Views |
January 09, 2014, 10:44:17 pm by eveheart |
|||
Hashimoto's thyroiditis & the paleo diet
Started by Nicola |
8 Replies
26,394 Views |
November 30, 2009, 03:18:40 am by RawZi |
||
3 Replies
7,089 Views |
September 13, 2015, 10:53:05 am by cherimoya_kid |
|||
Health Advantage
Started by Nicola |
1 Replies
3,293 Views |
September 02, 2008, 10:11:38 pm by William |
||
1 Replies
6,635 Views |
September 07, 2015, 01:12:51 am by cherimoya_kid |
|||
0 Replies
4,160 Views |
May 22, 2016, 11:50:00 pm by MaximilianKohler |
|||
7 Replies
5,599 Views |
April 22, 2011, 08:16:31 am by magnetic |
|||
help raw dairy today please
Started by Steph |
2 Replies
2,672 Views |
May 19, 2010, 12:08:26 am by KD |
||
Himalayan Sole
Started by Nicola |
1 Replies
3,353 Views |
September 11, 2008, 06:39:01 am by Raw Kyle |
||
0 Replies
2,182 Views |
August 27, 2020, 06:56:54 am by goodsamaritan |
|||
HOUSE BILL 91
Started by Raw Matt18 |
1 Replies
2,863 Views |
May 21, 2015, 02:01:45 am by TylerDurden |
||
How do I post a PDF ?
Started by raw-al |
2 Replies
2,391 Views |
January 06, 2013, 10:03:42 am by raw-al |
||
10 Replies
11,078 Views |
December 31, 2017, 09:40:24 am by surfsteve |
|||
0 Replies
2,525 Views |
March 12, 2015, 12:23:30 pm by raw |
|||
8 Replies
6,357 Views |
March 16, 2011, 08:36:56 pm by PaleoPhil |
|||
Hybrid Origins of the Human Races
Started by goodsamaritan |
4 Replies
6,942 Views |
May 19, 2016, 09:51:59 am by goodsamaritan |
||
18 Replies
10,270 Views |
June 13, 2012, 10:39:44 pm by letsdoiteczema |
|||
10 Replies
5,741 Views |
October 24, 2010, 05:37:56 pm by majormark |
|||
6 Replies
5,457 Views |
June 14, 2010, 12:03:17 am by Josh |
|||
Industrial hemp
Started by sabertooth |
5 Replies
4,792 Views |
February 08, 2015, 11:44:26 pm by jessica |
||
0 Replies
2,401 Views |
August 08, 2010, 10:29:14 am by wodgina |
|||
3 Replies
2,685 Views |
February 13, 2014, 01:43:26 am by goodsamaritan |
|||
Inserting URL with the name showing
Started by raw-al |
2 Replies
2,518 Views |
January 31, 2014, 11:13:34 am by raw-al |
||
1 Replies
2,546 Views |
October 03, 2013, 04:17:58 am by Aura |
|||
7 Replies
4,844 Views |
March 18, 2009, 12:09:12 pm by Guittarman03 |
|||
50 Replies
30,333 Views |
August 26, 2011, 10:22:34 am by PaleoPhil |
|||
5 Replies
9,199 Views |
November 17, 2015, 03:00:21 am by raw |
|||
Internet Freedom: Stop SOPA
Started by zeno |
2 Replies
2,526 Views |
December 24, 2011, 05:12:53 pm by sabertooth |
||
Intuitive Running
Started by Aura |
1 Replies
2,836 Views |
October 02, 2013, 06:02:59 am by Aura |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll