/* * 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 2 Guests are viewing this board. | ||||
Hello Everyone :)
Started by jinna86 |
15 Replies
6,492 Views |
July 07, 2012, 01:13:40 pm by Dorothy |
||
what i don't understand
Started by NEUROSPORT |
16 Replies
6,498 Views |
July 15, 2010, 10:57:42 am by GR37 |
||
Hi RPDers Alex here
Started by Alex |
12 Replies
6,501 Views |
February 23, 2011, 02:47:37 pm by presynaras |
||
6 Replies
6,567 Views |
September 25, 2009, 09:16:14 pm by robbie1687 |
|||
Hello, trying new things!
Started by Megan Megatoast |
17 Replies
6,651 Views |
December 07, 2009, 09:24:33 am by Megan Megatoast |
||
Zeruff's introduction
Started by zeruff |
9 Replies
6,690 Views |
November 30, 2008, 02:52:06 pm by reyyzl |
||
hello from the north
Started by zaida |
13 Replies
6,701 Views |
July 25, 2009, 12:04:35 pm by Hannibal |
||
Introducing myself.
Started by apollo00 |
3 Replies
6,714 Views |
January 29, 2020, 04:07:09 pm by trafficmoivio |
||
Greetings from NE Kansas!
Started by hassafras |
17 Replies
6,747 Views |
March 12, 2013, 12:56:37 am by van |
||
Hi from France
Started by Iguana |
9 Replies
6,806 Views |
July 20, 2009, 09:38:04 am by PaleoPhil |
||
oxalates / oxalic acid
Started by thuphaer |
8 Replies
6,810 Views |
December 20, 2014, 09:31:29 am by goodsamaritan |
||
13 Replies
6,840 Views |
March 12, 2014, 10:48:36 pm by Iguana |
|||
Silicon Valley raw eater, saying HI
Started by monkeysee |
17 Replies
6,876 Views |
March 11, 2012, 01:32:14 am by eveheart |
||
Hello, new here: Bubba
Started by bubba |
14 Replies
6,906 Views |
June 11, 2008, 03:36:41 pm by TylerDurden |
||
Heelo All
Started by The Barbarian |
16 Replies
6,942 Views |
August 28, 2009, 10:17:14 am by The Barbarian |
||
19 Replies
6,950 Views |
June 04, 2012, 08:55:28 am by cherimoya_kid |
|||
Newbie Here :)
Started by Ioanna |
11 Replies
6,986 Views |
February 03, 2009, 12:34:13 pm by RawZi |
||
Hello! I have Newbie questions...
Started by primavera |
15 Replies
6,987 Views |
July 09, 2009, 12:10:23 am by Raw Kyle |
||
New to the Forum!
Started by Rawman1 |
19 Replies
6,989 Views |
August 21, 2010, 02:18:08 am by Rawman1 |
||
16 Replies
6,993 Views |
January 30, 2010, 01:48:12 am by TylerDurden |
|||
hey guys, just joined
Started by yon yonson |
14 Replies
7,032 Views |
November 04, 2008, 06:00:26 am by yon yonson |
||
Raw Vegan to Raw Every Thing
Started by DameonWolf |
15 Replies
7,124 Views |
March 17, 2010, 09:49:35 pm by chucky |
||
NEWBIE!!!! Q & A
Started by Lancelion |
18 Replies
7,140 Views |
September 04, 2010, 02:29:04 am by Lancelion |
||
juicing and other questions
Started by bachcole |
13 Replies
7,177 Views |
May 18, 2012, 05:49:49 am by bachcole |
||
Raw-vegan and raw-paleo and other Questions
Started by aek11 |
12 Replies
7,194 Views |
February 10, 2010, 07:48:02 am by RawZi |
||
Hey guys!
Started by trevowens20 |
6 Replies
7,287 Views |
February 17, 2011, 07:12:53 am by goodsamaritan |
||
19 Replies
7,289 Views |
January 30, 2010, 10:36:12 pm by PaleoPhil |
|||
Another dietary freak
Started by caban |
13 Replies
7,306 Views |
March 03, 2011, 03:59:41 am by caban |
||
15 Replies
7,322 Views |
March 17, 2011, 11:59:55 am by Techydude |
|||
Hello from Brazil
Started by Arthas_ |
15 Replies
7,363 Views |
March 03, 2010, 04:28:55 am by Raw Kyle |
||
Renewing raw
Started by Satya |
13 Replies
7,375 Views |
August 29, 2015, 04:55:17 am by kalo |
||
New with a beginner challenge
Started by alycia |
14 Replies
7,440 Views |
May 06, 2011, 11:27:03 am by Ioanna |
||
Hello everyone
Started by jesterhead |
23 Replies
7,490 Views |
July 09, 2013, 11:23:02 am by cherimoya_kid |
||
Home at last!
Started by MarkC |
19 Replies
7,508 Views |
April 12, 2012, 03:33:13 am by intrigued |
||
My Story
Started by Tsurugi_Oni |
12 Replies
7,564 Views |
August 08, 2011, 03:11:27 am by magnetic |
||
Hello Everyone
Started by Aliayzar |
22 Replies
7,614 Views |
December 31, 2011, 11:16:12 am by Aliayzar |
||
Greetings from an ABCD
Started by golooraam |
12 Replies
7,614 Views |
February 01, 2014, 12:55:44 am by golooraam |
||
just joined, introducing myself
Started by Nora |
19 Replies
7,809 Views |
February 09, 2013, 09:53:15 am by Ioanna |
||
Hello from Portugal
Started by BFCP |
18 Replies
7,839 Views |
February 08, 2019, 07:12:39 am by TylerDurden |
||
13 Replies
8,009 Views |
May 20, 2009, 09:02:54 am by phatdave |
|||
Tips for transitioning to raw paleo?
Started by lorelf |
15 Replies
8,037 Views |
January 12, 2015, 04:10:12 am by eveheart |
||
Hi! Salutations from spain
Started by Living all Raw |
16 Replies
8,083 Views |
February 20, 2011, 10:05:04 am by magnetic |
||
Hi everyone
Started by billy4184 |
15 Replies
8,257 Views |
December 04, 2011, 06:20:03 pm by billy4184 |
||
18 Replies
8,309 Views |
May 12, 2011, 05:44:22 am by goodsamaritan |
|||
Just Another Newbie
Started by MartyD |
17 Replies
8,323 Views |
November 05, 2011, 10:33:52 am by djr_81 |
||
Always fine tuning
Started by Celeste |
22 Replies
8,403 Views |
February 04, 2014, 04:13:11 pm by blake |
||
digestion adaptation question
Started by funkymonk |
13 Replies
8,442 Views |
January 09, 2018, 01:12:56 am by political atheist |
||
One more from France
Started by alphagruis |
19 Replies
8,498 Views |
October 04, 2009, 06:29:20 am by alphagruis |
||
Hello, new here..
Started by Wolf |
23 Replies
8,607 Views |
July 25, 2010, 08:19:45 pm by Wolf |
||
23 Replies
8,653 Views |
August 13, 2017, 04:14:05 am by Iguana |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll