/* * 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 15 Guests are viewing this board. | ||||
3 Replies
2,034 Views |
November 30, 2010, 11:35:04 am by Ioanna |
|||
7 Replies
3,338 Views |
November 19, 2010, 05:16:00 pm by TylerDurden |
|||
Greetings!
Started by magnagei |
2 Replies
1,922 Views |
November 19, 2010, 05:09:39 pm by TylerDurden |
||
15 Replies
5,803 Views |
November 13, 2010, 07:19:55 pm by kurite |
|||
71 Replies
20,685 Views |
November 12, 2010, 04:49:00 pm by Iguana |
|||
In search of Optimum Health!
Started by PaganAngel |
5 Replies
3,111 Views |
November 04, 2010, 11:47:32 am by PaganAngel |
||
Girlfriend and I are new to paleo
Started by misswoo |
1 Replies
1,940 Views |
November 01, 2010, 08:15:40 pm by TylerDurden |
||
56 Replies
24,399 Views |
October 31, 2010, 04:32:13 am by Brother |
|||
New raw paleo woman
Started by Louna |
8 Replies
4,355 Views |
October 30, 2010, 06:30:15 am by TylerDurden |
||
4 Replies
2,680 Views |
October 18, 2010, 05:55:46 am by Ioanna |
|||
Hellooooo! From the land of Oz.....
Started by Laddox |
5 Replies
2,759 Views |
October 11, 2010, 02:54:29 pm by Laddox |
||
10 Replies
4,712 Views |
October 09, 2010, 01:06:32 am by Tymianek |
|||
Greetings from Australia
Started by irenekrey |
1 Replies
1,938 Views |
October 05, 2010, 10:31:56 pm by miles |
||
I'm new and intrigued
Started by Marissa |
2 Replies
2,120 Views |
September 30, 2010, 03:48:42 am by TylerDurden |
||
3 Replies
2,187 Views |
September 27, 2010, 11:53:16 pm by goodsamaritan |
|||
I'm New!! Hello!
Started by Calypso |
5 Replies
2,803 Views |
September 23, 2010, 11:16:56 pm by Calypso |
||
82 Replies
32,166 Views |
September 14, 2010, 11:19:19 am by yon yonson |
|||
36 Replies
12,591 Views |
September 11, 2010, 11:10:31 am by pioneer |
|||
A warm Bula from Fiji
Started by Locuro |
10 Replies
4,740 Views |
September 09, 2010, 07:15:51 pm by Locuro |
||
5 Replies
2,788 Views |
September 09, 2010, 01:18:21 pm by kurite |
|||
Who is Nicola?
Started by Nicola |
2 Replies
2,522 Views |
September 09, 2010, 09:28:00 am by Stephanie07 |
||
6 Replies
3,124 Views |
September 09, 2010, 02:12:56 am by greywolve |
|||
NEWBIE!!!! Q & A
Started by Lancelion |
18 Replies
7,124 Views |
September 04, 2010, 02:29:04 am by Lancelion |
||
5 Replies
3,172 Views |
September 03, 2010, 02:43:51 am by TylerDurden |
|||
4 Replies
3,082 Views |
September 01, 2010, 05:52:40 am by Siiri |
|||
Raw Vegan not practical
Started by LightzNY |
10 Replies
4,863 Views |
August 30, 2010, 02:06:16 pm by Cinna |
||
New to Paleo, considering more raw
Started by CinnamonGirl |
4 Replies
2,342 Views |
August 29, 2010, 09:09:07 pm by shannon |
||
newbie here
Started by shannon |
3 Replies
2,099 Views |
August 28, 2010, 07:35:31 pm by TylerDurden |
||
Hi Everyone!
Started by Monty |
2 Replies
2,020 Views |
August 28, 2010, 04:31:40 pm by TylerDurden |
||
Hi everybody
Started by Brother |
12 Replies
5,358 Views |
August 28, 2010, 12:20:03 am by Arthas_ |
||
New to the Forum!
Started by Rawman1 |
19 Replies
6,976 Views |
August 21, 2010, 02:18:08 am by Rawman1 |
||
4 Replies
2,411 Views |
August 20, 2010, 06:03:33 am by goodsamaritan |
|||
7 Replies
3,216 Views |
August 20, 2010, 02:27:13 am by Iguana |
|||
hello- help with enamel issues?
Started by kanotim |
7 Replies
4,000 Views |
August 16, 2010, 12:47:45 am by Michael |
||
Hello There
Started by Nishwash |
1 Replies
1,721 Views |
August 13, 2010, 03:04:22 am by TylerDurden |
||
4 Replies
2,532 Views |
August 12, 2010, 05:28:47 pm by TylerDurden |
|||
New to Raw Paleo, in search of health
Started by Rob |
3 Replies
2,284 Views |
August 06, 2010, 04:04:49 am by TylerDurden |
||
John the SuplementosDude
Started by SuplementosDude |
2 Replies
2,025 Views |
August 02, 2010, 12:59:55 pm by goodsamaritan |
||
0 Replies
1,673 Views |
August 02, 2010, 12:07:31 pm by SuplementosDude |
|||
My health journey thus far
Started by andvanwyk |
6 Replies
5,117 Views |
July 31, 2010, 05:06:04 pm by TylerDurden |
||
1 Replies
2,037 Views |
July 31, 2010, 05:01:51 pm by TylerDurden |
|||
Switching from near vegan, Hi
Started by Salidroside |
6 Replies
3,467 Views |
July 30, 2010, 05:42:57 pm by kurite |
||
Hello, new here..
Started by Wolf |
23 Replies
8,586 Views |
July 25, 2010, 08:19:45 pm by Wolf |
||
Hello from Germany
Started by Susan |
9 Replies
3,958 Views |
July 17, 2010, 04:09:08 pm by TylerDurden |
||
Hello from the Pacific Northwest...
Started by Omniverse |
4 Replies
2,682 Views |
July 15, 2010, 12:46:24 pm by Omniverse |
||
what i don't understand
Started by NEUROSPORT |
16 Replies
6,492 Views |
July 15, 2010, 10:57:42 am by GR37 |
||
Hi, I would like to introduce
Started by STZGluten Free |
0 Replies
1,797 Views |
July 10, 2010, 12:47:43 pm by STZGluten Free |
||
5 months of raw and doing good
Started by sabertooth |
13 Replies
5,865 Views |
July 07, 2010, 11:52:06 am by Nation |
||
Hello ALL - NEED HELP
Started by Coatue |
13 Replies
5,345 Views |
July 03, 2010, 03:17:35 pm by TylerDurden |
||
2 Replies
2,530 Views |
July 02, 2010, 10:29:22 am by leadahead |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll