/* * 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 15 Guests are viewing this board. | ||||
Hopeful start in suing trolls
Started by TylerDurden |
1 Replies
1,242 Views |
May 15, 2012, 08:37:36 am by raw-al |
||
1 Replies
1,244 Views |
April 01, 2017, 04:34:33 am by Iguana |
|||
Want superbugs with that?
Started by raw-al |
1 Replies
1,245 Views |
December 10, 2012, 02:44:54 am by LePatron7 |
||
Interesting info on vaccinations
Started by raw-al |
1 Replies
1,246 Views |
May 11, 2014, 06:59:36 pm by Projectile Vomit |
||
Interesting vampire therapy
Started by TylerDurden |
1 Replies
1,247 Views |
December 11, 2016, 03:22:44 am by HelpMeToHelpEwe |
||
0 Replies
1,247 Views |
January 18, 2013, 02:08:15 am by TylerDurden |
|||
Were we all 'Out Of Aussieland?
Started by raw-al |
0 Replies
1,248 Views |
October 25, 2014, 04:07:09 pm by raw-al |
||
(raw) Key to eternal youth...
Started by TylerDurden |
0 Replies
1,249 Views |
April 20, 2017, 02:34:59 am by TylerDurden |
||
Junk food linked to arthritis
Started by TylerDurden |
0 Replies
1,249 Views |
April 20, 2018, 03:01:20 pm by TylerDurden |
||
Fat Head
Started by Projectile Vomit |
0 Replies
1,250 Views |
November 28, 2013, 07:54:20 am by Projectile Vomit |
||
Theme of human consciousness
Started by TylerDurden |
0 Replies
1,250 Views |
November 25, 2017, 03:55:42 am by TylerDurden |
||
More "legal" pollution from the US
Started by TylerDurden |
1 Replies
1,250 Views |
July 31, 2017, 08:34:41 pm by surfsteve |
||
1 Replies
1,251 Views |
March 30, 2017, 07:31:15 pm by dariorpl |
|||
Zephyr
Started by smokeyquartz |
0 Replies
1,252 Views |
February 07, 2022, 12:20:26 am by smokeyquartz |
||
More on non-dietary paths to health
Started by TylerDurden |
2 Replies
1,253 Views |
January 04, 2017, 03:03:11 am by TylerDurden |
||
Article on the Victorian Diet
Started by TylerDurden |
2 Replies
1,253 Views |
November 14, 2015, 06:22:36 am by TylerDurden |
||
Random Googling/Interesting websites
Started by TylerDurden |
1 Replies
1,255 Views |
November 15, 2014, 04:10:08 am by Brad462 |
||
0 Replies
1,260 Views |
December 26, 2017, 10:38:50 pm by TylerDurden |
|||
Plastic fears justified
Started by TylerDurden |
1 Replies
1,263 Views |
August 24, 2015, 03:52:49 am by cherimoya_kid |
||
Badger Cull Lie
Started by TylerDurden |
0 Replies
1,263 Views |
October 26, 2012, 01:11:02 am by TylerDurden |
||
1 Replies
1,263 Views |
July 23, 2017, 02:00:21 am by surfsteve |
|||
Processed food secrets
Started by TylerDurden |
1 Replies
1,264 Views |
May 12, 2015, 07:06:32 am by cherimoya_kid |
||
Noah's Ark
Started by raw-al |
0 Replies
1,264 Views |
March 05, 2013, 10:58:09 am by raw-al |
||
More proof of the Great Filter Theory
Started by TylerDurden |
1 Replies
1,264 Views |
January 31, 2015, 01:01:29 pm by cherimoya_kid |
||
0 Replies
1,264 Views |
October 31, 2016, 09:55:14 pm by TylerDurden |
|||
1 Replies
1,266 Views |
July 09, 2014, 05:19:57 am by Projectile Vomit |
|||
0 Replies
1,266 Views |
September 08, 2014, 09:47:40 pm by goodsamaritan |
|||
0 Replies
1,266 Views |
November 23, 2014, 01:54:09 pm by raw-al |
|||
0 Replies
1,268 Views |
August 17, 2011, 03:37:49 am by Ungullible |
|||
UK supermarkets GM warning
Started by TylerDurden |
0 Replies
1,268 Views |
April 13, 2013, 09:42:04 am by TylerDurden |
||
0 Replies
1,269 Views |
November 20, 2017, 01:14:09 am by TylerDurden |
|||
Microwave used as weaponry
Started by raw-al |
0 Replies
1,270 Views |
August 13, 2012, 10:37:14 pm by raw-al |
||
Short Documentary: Heimo's Arctic Refuge
Started by zeno |
0 Replies
1,270 Views |
October 15, 2011, 07:14:12 am by zeno |
||
2 Replies
1,271 Views |
April 23, 2015, 06:45:47 am by TylerDurden |
|||
Another reason to avoid farmed fish
Started by TylerDurden |
1 Replies
1,272 Views |
March 14, 2017, 07:57:23 pm by dariorpl |
||
Removing junk posts
Started by TylerDurden |
0 Replies
1,273 Views |
April 30, 2018, 11:41:03 am by TylerDurden |
||
1 Replies
1,274 Views |
November 28, 2012, 06:39:49 am by CitrusHigh |
|||
Strange case of.....
Started by raw-al |
0 Replies
1,274 Views |
January 06, 2012, 03:18:43 am by raw-al |
||
1 Replies
1,274 Views |
August 24, 2015, 04:16:31 am by eveheart |
|||
1 Replies
1,274 Views |
December 21, 2012, 06:17:59 pm by CitrusHigh |
|||
Comment on interesting article
Started by TylerDurden |
0 Replies
1,276 Views |
February 07, 2018, 06:41:49 pm by TylerDurden |
||
0 Replies
1,276 Views |
August 17, 2017, 10:14:48 pm by TylerDurden |
|||
0 Replies
1,278 Views |
August 20, 2013, 03:54:07 am by TylerDurden |
|||
Processed foods cause addiction study
Started by TylerDurden |
1 Replies
1,278 Views |
June 28, 2013, 11:40:24 am by cherimoya_kid |
||
Audio section suggestion
Started by CitrusHigh |
0 Replies
1,279 Views |
February 09, 2013, 09:23:13 pm by CitrusHigh |
||
Want to save the planet?
Started by TylerDurden |
1 Replies
1,279 Views |
July 15, 2017, 02:56:41 am by a_real_man |
||
Nitrites to be banned in UK
Started by TylerDurden |
1 Replies
1,280 Views |
December 31, 2018, 01:37:30 am by thehadezb |
||
0 Replies
1,280 Views |
November 08, 2016, 02:19:06 am by TylerDurden |
|||
0 Replies
1,281 Views |
November 08, 2016, 02:12:32 am by TylerDurden |
|||
0 Replies
1,281 Views |
July 27, 2011, 02:23:51 am by raw-al |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll