/* * 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 28 Guests are viewing this board. | ||||
6 Replies
3,650 Views |
December 31, 2010, 05:00:26 am by miles |
|||
6 Replies
3,350 Views |
April 20, 2012, 09:11:59 am by Wattlebird |
|||
Urine therapy nonsense
Started by TylerDurden |
6 Replies
4,162 Views |
July 13, 2014, 11:50:59 am by mhikl |
||
Real Life Tarzan
Started by TylerDurden |
6 Replies
2,699 Views |
September 15, 2015, 08:21:05 am by goodsamaritan |
||
Are we getting more stupid?
Started by TylerDurden |
6 Replies
2,505 Views |
November 14, 2012, 12:34:43 pm by cherimoya_kid |
||
Hurry to make your travel plans for 211212
Started by raw-al |
6 Replies
2,401 Views |
December 22, 2012, 03:31:57 pm by Brad462 |
||
The Work Crowd
Started by Ioanna |
6 Replies
3,328 Views |
January 19, 2010, 09:18:48 pm by jessica |
||
reality check
Started by svrn |
6 Replies
2,260 Views |
December 31, 2012, 08:25:54 am by svrn |
||
6 Replies
3,599 Views |
August 01, 2012, 03:01:16 am by CitrusHigh |
|||
What's happening?
Started by Josh |
6 Replies
3,516 Views |
January 17, 2010, 06:45:03 am by Josh |
||
About nail clippers...
Started by laterade |
7 Replies
4,576 Views |
July 20, 2011, 09:12:04 am by raw-al |
||
Even fruit flies prefer meat?
Started by PaleoPhil |
7 Replies
6,628 Views |
August 25, 2009, 10:47:14 am by Raw Kyle |
||
7 Replies
3,370 Views |
November 17, 2010, 11:13:00 pm by RawZi |
|||
7 Replies
4,086 Views |
June 03, 2009, 09:58:41 am by MaverickHunter40245 |
|||
Being a tyrant on my birthday =D
Started by Dwight |
7 Replies
3,426 Views |
February 27, 2010, 12:05:27 am by Dwight |
||
7 Replies
3,817 Views |
June 02, 2012, 05:54:00 am by Dorothy |
|||
Where did KD go?
Started by RogueFarmer |
7 Replies
2,956 Views |
March 04, 2013, 11:27:30 am by cherimoya_kid |
||
Air-pollution in China
Started by TylerDurden |
7 Replies
3,439 Views |
August 22, 2015, 06:46:42 am by TylerDurden |
||
7 Replies
4,345 Views |
February 23, 2010, 11:53:55 pm by SkinnyDevil |
|||
Snowing in the UK
Started by TylerDurden |
7 Replies
4,393 Views |
February 03, 2009, 07:01:21 pm by TylerDurden |
||
Cold training in 2014
Started by Projectile Vomit |
7 Replies
4,326 Views |
April 19, 2014, 03:13:35 pm by RogueFarmer |
||
Covert celebrities among us?
Started by goodsamaritan |
7 Replies
4,425 Views |
December 15, 2009, 09:50:35 pm by SkinnyDevil |
||
7 Replies
3,787 Views |
January 16, 2011, 01:47:52 pm by laterade |
|||
7 Replies
3,986 Views |
February 03, 2019, 07:51:07 pm by dariorpl |
|||
7 Replies
3,412 Views |
November 12, 2010, 04:26:55 am by the PresiDenT |
|||
Infrared experimentation/biohacking
Started by TylerDurden |
7 Replies
8,349 Views |
July 24, 2018, 12:01:40 pm by van |
||
More non-dietary approaches
Started by TylerDurden |
7 Replies
3,458 Views |
November 04, 2016, 02:37:25 am by TylerDurden |
||
Mammoths could be reborn in 4 years
Started by TylerDurden |
7 Replies
3,244 Views |
January 14, 2011, 01:25:04 pm by kurite |
||
7 Replies
4,084 Views |
November 12, 2009, 10:15:05 pm by SkinnyDevil |
|||
7 Replies
3,993 Views |
July 11, 2011, 04:57:14 pm by RawZi |
|||
Sugar in honey..
Started by laterade |
7 Replies
4,633 Views |
April 01, 2011, 12:06:52 am by raw-al |
||
7 Replies
7,895 Views |
July 29, 2018, 07:33:27 am by Projectile Vomit |
|||
What's your blood type?
Started by goodsamaritan |
7 Replies
3,998 Views |
May 15, 2009, 09:03:14 am by Guittarman03 |
||
A new kit for raising insects to eat
Started by TylerDurden |
7 Replies
2,717 Views |
February 13, 2018, 02:18:20 am by dair |
||
7 Replies
3,982 Views |
January 29, 2010, 01:56:52 am by William |
|||
7 Replies
3,998 Views |
February 25, 2012, 11:28:33 pm by raw-al |
|||
Aluminium in Processed foods etc.
Started by TylerDurden |
7 Replies
3,847 Views |
March 09, 2012, 11:41:03 am by raw-al |
||
7 Replies
3,133 Views |
May 27, 2011, 03:13:36 pm by Löwenherz |
|||
7 Replies
4,552 Views |
May 15, 2011, 11:41:12 am by raw-al |
|||
Other articles on Ron Paul's website
Started by TylerDurden |
7 Replies
2,301 Views |
July 21, 2014, 04:29:43 pm by goodsamaritan |
||
The boy who lived before
Started by JeuneKoq |
7 Replies
3,633 Views |
March 02, 2015, 08:02:31 am by cherimoya_kid |
||
Where are you from?
Started by TylerDurden |
7 Replies
4,178 Views |
August 20, 2008, 09:57:09 pm by goodsamaritan |
||
My compositions
Started by boxcarguy07 |
7 Replies
4,988 Views |
January 02, 2009, 11:41:30 am by seesawsemiology |
||
Phone Calls (fear off)
Started by wodgina |
7 Replies
3,726 Views |
March 15, 2012, 05:13:59 am by Löwenherz |
||
The most beautiful places on Earth!!
Started by TylerDurden |
7 Replies
6,754 Views |
August 12, 2008, 06:19:13 am by boxcarguy07 |
||
7 Replies
5,571 Views |
March 10, 2011, 12:24:42 am by achillezzz |
|||
Dreams about health matters
Started by pc701 |
7 Replies
4,030 Views |
November 02, 2010, 02:07:43 pm by yuli |
||
Night shifts
Started by achillezzz |
7 Replies
3,511 Views |
February 23, 2012, 04:16:59 am by cherimoya_kid |
||
7 Replies
4,771 Views |
March 28, 2015, 06:04:54 am by goodsamaritan |
|||
Offbeat/Satiric music
Started by TylerDurden |
7 Replies
4,051 Views |
July 27, 2008, 11:40:58 am by xylothrill |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll