/* * 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 98 Guests are viewing this board. | ||||
29 Replies
14,521 Views |
April 19, 2011, 11:27:15 am by CitrusHigh |
|||
38 Replies
14,524 Views |
March 02, 2010, 09:45:59 am by djr_81 |
|||
Himalayan Salt Experiences. Yay or Nay?
Started by goodsamaritan « 1 2 » |
27 Replies
14,527 Views |
November 26, 2012, 10:40:46 am by svrn |
||
Anyone here eat insects?
Started by kurite |
23 Replies
14,537 Views |
September 20, 2014, 08:14:49 am by eveheart |
||
33 Replies
14,545 Views |
December 10, 2009, 01:03:37 am by Hannibal |
|||
34 Replies
14,627 Views |
April 08, 2014, 01:13:07 am by edmon171 |
|||
Tea?
Started by yon yonson « 1 2 » |
26 Replies
14,655 Views |
October 06, 2010, 06:48:25 pm by RawZi |
||
Dried Mango (and other fruits)
Started by macgeek2005 |
13 Replies
14,666 Views |
January 12, 2012, 11:15:51 pm by balancing-act |
||
31 Replies
14,722 Views |
September 01, 2008, 07:01:48 pm by avalon |
|||
30 Replies
14,744 Views |
August 20, 2010, 03:56:18 am by Michael |
|||
HELP EATING RAW FAT PLEASE!!!
Started by the PresiDenT « 1 2 » |
28 Replies
14,752 Views |
October 14, 2010, 10:32:36 pm by miles |
||
32 Replies
14,753 Views |
January 06, 2011, 02:31:24 pm by Alan |
|||
28 Replies
14,801 Views |
October 31, 2011, 08:50:35 am by PaleoPhil |
|||
31 Replies
14,804 Views |
December 10, 2010, 07:37:49 pm by Hannibal |
|||
5 Replies
14,805 Views |
February 19, 2011, 04:59:28 pm by TylerDurden |
|||
I did it and Im scared...
Started by achillezzz « 1 2 » |
32 Replies
14,822 Views |
January 23, 2011, 01:13:31 pm by CitrusHigh |
||
Mega dosing iodine
Started by LePatron7 |
22 Replies
14,844 Views |
December 15, 2013, 02:28:36 am by LePatron7 |
||
26 Replies
14,865 Views |
April 22, 2016, 11:23:40 am by van |
|||
brain size
Started by MaximilianKohler « 1 2 » |
30 Replies
14,870 Views |
February 25, 2011, 05:19:30 am by sabertooth |
||
37 Replies
14,887 Views |
September 13, 2013, 10:53:47 am by Bacchal |
|||
Eating Raw Animal Foods in public
Started by goodsamaritan « 1 2 » |
30 Replies
14,910 Views |
December 12, 2008, 07:49:02 pm by RawZi |
||
All Suet Is WHITE?
Started by Sully |
23 Replies
15,021 Views |
June 12, 2009, 06:06:50 pm by Josh |
||
I'm new - my body led me here...
Started by spicegirl_0101 « 1 2 » |
38 Replies
15,053 Views |
April 02, 2012, 03:38:57 am by svrn |
||
Anyone knows what is the best Probiotics?
Started by vernon |
17 Replies
15,107 Views |
June 15, 2011, 04:18:29 am by zeno |
||
24 Replies
15,128 Views |
April 16, 2011, 06:22:22 am by laterade |
|||
How many grams of meat per day?
Started by technosmith |
22 Replies
15,268 Views |
November 21, 2010, 04:15:44 am by TylerDurden |
||
25 Replies
15,290 Views |
August 08, 2013, 11:10:55 am by LePatron7 |
|||
30 Replies
15,339 Views |
October 23, 2010, 11:44:42 am by goodsamaritan |
|||
Homemade Oyster Sauce??
Started by Tsurugi_Oni |
21 Replies
15,407 Views |
October 07, 2011, 05:35:35 pm by RawZi |
||
30 Replies
15,440 Views |
May 31, 2011, 03:37:46 pm by Jackaroo |
|||
Do you eat raw beef SUET?
Started by goodsamaritan |
18 Replies
15,475 Views |
September 12, 2010, 03:46:16 am by PaleoPhil |
||
40 Replies
15,586 Views |
March 05, 2010, 02:26:08 pm by kurite |
|||
25 Replies
15,598 Views |
February 26, 2010, 10:25:57 pm by William |
|||
25 Replies
15,603 Views |
May 30, 2013, 04:40:59 am by van |
|||
37 Replies
15,789 Views |
July 25, 2012, 05:54:37 am by Dorothy |
|||
Raw sardines?
Started by spitfiredd1 « 1 2 » |
25 Replies
15,839 Views |
April 03, 2012, 01:22:42 am by svrn |
||
26 Replies
15,880 Views |
October 12, 2010, 10:49:58 pm by AlexWulf |
|||
40 Replies
15,893 Views |
June 21, 2010, 07:01:42 pm by NEUROSPORT |
|||
29 Replies
15,926 Views |
July 21, 2009, 06:04:38 am by PaleoPhil |
|||
37 Replies
15,929 Views |
December 05, 2009, 08:04:21 am by PaleoPhil |
|||
36 Replies
15,990 Views |
January 24, 2010, 11:54:43 pm by roony |
|||
Shelf Life of Bone Marrow?
Started by Chris |
14 Replies
16,077 Views |
August 28, 2012, 09:32:59 am by jessica |
||
29 Replies
16,171 Views |
February 21, 2009, 09:09:51 am by Raw Kyle |
|||
26 Replies
16,197 Views |
February 15, 2015, 12:19:20 am by eveheart |
|||
28 Replies
16,303 Views |
August 24, 2012, 11:44:59 am by CitrusHigh |
|||
26 Replies
16,324 Views |
September 24, 2011, 11:04:27 pm by PaleoPhil |
|||
53 Replies
16,348 Views |
July 09, 2013, 08:27:01 am by LePatron7 |
|||
38 Replies
16,357 Views |
January 23, 2010, 07:16:36 am by extralizard13 |
|||
Rendered fat from Wellness Meats - buyer beware.
Started by lex_rooker « 1 2 » |
29 Replies
16,363 Views |
May 19, 2009, 01:01:27 pm by lex_rooker |
||
35 Replies
16,414 Views |
April 12, 2015, 06:21:27 pm by political atheist |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll