/* * 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 63 Guests are viewing this board. | ||||
1 Replies
1,772 Views |
December 15, 2016, 08:40:11 am by letsdoiteczema |
|||
5 Replies
3,559 Views |
February 05, 2010, 11:30:56 pm by William |
|||
wooden cutting board concern
Started by Arthas_ |
2 Replies
2,723 Views |
April 20, 2010, 04:20:14 am by William |
||
4 Replies
3,389 Views |
December 26, 2010, 08:54:53 am by Snowflower |
|||
World's vertebrate biomass
Started by Iguana |
20 Replies
12,403 Views |
January 12, 2016, 02:27:14 am by TylerDurden |
||
62 Replies
57,111 Views |
January 14, 2018, 04:23:55 pm by political atheist |
|||
10 Replies
4,825 Views |
February 10, 2012, 09:50:59 am by superja |
|||
Wow! Success!
Started by WeaselWoman |
6 Replies
3,478 Views |
February 01, 2015, 03:04:39 am by WeaselWoman |
||
Wrangham = Wrongham
Started by PaleoPhil |
2 Replies
1,900 Views |
April 01, 2012, 06:45:07 am by PaleoPhil |
||
WTF Topic disappeared?
Started by miles |
2 Replies
2,011 Views |
February 26, 2011, 03:07:19 am by miles |
||
1 Replies
2,430 Views |
February 06, 2009, 06:04:47 am by RawZi |
|||
Yahoo answers
Started by TylerDurden |
3 Replies
3,511 Views |
October 13, 2008, 06:28:19 am by TylerDurden |
||
yellow fat
Started by svrn |
4 Replies
2,459 Views |
January 08, 2012, 02:47:06 am by van |
||
Yet another raw-meat-survival story
Started by TylerDurden |
0 Replies
1,371 Views |
April 01, 2016, 11:04:06 pm by TylerDurden |
||
0 Replies
2,110 Views |
December 10, 2009, 07:00:28 pm by TylerDurden |
|||
Yolk color
Started by bharminder |
18 Replies
12,341 Views |
April 09, 2015, 05:28:30 am by dariorpl |
||
8 Replies
5,538 Views |
June 27, 2011, 07:32:21 pm by SkinnyDevil |
|||
23 Replies
11,574 Views |
May 04, 2014, 08:53:59 am by NinjaNight |
|||
Young children and meat
Started by Metallica |
11 Replies
7,773 Views |
June 06, 2008, 02:58:59 pm by xylothrill |
||
2 Replies
1,705 Views |
December 25, 2019, 03:56:32 pm by kelpguy |
|||
Your favorite beef cut
Started by CHK91 |
17 Replies
7,125 Views |
March 26, 2011, 08:58:15 pm by klowcarb |
||
Your favorite vegetables and why?
Started by goodsamaritan |
5 Replies
2,828 Views |
September 20, 2010, 04:22:41 pm by needs_and_wants |
||
Your mangoes might not be raw
Started by LePatron7 |
3 Replies
1,983 Views |
June 28, 2013, 07:38:58 am by goodsamaritan |
||
11 Replies
6,353 Views |
December 30, 2009, 02:35:15 pm by carnivore |
|||
7 Replies
8,486 Views |
September 04, 2010, 01:54:14 pm by bharminder |
|||
5 Replies
5,536 Views |
October 22, 2019, 06:05:30 am by Dingeman |
|||
Your sleep.
Started by achillezzz |
2 Replies
2,190 Views |
January 15, 2011, 08:33:36 am by Ioanna |
||
your strongest health side
Started by Raulik |
7 Replies
3,089 Views |
October 05, 2019, 09:34:15 am by jibrael |
||
53 Replies
16,338 Views |
July 09, 2013, 08:27:01 am by LePatron7 |
|||
Your way of eating raw animal fat/organ/muscle?
Started by JaX |
9 Replies
8,997 Views |
November 24, 2008, 08:25:50 am by boxcarguy07 |
||
Youtube videos please!!!
Started by TylerDurden « 1 2 3 » |
55 Replies
24,270 Views |
October 10, 2010, 08:06:42 am by yon yonson |
||
5 Replies
3,094 Views |
August 30, 2018, 07:09:13 am by jibrael |
|||
ZOMBIE BOY?
Started by FRANCIS HOWARD BOND |
0 Replies
1,892 Views |
October 08, 2016, 05:21:11 am by FRANCIS HOWARD BOND |
||
12 Replies
7,480 Views |
February 01, 2009, 04:00:47 am by Nicola |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll