/* * 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 12 Guests are viewing this board. | ||||
Low carb diet slows down the aging process
Started by carnivore |
9 Replies
4,983 Views |
September 10, 2009, 07:35:38 pm by TylerDurden |
||
15 Replies
8,265 Views |
November 30, 2011, 08:27:01 am by PaleoPhil |
|||
0 Replies
1,883 Views |
September 05, 2013, 09:14:58 pm by Aura |
|||
6 Replies
3,238 Views |
October 16, 2017, 06:39:50 pm by Projectile Vomit |
|||
3 Replies
5,526 Views |
December 30, 2008, 09:25:10 pm by avalon |
|||
Long-Time Vegetarians may Have Altered DNA
Started by raw-al |
0 Replies
1,544 Views |
June 08, 2016, 08:21:03 am by raw-al |
||
0 Replies
2,179 Views |
March 29, 2012, 05:54:51 am by aginghippie |
|||
Long Pig Article
Started by TylerDurden |
3 Replies
2,770 Views |
June 07, 2012, 07:29:47 am by TylerDurden |
||
1 Replies
2,117 Views |
February 17, 2010, 03:06:46 pm by carnivore |
|||
Liver and glandular supplement?
Started by alycia |
6 Replies
4,656 Views |
June 21, 2011, 09:18:42 pm by Josh |
||
Lithium and lifespan
Started by TylerDurden |
3 Replies
2,759 Views |
March 03, 2011, 05:08:06 am by Löwenherz |
||
0 Replies
1,568 Views |
January 18, 2017, 01:26:09 am by TylerDurden |
|||
Liquid Smoke?
Started by kurite |
4 Replies
4,878 Views |
April 12, 2010, 05:34:59 pm by Josh |
||
40 Replies
19,947 Views |
October 22, 2012, 08:02:16 am by PaleoPhil |
|||
0 Replies
1,586 Views |
April 03, 2014, 08:25:13 am by Projectile Vomit |
|||
Let us talk about more minerals
Started by raw |
21 Replies
8,876 Views |
February 05, 2013, 01:18:55 pm by Joy2012 |
||
legalization of raw dairy
Started by a87.pal |
7 Replies
4,201 Views |
June 21, 2011, 09:29:30 am by Raw Kyle |
||
26 Replies
12,635 Views |
February 29, 2012, 04:49:22 am by svrn |
|||
2 Replies
2,059 Views |
April 13, 2014, 06:31:23 am by TylerDurden |
|||
6 Replies
3,383 Views |
November 25, 2010, 10:13:00 pm by TylerDurden |
|||
2 Replies
1,942 Views |
July 29, 2016, 04:08:41 am by dariorpl |
|||
13 Replies
4,423 Views |
March 19, 2014, 11:30:40 pm by ys |
|||
Kombucha tea anyone?
Started by HIT_it_RAW |
23 Replies
12,507 Views |
April 30, 2012, 04:01:53 am by eveheart |
||
23 Replies
9,824 Views |
June 20, 2010, 02:12:13 am by Hans89 |
|||
3 Replies
2,526 Views |
August 19, 2012, 08:46:48 pm by raw-al |
|||
13 Replies
8,599 Views |
June 28, 2010, 10:28:32 am by KD |
|||
1 Replies
2,092 Views |
December 11, 2014, 10:31:41 am by goodsamaritan |
|||
2 Replies
2,417 Views |
February 13, 2010, 02:35:21 am by majormark |
|||
14 Replies
6,869 Views |
May 20, 2010, 04:13:30 pm by chucky |
|||
Just an interesting article
Started by kurite |
1 Replies
1,918 Views |
March 06, 2011, 05:23:16 pm by goodsamaritan |
||
0 Replies
1,567 Views |
August 31, 2016, 01:02:33 am by TylerDurden |
|||
Junk Food study
Started by TylerDurden |
2 Replies
2,197 Views |
April 11, 2014, 05:10:32 am by cherimoya_kid |
||
Junk food increases risk of allergies
Started by TylerDurden |
0 Replies
1,714 Views |
June 04, 2014, 05:25:38 am by TylerDurden |
||
Junk food eating contest
Started by TylerDurden |
0 Replies
1,564 Views |
May 31, 2012, 11:33:23 pm by TylerDurden |
||
4 Replies
3,354 Views |
February 26, 2010, 10:37:58 pm by goodsamaritan |
|||
Japan has highest Stomach Cancer rates
Started by vernon |
18 Replies
21,897 Views |
January 26, 2018, 12:08:26 am by tding |
||
JAMES HOLMES is schizophrenic?
Started by raw |
23 Replies
10,818 Views |
July 27, 2012, 10:49:02 am by sabertooth |
||
48 Replies
25,100 Views |
May 03, 2012, 01:19:54 pm by svrn |
|||
0 Replies
1,873 Views |
June 27, 2017, 04:06:04 am by TylerDurden |
|||
27 Replies
12,405 Views |
August 01, 2010, 03:36:06 am by raw-al |
|||
Is there anything wrong with wine?
Started by achillezzz « 1 2 » |
49 Replies
24,812 Views |
May 06, 2011, 09:26:28 am by laterade |
||
Is stopping menstruation good or bad?
Started by majormark |
13 Replies
6,928 Views |
December 30, 2011, 06:18:05 am by RawZi |
||
Is salami raw?
Started by Stancel |
15 Replies
13,172 Views |
December 20, 2010, 11:48:19 am by yon yonson |
||
18 Replies
9,204 Views |
May 05, 2011, 11:07:40 pm by cherimoya_kid |
|||
6 Replies
3,997 Views |
September 21, 2012, 10:58:21 am by Polyvore |
|||
9 Replies
6,699 Views |
September 02, 2009, 10:15:16 am by letifer |
|||
48 Replies
18,266 Views |
July 28, 2010, 08:21:07 am by PaleoPhil |
|||
2 Replies
1,929 Views |
March 22, 2014, 08:04:55 am by raw-al |
|||
150 Replies
58,106 Views |
October 28, 2010, 08:17:39 pm by raw-al |
|||
8 Replies
3,690 Views |
August 26, 2016, 10:33:57 pm by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll