/* * 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 87 Guests are viewing this board. | ||||
37 Replies
22,201 Views |
April 04, 2011, 04:52:49 pm by proteus |
|||
70 Replies
22,231 Views |
March 15, 2017, 10:19:57 am by ys |
|||
Sardines over Salmon
Started by avalon |
13 Replies
22,337 Views |
October 02, 2009, 08:18:59 am by PaleoPhil |
||
64 Replies
22,394 Views |
September 28, 2013, 06:20:53 am by ys |
|||
Raw Meat Eating Family On Farm
Started by King Salmon « 1 2 3 » |
51 Replies
22,416 Views |
February 09, 2013, 10:25:21 am by Bacchal |
||
44 Replies
22,448 Views |
June 12, 2015, 06:04:15 am by PaleoPhil |
|||
50 Replies
22,474 Views |
March 06, 2013, 01:29:39 pm by Joy2012 |
|||
54 Replies
22,520 Views |
October 02, 2012, 08:32:54 am by Dorothy |
|||
44 Replies
22,570 Views |
February 18, 2009, 12:38:13 pm by donrad |
|||
36 Replies
22,796 Views |
November 07, 2012, 02:28:53 pm by aLptHW4k4y |
|||
25 Replies
22,808 Views |
March 01, 2010, 02:15:06 pm by Hannibal |
|||
Eating raw eyeballs?
Started by intouchwithinstinct « 1 2 » |
28 Replies
22,882 Views |
April 05, 2015, 03:18:47 am by dariorpl |
||
48 Replies
22,975 Views |
April 06, 2011, 04:26:09 pm by magnetic |
|||
Foods or things that can reduce stomach acid
Started by Josh |
15 Replies
23,095 Views |
May 18, 2011, 04:30:43 am by achillezzz |
||
56 Replies
23,314 Views |
March 22, 2010, 06:28:14 pm by TylerDurden |
|||
49 Replies
23,509 Views |
January 11, 2014, 12:07:53 pm by raw-al |
|||
25 Replies
23,675 Views |
July 26, 2008, 10:37:27 am by Metallica |
|||
Are we more adapted to certain fruits?
Started by AnopsStudier « 1 2 3 » |
54 Replies
23,688 Views |
June 11, 2015, 09:04:21 pm by TylerDurden |
||
50 Replies
23,791 Views |
February 04, 2010, 12:28:42 am by alphagruis |
|||
34 Replies
24,019 Views |
March 20, 2011, 01:56:18 am by Löwenherz |
|||
Youtube videos please!!!
Started by TylerDurden « 1 2 3 » |
55 Replies
24,293 Views |
October 10, 2010, 08:06:42 am by yon yonson |
||
47 Replies
24,577 Views |
October 04, 2012, 04:30:23 am by LePatron7 |
|||
Irritability
Started by ForTheHunt « 1 2 » |
46 Replies
24,599 Views |
May 17, 2010, 06:35:54 pm by goodsamaritan |
||
30 Replies
24,664 Views |
August 22, 2013, 08:25:10 am by Poncho |
|||
6 Replies
24,805 Views |
December 06, 2011, 01:41:24 am by Iguana |
|||
Organic 100% grass-fed beef from Uruguay?
Started by Joy2012 |
22 Replies
24,934 Views |
November 01, 2013, 05:21:08 am by TylerDurden |
||
Colon cleanse
Started by technosmith « 1 2 » |
43 Replies
25,092 Views |
December 03, 2017, 03:39:48 am by political atheist |
||
Trouble in Paradise - leg cramps
Started by lex_rooker « 1 2 » |
48 Replies
25,398 Views |
November 29, 2009, 11:23:42 pm by RawZi |
||
46 Replies
25,509 Views |
September 02, 2009, 12:23:15 pm by invisible |
|||
Tomatoes Harmful?
Started by Sully |
14 Replies
25,556 Views |
July 25, 2009, 06:35:14 am by PaleoPhil |
||
71 Replies
25,719 Views |
April 20, 2014, 09:29:31 pm by PaleoPhil |
|||
54 Replies
26,244 Views |
November 25, 2009, 06:59:54 am by RawZi |
|||
46 Replies
26,356 Views |
November 28, 2009, 06:42:10 am by goodsamaritan |
|||
60 Replies
26,774 Views |
May 08, 2012, 01:55:24 pm by Joy2012 |
|||
73 Replies
26,928 Views |
February 26, 2010, 05:57:53 pm by Matt51 |
|||
Eye color change updates
Started by californiadreamin |
22 Replies
27,112 Views |
April 20, 2012, 05:49:25 am by PaleoPhil |
||
Fat ratio experiment
Started by lex_rooker « 1 2 3 » |
54 Replies
27,282 Views |
July 19, 2008, 02:21:38 am by Raw Kyle |
||
Gut bacteria
Started by technosmith « 1 2 3 » |
64 Replies
27,388 Views |
February 06, 2014, 08:02:30 pm by PaleoPhil |
||
Invert sugar doesn't feed Candida?
Started by King Salmon « 1 2 3 » |
50 Replies
27,403 Views |
May 12, 2013, 05:27:40 am by K-WI |
||
Coffee: A Splendid Paleolithic Brew
Started by Muhammad.Sunshine « 1 2 3 » |
58 Replies
28,611 Views |
November 08, 2011, 03:38:06 am by Dorothy |
||
95 Replies
28,628 Views |
November 26, 2011, 09:51:37 am by PaleoPhil |
|||
0 Replies
29,037 Views |
August 23, 2008, 03:14:46 am by TylerDurden |
|||
Eating Egg Shells
Started by Sully |
18 Replies
29,676 Views |
December 05, 2011, 03:49:56 am by zeno |
||
63 Replies
29,972 Views |
May 07, 2009, 01:12:33 am by rafonly |
|||
26 Replies
30,446 Views |
May 23, 2014, 03:35:17 am by CatTreats |
|||
82 Replies
30,733 Views |
April 06, 2012, 05:53:53 am by PaleoPhil |
|||
13 Replies
31,458 Views |
November 11, 2012, 06:34:25 am by Suiren |
|||
My steaks turned brown in the fridge
Started by kurite |
10 Replies
31,737 Views |
February 10, 2010, 07:00:08 am by PaleoPhil |
||
86 Replies
31,745 Views |
October 19, 2013, 10:33:16 pm by jessica |
|||
bowel movements
Started by yon yonson « 1 2 » |
49 Replies
32,195 Views |
July 24, 2009, 07:42:09 pm by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll