/* * 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 22 Guests are viewing this board. | ||||
6 Replies
3,496 Views |
April 08, 2014, 05:38:08 am by raw-al |
|||
Another reason to avoid junk food!
Started by TylerDurden |
6 Replies
3,410 Views |
April 21, 2014, 02:57:14 am by raw-al |
||
6 Replies
3,443 Views |
November 26, 2010, 05:06:30 am by wodgina |
|||
Hoodia
Started by DeadRamones |
6 Replies
4,054 Views |
September 29, 2009, 09:16:13 pm by DeadRamones |
||
6 Replies
3,859 Views |
August 05, 2014, 01:33:38 am by TylerDurden |
|||
6 Replies
3,453 Views |
February 11, 2015, 11:45:46 pm by iBlairr |
|||
6 Replies
4,823 Views |
August 16, 2013, 06:29:47 am by cherimoya_kid |
|||
6 Replies
2,974 Views |
January 27, 2021, 02:10:12 am by political atheist |
|||
Liver and glandular supplement?
Started by alycia |
6 Replies
4,660 Views |
June 21, 2011, 09:18:42 pm by Josh |
||
Is Cooked Food Poison?
Started by miles |
6 Replies
3,728 Views |
July 11, 2013, 10:52:50 am by cherimoya_kid |
||
Vodka, alcohol
Started by zbr5 |
6 Replies
5,054 Views |
July 09, 2011, 11:50:06 am by laterade |
||
Interesting observation re meat in Africa
Started by Diana |
6 Replies
3,970 Views |
December 25, 2009, 12:26:58 pm by invisible |
||
6 Replies
3,434 Views |
February 10, 2011, 05:22:40 am by kurite |
|||
Indeed, Size Matters
Started by raw-al |
6 Replies
3,355 Views |
July 24, 2011, 06:43:26 pm by raw-al |
||
what is that?
Started by Raulik |
6 Replies
3,047 Views |
July 31, 2018, 10:43:09 am by sabertooth |
||
6 Replies
4,165 Views |
May 06, 2017, 03:56:15 am by cobalamin |
|||
Wrangham on OneRadioNetwork
Started by michaelwh |
6 Replies
3,648 Views |
April 16, 2010, 12:48:33 am by TylerDurden |
||
Alien Implants Tested
Started by raw-al |
6 Replies
3,850 Views |
August 14, 2012, 09:26:55 pm by raw-al |
||
Mmmmk, this should be fun
Started by Barefoot Instincto |
6 Replies
8,115 Views |
May 19, 2013, 12:16:29 am by Barefoot Instincto |
||
6 Replies
4,029 Views |
July 31, 2014, 06:58:32 am by Projectile Vomit |
|||
Grassfed Beef Heart
Started by Permasprout |
6 Replies
8,165 Views |
February 21, 2010, 11:57:22 am by RawZi |
||
6 Replies
3,000 Views |
April 16, 2014, 03:18:29 pm by Iguana |
|||
6 Replies
3,241 Views |
October 16, 2017, 06:39:50 pm by Projectile Vomit |
|||
6 Replies
3,926 Views |
May 22, 2014, 06:13:50 am by goodsamaritan |
|||
Colonic Irrigation?
Started by Coatue |
6 Replies
6,280 Views |
August 26, 2011, 02:56:05 am by Dorothy |
||
6 Replies
3,999 Views |
September 21, 2012, 10:58:21 am by Polyvore |
|||
6 Replies
5,328 Views |
March 21, 2010, 06:50:48 am by sevenpoints |
|||
MicroRNA survives processing, digestion to become part of your organs, GMO's
Started by CitrusHigh |
6 Replies
3,760 Views |
December 15, 2013, 10:44:20 am by raw-al |
||
Playing Devil's Advocate........
Started by TylerDurden |
6 Replies
3,659 Views |
September 27, 2014, 08:43:16 am by Sally |
||
Raw plant fat confuses me...
Started by kurite |
6 Replies
3,974 Views |
January 27, 2011, 12:17:21 pm by sabertooth |
||
6 Replies
4,599 Views |
July 09, 2010, 03:11:54 pm by Josh |
|||
Marcel Dicke: Why not eat insects?
Started by Coatue |
6 Replies
5,155 Views |
January 15, 2011, 10:01:08 am by King Salmon |
||
Faecal Transplant
Started by wodgina |
6 Replies
4,745 Views |
January 21, 2011, 09:10:02 pm by raw-al |
||
Teleportation
Started by raw-al |
6 Replies
3,826 Views |
May 17, 2012, 08:07:50 pm by intrigued |
||
HOME GARDEN
Started by raw |
6 Replies
3,214 Views |
March 28, 2012, 07:35:44 am by RawZi |
||
Expensive tissue theory
Started by kurite |
6 Replies
4,695 Views |
August 14, 2010, 09:06:10 pm by raw-al |
||
Wolfe,Vitalis & Calkin Report
Started by King Salmon |
6 Replies
3,999 Views |
February 10, 2011, 11:29:23 pm by Caveman |
||
6 Replies
3,277 Views |
August 01, 2010, 11:39:18 pm by Michael |
|||
6 Replies
3,731 Views |
May 19, 2014, 06:38:40 am by sabertooth |
|||
6 Replies
3,575 Views |
March 19, 2015, 04:16:13 pm by goodsamaritan |
|||
Tapeworms, what to do
Started by Arthas_ |
6 Replies
4,817 Views |
July 31, 2010, 02:37:24 pm by kurite |
||
ZC Approach and craving
Started by achillezzz |
6 Replies
3,612 Views |
January 22, 2011, 08:37:48 am by Arthas_ |
||
6 Replies
3,836 Views |
June 09, 2010, 06:12:46 am by goodsamaritan |
|||
6 Replies
7,705 Views |
October 22, 2019, 05:45:38 am by Onlymistert |
|||
6 Replies
5,223 Views |
October 06, 2011, 03:39:47 pm by RawZi |
|||
6 Replies
4,653 Views |
August 18, 2010, 09:53:46 am by raw-al |
|||
6 Replies
3,872 Views |
April 02, 2019, 01:13:29 am by sabertooth |
|||
6 Replies
3,653 Views |
June 03, 2012, 01:35:18 pm by TylerDurden |
|||
Freedom for children at school
Started by Alive |
6 Replies
4,991 Views |
October 29, 2012, 07:27:30 pm by Alive |
||
7 Replies
5,506 Views |
August 18, 2009, 01:59:59 am by Raw Kyle |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll