/* * 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 | ||
---|---|---|---|---|
Pottenger and 11 Guests are viewing this board. | ||||
Welcome New Members! Please Read.
Started by Waungata |
0 Replies
17,209 Views |
September 26, 2008, 04:50:13 pm by Waungata |
||
122 Replies
41,402 Views |
January 12, 2011, 04:15:33 pm by Stig of the Dump |
|||
100 Replies
35,092 Views |
December 01, 2009, 07:36:45 pm by TylerDurden |
|||
82 Replies
32,437 Views |
September 14, 2010, 11:19:19 am by yon yonson |
|||
56 Replies
24,563 Views |
October 31, 2010, 04:32:13 am by Brother |
|||
50 Replies
21,070 Views |
February 21, 2010, 12:33:02 am by chucky |
|||
59 Replies
20,926 Views |
September 20, 2008, 12:50:19 am by Kristelle |
|||
71 Replies
20,820 Views |
November 12, 2010, 04:49:00 pm by Iguana |
|||
58 Replies
20,587 Views |
December 14, 2011, 08:33:16 pm by CitrusHigh |
|||
46 Replies
20,288 Views |
July 03, 2013, 11:03:59 pm by Aura |
|||
57 Replies
19,614 Views |
December 10, 2012, 06:27:04 pm by LePatron7 |
|||
Hello RAW-PALEO-WORLD!! Party ON!
Started by Löwenherz « 1 2 3 » |
50 Replies
18,958 Views |
February 18, 2011, 04:37:22 am by Gwadatraveller |
||
Hi!.. and some questions??
Started by DarkMonk81 « 1 2 » |
33 Replies
16,600 Views |
April 06, 2015, 10:26:32 am by DarkMonk81 |
||
Jasper Lawrence here
Started by JasperLawrence « 1 2 » |
36 Replies
15,954 Views |
February 14, 2011, 05:25:05 pm by JasperLawrence |
||
27 Replies
14,998 Views |
November 04, 2012, 09:21:36 pm by LePatron7 |
|||
42 Replies
14,994 Views |
October 12, 2012, 04:13:55 am by Alive |
|||
34 Replies
14,778 Views |
March 09, 2011, 06:45:39 am by goodsamaritan |
|||
Raw carnivore with questions...
Started by Nicole_German « 1 2 » |
26 Replies
14,444 Views |
May 12, 2012, 09:12:57 am by Alive |
||
31 Replies
14,247 Views |
May 05, 2009, 05:04:30 pm by TylerDurden |
|||
38 Replies
13,479 Views |
June 23, 2012, 06:57:44 am by PaleoPhil |
|||
29 Replies
13,099 Views |
February 13, 2011, 07:39:59 pm by Bronwen |
|||
Just a new guy that scared of raw paleo
Started by achillezzz « 1 2 » |
31 Replies
12,979 Views |
February 20, 2011, 11:02:43 am by miles |
||
hola
Started by matthew ryan « 1 2 » |
33 Replies
12,787 Views |
November 12, 2009, 09:21:53 am by PaleoPhil |
||
36 Replies
12,685 Views |
September 11, 2010, 11:10:31 am by pioneer |
|||
Hi, new to the forum
Started by nicolegreen « 1 2 » |
33 Replies
12,546 Views |
January 27, 2010, 11:00:01 am by nicolegreen |
||
Greetings from Sarav...
Started by Sarav |
19 Replies
12,109 Views |
December 21, 2008, 11:55:28 pm by Sarav |
||
RVAF -- Newbie
Started by extralizard13 « 1 2 » |
26 Replies
12,048 Views |
January 23, 2010, 08:36:47 am by William |
||
33 Replies
12,044 Views |
December 20, 2010, 04:24:04 pm by rawgypsy |
|||
Introduction and a question
Started by larrymagee « 1 2 » |
28 Replies
11,973 Views |
May 05, 2011, 03:52:05 am by elysianisis |
||
26 Replies
11,800 Views |
January 14, 2011, 02:39:07 am by Brother |
|||
28 Replies
11,346 Views |
February 23, 2010, 07:50:35 am by KD |
|||
11 Replies
10,441 Views |
November 30, 2015, 02:35:09 am by thetasig |
|||
20 Replies
10,302 Views |
April 15, 2010, 05:34:02 am by nummytummy |
|||
Raw Paleo Diet for more than 1 year; Eczema Detox?
Started by alvinkim92910 « 1 2 » |
28 Replies
10,273 Views |
January 05, 2014, 05:53:47 am by TylerDurden |
||
19 Replies
10,256 Views |
October 28, 2009, 04:53:23 pm by RawZi |
|||
29 Replies
10,196 Views |
February 06, 2014, 11:14:38 pm by Iguana |
|||
13 Replies
10,182 Views |
June 20, 2011, 09:09:56 pm by zaidi |
|||
Hello! New member here!
Started by Ouchburns |
23 Replies
10,119 Views |
March 04, 2010, 07:50:07 pm by Stig of the Dump |
||
Tried Paleo for one month...
Started by laece |
19 Replies
9,998 Views |
October 25, 2011, 05:34:00 am by dmoffett |
||
Amount of animal protein daily
Started by tnlcrossfitter « 1 2 » |
25 Replies
9,943 Views |
May 20, 2010, 03:54:37 pm by Josh |
||
Kane: Primal to Raw Paleo
Started by Kane |
18 Replies
9,930 Views |
August 21, 2011, 05:10:59 am by Kane |
||
Hello from NJ
Started by Dima |
23 Replies
9,882 Views |
January 08, 2011, 01:07:38 am by turkish |
||
811 Raw Foodist with doubts...
Started by whitebox84 |
21 Replies
9,777 Views |
November 14, 2009, 08:38:38 am by PaleoPhil |
||
Hi there.......
Started by Elainie |
15 Replies
9,763 Views |
July 25, 2009, 05:51:09 am by PaleoPhil |
||
insects anyone?
Started by jaktron |
22 Replies
9,703 Views |
February 18, 2011, 04:21:52 am by Gwadatraveller |
||
Hi All
Started by lex_rooker |
17 Replies
9,588 Views |
May 25, 2008, 01:55:05 pm by lex_rooker |
||
new frenchy coming
Started by diogene |
11 Replies
9,460 Views |
May 16, 2010, 12:27:28 pm by diogene |
||
17 Replies
9,444 Views |
September 11, 2009, 09:09:53 am by djr_81 |
|||
Greetings, paleo people
Started by GK420 |
21 Replies
9,145 Views |
January 20, 2012, 02:42:29 am by GK420 |
||
so glad to find this...
Started by seesawsemiology |
20 Replies
9,085 Views |
September 13, 2008, 03:50:44 am by seesawsemiology |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll