/* * 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 13 Guests are viewing this board. | ||||
Moderation
Started by dbarth |
13 Replies
7,175 Views |
February 23, 2011, 01:50:42 pm by Wolf |
||
Matt Stone Catecholamine Link
Started by TylerDurden |
13 Replies
7,800 Views |
January 01, 2011, 05:45:46 am by PaleoPhil |
||
Is stopping menstruation good or bad?
Started by majormark |
13 Replies
6,930 Views |
December 30, 2011, 06:18:05 am by RawZi |
||
Freelee update
Started by TylerDurden |
13 Replies
5,321 Views |
March 31, 2016, 09:15:15 am by cherimoya_kid |
||
13 Replies
8,600 Views |
June 28, 2010, 10:28:32 am by KD |
|||
13 Replies
7,218 Views |
July 10, 2010, 11:43:50 am by pioneer |
|||
14 Replies
6,869 Views |
May 20, 2010, 04:13:30 pm by chucky |
|||
14 Replies
6,845 Views |
November 17, 2013, 05:01:03 am by paper_clips43 |
|||
Lunch Snake style
Started by raw-al |
14 Replies
6,865 Views |
April 24, 2011, 02:52:01 am by wodgina |
||
Vegetable sprouts
Started by Barefoot Instincto |
14 Replies
6,099 Views |
January 08, 2013, 02:20:37 pm by van |
||
Plastics component affects intestine
Started by Nicola |
14 Replies
6,590 Views |
December 23, 2009, 04:51:17 am by Raw Kyle |
||
14 Replies
9,691 Views |
July 19, 2012, 07:43:52 am by Dorothy |
|||
14 Replies
8,710 Views |
March 05, 2012, 11:11:41 pm by TylerDurden |
|||
the best option at buffet places?
Started by Joy2012 |
14 Replies
6,167 Views |
February 08, 2012, 01:52:07 pm by Joy2012 |
||
14 Replies
11,656 Views |
July 19, 2012, 08:51:37 pm by TylerDurden |
|||
ferment sweet potato
Started by MaximilianKohler |
14 Replies
11,400 Views |
March 08, 2011, 10:38:53 am by magnetic |
||
Undigested meat?
Started by Wolf |
14 Replies
11,363 Views |
November 04, 2010, 12:27:39 am by Wolf |
||
We are somethingawfuls link of the day
Started by High-king |
14 Replies
6,223 Views |
February 25, 2010, 12:57:52 pm by High-king |
||
Why Can't We Be Friends?
Started by rawlion |
14 Replies
7,626 Views |
August 05, 2010, 08:51:56 pm by raw-al |
||
14 Replies
6,347 Views |
October 02, 2011, 03:04:25 am by PaleoPhil |
|||
Baby Spinach
Started by Techydude |
14 Replies
8,210 Views |
March 17, 2011, 03:30:14 am by proteus |
||
Getting Rid of Bad Bacteria?
Started by badboy9311 |
15 Replies
8,669 Views |
January 25, 2013, 08:19:43 am by LePatron7 |
||
Pancreas supplement
Started by Josh |
15 Replies
8,392 Views |
April 20, 2011, 04:53:48 am by bharminder |
||
15 Replies
9,515 Views |
August 01, 2009, 09:49:13 am by PaleoPhil |
|||
Canabilism..?
Started by intouchwithinstinct |
15 Replies
8,708 Views |
March 30, 2010, 03:59:01 am by William |
||
Cassia VS Ceylon cinnamon
Started by surfsteve |
15 Replies
6,197 Views |
October 13, 2017, 02:12:50 pm by cobalamin |
||
to the dairy haters
Started by ster546464@yahoo.co.uk |
15 Replies
7,189 Views |
October 14, 2010, 03:12:54 am by ster546464@yahoo.co.uk |
||
15 Replies
9,645 Views |
August 30, 2015, 04:34:02 am by TylerDurden |
|||
15 Replies
7,886 Views |
January 24, 2013, 03:40:14 am by sabertooth |
|||
15 Replies
7,692 Views |
April 08, 2015, 11:01:45 am by cherimoya_kid |
|||
15 Replies
11,977 Views |
April 02, 2020, 10:52:08 am by goodsamaritan |
|||
Is salami raw?
Started by Stancel |
15 Replies
13,209 Views |
December 20, 2010, 11:48:19 am by yon yonson |
||
Almond butter
Started by Michelle |
15 Replies
9,985 Views |
June 01, 2013, 03:58:01 pm by tests |
||
Inside the halal house of horrors
Started by TylerDurden |
15 Replies
7,512 Views |
February 07, 2015, 11:48:39 am by sabertooth |
||
Insect-eater article
Started by TylerDurden |
15 Replies
7,441 Views |
March 10, 2014, 11:40:21 am by cherimoya_kid |
||
Vegetable juice question
Started by CHK91 |
15 Replies
8,493 Views |
January 08, 2011, 09:15:51 am by bharminder |
||
When Did Cooking Start?
Started by PaleoPhil |
15 Replies
8,273 Views |
July 23, 2010, 03:18:47 pm by Dwight |
||
15 Replies
7,128 Views |
August 07, 2012, 01:31:34 am by cherimoya_kid |
|||
Glucomannan noodles?
Started by yuli |
15 Replies
12,530 Views |
November 15, 2010, 11:24:27 am by TylerDurden |
||
Nothin but butter
Started by Coatue |
15 Replies
6,937 Views |
January 11, 2011, 10:27:42 pm by Nation |
||
15 Replies
5,989 Views |
April 10, 2017, 12:46:21 am by raw-al |
|||
bob becks blood purifier.
Started by pioneer |
15 Replies
8,842 Views |
August 25, 2010, 12:29:48 pm by pioneer |
||
15 Replies
8,268 Views |
November 30, 2011, 08:27:01 am by PaleoPhil |
|||
Goji Berries
Started by Duke |
15 Replies
8,378 Views |
March 04, 2012, 01:38:11 am by raw-al |
||
15 Replies
8,177 Views |
March 31, 2012, 09:38:52 am by van |
|||
16 Replies
9,562 Views |
July 02, 2014, 06:15:54 am by nummi |
|||
Eating cooked food akin to smoking??
Started by technosmith |
16 Replies
6,911 Views |
July 26, 2011, 03:20:10 am by cherimoya_kid |
||
To thrust or To Throw
Started by Sully |
16 Replies
10,036 Views |
October 14, 2010, 02:59:15 pm by Sully |
||
who's "the bear"
Started by JaX |
16 Replies
8,827 Views |
February 11, 2010, 02:49:03 pm by carnivore |
||
16 Replies
19,502 Views |
March 30, 2010, 09:09:41 am by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll