/* * 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 11 Guests are viewing this board. | ||||
The Evil of Supermarkets
Started by TylerDurden |
10 Replies
5,923 Views |
January 13, 2010, 02:27:55 am by TylerDurden |
||
How to fight winter blues
Started by raw-al |
10 Replies
3,431 Views |
August 25, 2013, 08:43:37 pm by jessica |
||
Wikipedia
Started by SkinnyDevil |
10 Replies
4,459 Views |
November 15, 2010, 04:41:00 am by TylerDurden |
||
Mac troubles - need help
Started by TylerDurden |
10 Replies
4,137 Views |
June 29, 2012, 04:59:56 am by raw-al |
||
I bought a house!
Started by Raw Kyle |
10 Replies
5,094 Views |
April 30, 2009, 10:38:07 am by Raw Kyle |
||
10 Replies
5,367 Views |
April 20, 2014, 09:17:34 pm by JeuneKoq |
|||
Landmark anti-GM case
Started by TylerDurden |
10 Replies
5,308 Views |
February 14, 2014, 01:09:45 am by raw-al |
||
10 Replies
4,359 Views |
April 09, 2011, 01:00:00 am by Löwenherz |
|||
Quorum Sensing: How Bacteria Communicate
Started by CitrusHigh |
10 Replies
3,529 Views |
February 15, 2013, 02:19:26 pm by goodsamaritan |
||
Star Wars Fans!!!
Started by goodsamaritan |
10 Replies
5,645 Views |
December 30, 2008, 01:31:01 am by avalon |
||
Land of the free indeed!
Started by Brother |
10 Replies
4,177 Views |
November 17, 2010, 10:29:26 am by laterade |
||
The Energy Cost of Food
Started by Projectile Vomit |
10 Replies
3,804 Views |
August 07, 2013, 11:11:33 am by bookittyrun |
||
I can't help but notice...
Started by Projectile Vomit |
10 Replies
4,170 Views |
November 11, 2013, 12:39:36 pm by sabertooth |
||
10 Replies
7,959 Views |
December 26, 2016, 06:22:42 pm by TylerDurden |
|||
10 Replies
4,630 Views |
December 20, 2009, 10:29:40 pm by goodsamaritan |
|||
Proud of Being Human
Started by Projectile Vomit |
10 Replies
4,562 Views |
March 31, 2014, 01:14:22 am by Iguana |
||
Bee pollen, yay or nay?
Started by RawZi |
10 Replies
10,111 Views |
November 29, 2009, 10:53:14 am by van |
||
10 Replies
4,621 Views |
June 26, 2012, 12:41:37 pm by Inger |
|||
10 Replies
4,574 Views |
July 11, 2011, 04:43:40 pm by RawZi |
|||
Biophotons
Started by CitrusHigh |
10 Replies
5,096 Views |
June 08, 2011, 05:53:51 am by CitrusHigh |
||
Non-diet-approaches
Started by TylerDurden |
10 Replies
5,851 Views |
June 03, 2010, 03:17:54 pm by kurite |
||
10 Replies
3,612 Views |
December 04, 2010, 10:39:53 am by Raw Kyle |
|||
100 years of medical robbery
Started by raw-al |
10 Replies
3,969 Views |
April 14, 2012, 04:18:02 pm by goodsamaritan |
||
Amazing ability to communicate with animals
Started by Alive |
10 Replies
4,943 Views |
May 10, 2015, 06:23:28 pm by JeuneKoq |
||
Meat Is Medicine For Desertification
Started by Brother |
10 Replies
5,349 Views |
May 19, 2011, 01:05:12 pm by tdister |
||
Coming Clean
Started by stevesurv |
10 Replies
5,258 Views |
September 24, 2008, 07:42:46 am by Raw Kyle |
||
10 Replies
4,332 Views |
February 23, 2010, 12:53:28 pm by kurite |
|||
Chlorine In Water
Started by Sully |
10 Replies
4,667 Views |
September 30, 2010, 02:35:02 am by raw |
||
Study shows smoking lowers your IQ
Started by TylerDurden |
10 Replies
5,582 Views |
April 26, 2010, 04:27:53 pm by TylerDurden |
||
10 Replies
4,186 Views |
April 07, 2015, 06:15:58 am by TylerDurden |
|||
Happy Birthday Sully!
Started by Satya |
10 Replies
5,084 Views |
September 05, 2008, 09:33:28 am by goodsamaritan |
||
10 Replies
5,556 Views |
June 17, 2011, 10:12:00 pm by raw-al |
|||
10 Replies
6,114 Views |
October 03, 2008, 11:02:37 am by Satya |
|||
Nutritional Link to Violent Crimes?
Started by Squall |
10 Replies
5,735 Views |
October 18, 2008, 08:23:41 am by Python |
||
Book - Into the Wild
Started by Ioanna |
10 Replies
5,258 Views |
August 01, 2011, 05:35:18 pm by The King of Currumpaw |
||
Whats your age range?
Started by kurite |
10 Replies
4,070 Views |
August 05, 2010, 06:08:24 am by Sitting Coyote |
||
10 Replies
7,561 Views |
January 30, 2024, 05:20:12 am by TnMann |
|||
10 Replies
5,012 Views |
October 17, 2008, 08:09:55 pm by Raw Kyle |
|||
11 Replies
3,463 Views |
September 06, 2017, 11:43:57 pm by surfsteve |
|||
If you cheat, how often?
Started by LePatron7 |
11 Replies
7,277 Views |
July 04, 2016, 04:40:28 am by Brad462 |
||
Raw diet for cats
Started by Suoaei |
11 Replies
4,601 Views |
February 06, 2013, 03:44:17 pm by TylerDurden |
||
infrared treatment
Started by svrn |
11 Replies
3,715 Views |
November 13, 2011, 07:59:37 am by jessica |
||
Sunlight phenomenon
Started by TylerDurden |
11 Replies
5,378 Views |
August 24, 2011, 10:42:22 pm by raw-al |
||
Whats the consensus on Edward Snowden
Started by sabertooth |
11 Replies
4,643 Views |
January 30, 2014, 10:28:25 am by sabertooth |
||
Unwanted adaptation to milk?
Started by LePatron7 |
11 Replies
3,956 Views |
March 26, 2017, 06:44:15 am by HelpMeToHelpEwe |
||
Photos of your home or local area
Started by TylerDurden |
11 Replies
5,104 Views |
October 13, 2010, 04:26:25 pm by Hannibal |
||
High fat diet effect on cognition
Started by TylerDurden |
11 Replies
6,272 Views |
September 11, 2009, 03:14:24 am by Raw Kyle |
||
Salamanders anyone?
Started by Megan Megatoast |
11 Replies
4,865 Views |
February 07, 2010, 09:22:01 pm by PaleoPhil |
||
Dropbox Alternative
Started by wodgina |
11 Replies
4,662 Views |
May 16, 2012, 10:33:35 am by eveheart |
||
Musical instruments you play?
Started by kanotim |
11 Replies
4,244 Views |
December 25, 2010, 09:57:06 am by raw-al |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll