/* * 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 14 Guests are viewing this board. | ||||
looking for inspiration and RAW friends
Started by ems |
2 Replies
2,021 Views |
February 12, 2012, 05:02:42 am by ems |
||
3 Replies
2,480 Views |
November 05, 2012, 08:43:29 pm by LePatron7 |
|||
0 Replies
1,887 Views |
April 17, 2014, 02:41:44 am by EthicalSuppliers |
|||
3 Replies
2,845 Views |
January 13, 2013, 04:31:43 pm by Eva_R |
|||
Update on Newbie
Started by Eva_R |
0 Replies
1,874 Views |
January 15, 2013, 02:22:37 pm by Eva_R |
||
13 Replies
6,828 Views |
March 12, 2014, 10:48:36 pm by Iguana |
|||
Raw Eggs in diet
Started by Exmoor |
3 Replies
4,093 Views |
January 23, 2018, 03:37:40 pm by marywash |
||
RVAF -- Newbie
Started by extralizard13 « 1 2 » |
26 Replies
11,942 Views |
January 23, 2010, 08:36:47 am by William |
||
Primal Newbie
Started by fahadullahkhan |
4 Replies
2,841 Views |
January 10, 2014, 03:28:48 am by fahadullahkhan |
||
Joining the Paleo World
Started by falcongrl |
10 Replies
4,840 Views |
November 26, 2011, 11:28:07 am by falcongrl |
||
Greetings from the UK
Started by Fat of the land |
3 Replies
2,843 Views |
January 15, 2021, 05:21:11 pm by Raw-nature |
||
New to this forum..
Started by Fats |
8 Replies
4,159 Views |
January 25, 2012, 06:33:22 am by TylerDurden |
||
Hello from Sweden
Started by favetelinguis |
12 Replies
5,049 Views |
August 04, 2013, 01:04:49 am by favetelinguis |
||
5 Replies
4,436 Views |
July 20, 2008, 11:37:18 pm by goodsamaritan |
|||
1 Replies
3,068 Views |
December 10, 2008, 07:04:32 am by TylerDurden |
|||
Gratitude
Started by feralflannery |
0 Replies
1,749 Views |
March 17, 2012, 04:50:14 am by feralflannery |
||
18 Replies
8,286 Views |
May 12, 2011, 05:44:22 am by goodsamaritan |
|||
Hi everyone!
Started by FightDisinformation |
3 Replies
4,242 Views |
February 24, 2017, 06:25:03 pm by lilyalvin |
||
New Member Here!
Started by Fiona01 |
6 Replies
3,650 Views |
June 22, 2012, 11:43:26 pm by CitrusHigh |
||
3 Replies
2,481 Views |
December 01, 2011, 09:00:05 pm by zbr5 |
|||
Question about eating raw seafood
Started by firefighter1/1 |
8 Replies
4,895 Views |
November 30, 2011, 11:47:00 pm by CitrusHigh |
||
3 Replies
2,974 Views |
May 28, 2014, 11:44:22 pm by edmon171 |
|||
Greetings from Sweden
Started by fishercat |
4 Replies
3,088 Views |
May 27, 2009, 10:01:58 pm by fishercat |
||
Hello from the Philippines
Started by Fitawep123 |
3 Replies
3,223 Views |
July 01, 2015, 10:51:40 am by A_Tribe_Called_Paleo |
||
Ex-vegan newb
Started by FKE |
20 Replies
9,039 Views |
June 21, 2010, 11:23:38 am by NEUROSPORT |
||
hey from Wales!
Started by flapsandwich |
4 Replies
3,936 Views |
January 15, 2021, 05:22:45 pm by Raw-nature |
||
Janice from The Netherlands
Started by FlyingDutchwoman |
4 Replies
2,516 Views |
September 26, 2012, 07:12:55 am by cherimoya_kid |
||
New Here...Hi To All :)
Started by Foods4Health |
3 Replies
2,447 Views |
July 03, 2013, 04:28:47 am by TylerDurden |
||
34 Replies
14,726 Views |
March 09, 2011, 06:45:39 am by goodsamaritan |
|||
Hello everyone
Started by Funky Raw Rob |
7 Replies
3,823 Views |
April 27, 2012, 04:59:07 am by Funky Raw Rob |
||
digestion adaptation question
Started by funkymonk |
13 Replies
8,428 Views |
January 09, 2018, 01:12:56 am by political atheist |
||
14 year old - Eating problem
Started by Gadsie |
3 Replies
3,682 Views |
April 27, 2012, 07:55:42 pm by Funky Raw Rob |
||
Explorer/experimenter
Started by Gazelle |
3 Replies
2,826 Views |
April 30, 2009, 06:17:37 am by goodsamaritan |
||
Hi, new here
Started by Gerson |
5 Replies
4,757 Views |
November 23, 2014, 03:08:23 am by Gerson |
||
New guy learning about Paleo
Started by GetNativ |
1 Replies
2,260 Views |
April 30, 2014, 04:14:31 pm by goodsamaritan |
||
hi there from polish ecoregion :)
Started by gggrzesiek |
3 Replies
2,426 Views |
September 29, 2009, 04:24:34 pm by TylerDurden |
||
Greetings, paleo people
Started by GK420 |
21 Replies
9,095 Views |
January 20, 2012, 02:42:29 am by GK420 |
||
10 Replies
5,478 Views |
November 25, 2008, 02:30:45 am by reyyzl |
|||
Greetings from an ABCD
Started by golooraam |
12 Replies
7,605 Views |
February 01, 2014, 12:55:44 am by golooraam |
||
GoodSamaritan checking in...
Started by goodsamaritan |
5 Replies
5,977 Views |
May 05, 2008, 12:09:41 pm by Craig |
||
0 Replies
3,706 Views |
May 05, 2008, 06:19:33 pm by goodsamaritan |
|||
Welcome SVRN
Started by goodsamaritan |
12 Replies
5,983 Views |
October 24, 2013, 09:15:55 am by sabertooth |
||
Hello from SoCal
Started by Goose |
1 Replies
1,302 Views |
June 04, 2021, 12:08:01 am by sabertooth |
||
New and with bowel/appendix problems
Started by Gordono |
14 Replies
5,776 Views |
September 25, 2012, 07:55:36 am by Alive |
||
Hello everyone!
Started by GourmetConfession |
3 Replies
3,505 Views |
August 20, 2015, 07:28:45 am by eveheart |
||
Hi all!!!
Started by gregsashinsky |
7 Replies
4,194 Views |
June 22, 2011, 01:50:38 am by Broderick5 |
||
6 Replies
3,124 Views |
September 09, 2010, 02:12:56 am by greywolve |
|||
Hi, I am back again. My new story.
Started by Grithnir |
6 Replies
4,214 Views |
April 13, 2013, 11:37:17 pm by Grithnir |
||
57 Replies
19,518 Views |
December 10, 2012, 06:27:04 pm by LePatron7 |
|||
Grixxly here
Started by Grixxly |
4 Replies
2,982 Views |
August 12, 2011, 11:52:51 pm by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll