/* * 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 51 Guests are viewing this board. | ||||
meat production and environment!
Started by razmatazz |
5 Replies
3,450 Views |
November 07, 2009, 05:33:33 pm by TylerDurden |
||
Kung Fu Hustle
Started by avalon |
5 Replies
3,708 Views |
September 04, 2008, 09:02:07 pm by avalon |
||
5 Replies
3,974 Views |
October 18, 2014, 04:40:43 pm by nummi |
|||
Yippeee!! Mini-Ice Age on the way!!!!
Started by TylerDurden |
5 Replies
2,534 Views |
January 20, 2014, 04:41:58 am by nummi |
||
Who here believes this?
Started by HIT_it_RAW |
5 Replies
2,685 Views |
June 10, 2012, 06:20:39 am by HIT_it_RAW |
||
Washing dishes - is soap needed?
Started by mango |
5 Replies
2,417 Views |
February 05, 2014, 12:16:04 pm by jessica |
||
A Good laugh
Started by Sully |
5 Replies
3,327 Views |
October 19, 2010, 02:54:50 am by Sully |
||
5 Replies
3,285 Views |
January 10, 2010, 10:54:08 am by klowcarb |
|||
5 Replies
2,800 Views |
June 10, 2014, 10:22:46 am by goodsamaritan |
|||
5 Replies
2,831 Views |
October 18, 2010, 11:51:32 am by raw |
|||
War on Health
Started by Projectile Vomit |
5 Replies
2,875 Views |
November 30, 2013, 11:51:56 pm by LePatron7 |
||
BEWARE! SCAM MAIL!
Started by xylothrill |
5 Replies
3,655 Views |
September 05, 2008, 01:20:02 am by TylerDurden |
||
5 Replies
2,946 Views |
December 15, 2009, 05:37:04 pm by majormark |
|||
Eating-patterns
Started by TylerDurden |
5 Replies
2,423 Views |
November 21, 2010, 06:23:09 am by sabertooth |
||
Goal setting and achievement
Started by Max |
5 Replies
3,082 Views |
September 07, 2011, 09:04:16 pm by SkinnyDevil |
||
5 Replies
3,001 Views |
January 22, 2011, 08:30:55 pm by achillezzz |
|||
ravenous
Started by seesawsemiology |
5 Replies
3,960 Views |
October 10, 2008, 04:24:32 am by TylerDurden |
||
5 Replies
2,438 Views |
August 19, 2015, 04:16:44 pm by TylerDurden |
|||
Fate of Man
Started by raw-al |
5 Replies
2,784 Views |
August 10, 2011, 04:49:37 am by Iguana |
||
5 Replies
3,158 Views |
July 20, 2011, 05:29:27 am by PaleoPhil |
|||
Anti-meat articles in the media
Started by TylerDurden |
5 Replies
3,645 Views |
November 28, 2009, 10:28:27 pm by PaleoPhil |
||
Smart Meters
Started by raw-al |
5 Replies
2,175 Views |
June 02, 2013, 11:45:07 pm by svrn |
||
Your Day???
Started by SkinnyDevil |
5 Replies
3,137 Views |
December 31, 2010, 11:42:51 pm by SkinnyDevil |
||
Fitness, Health and Liberty
Started by Projectile Vomit |
5 Replies
2,469 Views |
January 30, 2014, 03:55:18 am by LePatron7 |
||
Raw Foodism Wikipedia Alterations
Started by TylerDurden |
5 Replies
2,688 Views |
October 15, 2010, 02:29:14 am by raw-al |
||
Social pressures
Started by TylerDurden |
5 Replies
3,052 Views |
April 05, 2009, 05:39:28 am by JaX |
||
Question re calories etc.
Started by TylerDurden |
5 Replies
3,223 Views |
April 13, 2009, 10:58:59 pm by William |
||
Citric acid
Started by TylerDurden |
5 Replies
5,963 Views |
April 07, 2009, 03:48:32 am by Nicola |
||
This forum allows warez?
Started by achillezzz |
5 Replies
3,112 Views |
December 13, 2010, 07:23:12 pm by goodsamaritan |
||
5 Replies
2,683 Views |
September 11, 2016, 05:13:32 am by svrn |
|||
Interacting with drugged up people
Started by goodsamaritan |
5 Replies
2,659 Views |
July 31, 2010, 12:08:46 pm by nicole |
||
Happy Birthday Kyle
Started by Satya |
5 Replies
3,336 Views |
July 04, 2008, 03:21:45 am by Kristelle |
||
Kratom?
Started by HoneyBadger |
5 Replies
2,966 Views |
October 29, 2017, 08:05:59 am by matamorfysis |
||
Belief and lifespan
Started by TylerDurden |
5 Replies
3,088 Views |
October 13, 2015, 03:38:37 am by sabertooth |
||
5 Replies
3,280 Views |
April 20, 2012, 03:27:57 am by LePatron7 |
|||
Ask the next person a question game
Started by TylerDurden |
5 Replies
2,312 Views |
January 20, 2013, 06:46:36 am by TylerDurden |
||
Female members
Started by TylerDurden |
5 Replies
3,154 Views |
August 16, 2009, 04:40:55 pm by TylerDurden |
||
Advice needed on relationship/honesty..
Started by razmatazz |
5 Replies
2,752 Views |
July 16, 2010, 06:23:51 pm by Hans89 |
||
Roman diet
Started by TylerDurden |
6 Replies
2,711 Views |
January 29, 2011, 04:35:28 pm by Josh |
||
Urine therapy nonsense
Started by TylerDurden |
6 Replies
4,161 Views |
July 13, 2014, 11:50:59 am by mhikl |
||
Yet another foolish superfood!
Started by TylerDurden |
6 Replies
2,557 Views |
November 12, 2014, 08:07:26 am by sabertooth |
||
Cynics discriminated against in life
Started by TylerDurden |
6 Replies
3,217 Views |
May 31, 2015, 08:46:40 pm by goodsamaritan |
||
eye change?
Started by LePatron7 |
6 Replies
2,851 Views |
April 11, 2012, 10:37:41 am by CitrusHigh |
||
6 Replies
2,621 Views |
June 11, 2014, 12:16:16 am by TylerDurden |
|||
Happy Thanksgiving!
Started by boxcarguy07 |
6 Replies
3,656 Views |
November 30, 2008, 06:25:39 pm by glennm01 |
||
6 Replies
2,338 Views |
July 27, 2017, 02:36:57 am by TylerDurden |
|||
Your Ancestry?
Started by Sully |
6 Replies
3,593 Views |
December 12, 2008, 03:16:02 pm by goodsamaritan |
||
Can't eat that crap again
Started by Josh |
6 Replies
2,849 Views |
February 12, 2011, 05:04:15 pm by achillezzz |
||
Jack LaLanne Dies
Started by SkinnyDevil |
6 Replies
3,058 Views |
January 25, 2011, 03:55:42 pm by Brother |
||
Raw paleo ogres
Started by sabertooth |
6 Replies
3,903 Views |
August 23, 2011, 11:38:05 pm by papangue |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll