/* * 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 8 Guests are viewing this board. | ||||
Welcome New Members! Please Read.
Started by Waungata |
0 Replies
17,208 Views |
September 26, 2008, 04:50:13 pm by Waungata |
||
122 Replies
41,365 Views |
January 12, 2011, 04:15:33 pm by Stig of the Dump |
|||
100 Replies
35,048 Views |
December 01, 2009, 07:36:45 pm by TylerDurden |
|||
82 Replies
32,406 Views |
September 14, 2010, 11:19:19 am by yon yonson |
|||
71 Replies
20,797 Views |
November 12, 2010, 04:49:00 pm by Iguana |
|||
59 Replies
20,919 Views |
September 20, 2008, 12:50:19 am by Kristelle |
|||
58 Replies
20,578 Views |
December 14, 2011, 08:33:16 pm by CitrusHigh |
|||
57 Replies
19,597 Views |
December 10, 2012, 06:27:04 pm by LePatron7 |
|||
56 Replies
24,519 Views |
October 31, 2010, 04:32:13 am by Brother |
|||
Hello RAW-PALEO-WORLD!! Party ON!
Started by Löwenherz « 1 2 3 » |
50 Replies
18,942 Views |
February 18, 2011, 04:37:22 am by Gwadatraveller |
||
50 Replies
21,060 Views |
February 21, 2010, 12:33:02 am by chucky |
|||
46 Replies
20,274 Views |
July 03, 2013, 11:03:59 pm by Aura |
|||
42 Replies
14,986 Views |
October 12, 2012, 04:13:55 am by Alive |
|||
38 Replies
13,473 Views |
June 23, 2012, 06:57:44 am by PaleoPhil |
|||
36 Replies
12,676 Views |
September 11, 2010, 11:10:31 am by pioneer |
|||
Jasper Lawrence here
Started by JasperLawrence « 1 2 » |
36 Replies
15,938 Views |
February 14, 2011, 05:25:05 pm by JasperLawrence |
||
34 Replies
14,768 Views |
March 09, 2011, 06:45:39 am by goodsamaritan |
|||
33 Replies
12,032 Views |
December 20, 2010, 04:24:04 pm by rawgypsy |
|||
Hi!.. and some questions??
Started by DarkMonk81 « 1 2 » |
33 Replies
16,587 Views |
April 06, 2015, 10:26:32 am by DarkMonk81 |
||
Hi, new to the forum
Started by nicolegreen « 1 2 » |
33 Replies
12,544 Views |
January 27, 2010, 11:00:01 am by nicolegreen |
||
hola
Started by matthew ryan « 1 2 » |
33 Replies
12,771 Views |
November 12, 2009, 09:21:53 am by PaleoPhil |
||
31 Replies
14,242 Views |
May 05, 2009, 05:04:30 pm by TylerDurden |
|||
Just a new guy that scared of raw paleo
Started by achillezzz « 1 2 » |
31 Replies
12,971 Views |
February 20, 2011, 11:02:43 am by miles |
||
29 Replies
10,180 Views |
February 06, 2014, 11:14:38 pm by Iguana |
|||
29 Replies
13,073 Views |
February 13, 2011, 07:39:59 pm by Bronwen |
|||
28 Replies
11,342 Views |
February 23, 2010, 07:50:35 am by KD |
|||
Introduction and a question
Started by larrymagee « 1 2 » |
28 Replies
11,948 Views |
May 05, 2011, 03:52:05 am by elysianisis |
||
Raw Paleo Diet for more than 1 year; Eczema Detox?
Started by alvinkim92910 « 1 2 » |
28 Replies
10,268 Views |
January 05, 2014, 05:53:47 am by TylerDurden |
||
27 Replies
14,992 Views |
November 04, 2012, 09:21:36 pm by LePatron7 |
|||
RVAF -- Newbie
Started by extralizard13 « 1 2 » |
26 Replies
12,035 Views |
January 23, 2010, 08:36:47 am by William |
||
26 Replies
11,786 Views |
January 14, 2011, 02:39:07 am by Brother |
|||
Raw carnivore with questions...
Started by Nicole_German « 1 2 » |
26 Replies
14,434 Views |
May 12, 2012, 09:12:57 am by Alive |
||
Amount of animal protein daily
Started by tnlcrossfitter « 1 2 » |
25 Replies
9,940 Views |
May 20, 2010, 03:54:37 pm by Josh |
||
Hello everyone
Started by jesterhead |
23 Replies
7,510 Views |
July 09, 2013, 11:23:02 am by cherimoya_kid |
||
Hello! New member here!
Started by Ouchburns |
23 Replies
10,112 Views |
March 04, 2010, 07:50:07 pm by Stig of the Dump |
||
Hello, new here..
Started by Wolf |
23 Replies
8,633 Views |
July 25, 2010, 08:19:45 pm by Wolf |
||
23 Replies
8,684 Views |
August 13, 2017, 04:14:05 am by Iguana |
|||
Hello from NJ
Started by Dima |
23 Replies
9,879 Views |
January 08, 2011, 01:07:38 am by turkish |
||
insects anyone?
Started by jaktron |
22 Replies
9,697 Views |
February 18, 2011, 04:21:52 am by Gwadatraveller |
||
Hello Everyone
Started by Aliayzar |
22 Replies
7,628 Views |
December 31, 2011, 11:16:12 am by Aliayzar |
||
Always fine tuning
Started by Celeste |
22 Replies
8,470 Views |
February 04, 2014, 04:13:11 pm by blake |
||
Greetings, paleo people
Started by GK420 |
21 Replies
9,129 Views |
January 20, 2012, 02:42:29 am by GK420 |
||
811 Raw Foodist with doubts...
Started by whitebox84 |
21 Replies
9,766 Views |
November 14, 2009, 08:38:38 am by PaleoPhil |
||
20 Replies
10,301 Views |
April 15, 2010, 05:34:02 am by nummytummy |
|||
Ex-vegan newb
Started by FKE |
20 Replies
9,047 Views |
June 21, 2010, 11:23:38 am by NEUROSPORT |
||
so glad to find this...
Started by seesawsemiology |
20 Replies
9,081 Views |
September 13, 2008, 03:50:44 am by seesawsemiology |
||
19 Replies
6,960 Views |
June 04, 2012, 08:55:28 am by cherimoya_kid |
|||
just joined, introducing myself
Started by Nora |
19 Replies
7,825 Views |
February 09, 2013, 09:53:15 am by Ioanna |
||
Greetings from Sarav...
Started by Sarav |
19 Replies
12,107 Views |
December 21, 2008, 11:55:28 pm by Sarav |
||
One more from France
Started by alphagruis |
19 Replies
8,511 Views |
October 04, 2009, 06:29:20 am by alphagruis |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll