/* * 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 12 Guests are viewing this board. | ||||
Coming back
Started by boxcarguy07 |
8 Replies
4,061 Views |
November 18, 2011, 06:18:05 pm by billy4184 |
||
recovering ex-fruitarian
Started by balancing-act |
16 Replies
8,966 Views |
November 10, 2011, 06:38:29 am by balancing-act |
||
New to Raw Paleo
Started by QueenC |
5 Replies
3,210 Views |
November 10, 2011, 02:58:31 am by Löwenherz |
||
Just Another Newbie
Started by MartyD |
17 Replies
8,312 Views |
November 05, 2011, 10:33:52 am by djr_81 |
||
Hello to everyone!
Started by Intoit |
1 Replies
1,988 Views |
November 04, 2011, 04:49:13 am by TylerDurden |
||
Saying Hello
Started by RAW12 |
12 Replies
4,978 Views |
November 01, 2011, 05:08:58 am by RAW12 |
||
EXTREMELY new.....hello
Started by Tooterbelle |
13 Replies
6,482 Views |
October 29, 2011, 08:10:54 am by Dorothy |
||
Tried Paleo for one month...
Started by laece |
19 Replies
9,981 Views |
October 25, 2011, 05:34:00 am by dmoffett |
||
0 Replies
1,806 Views |
October 25, 2011, 04:27:05 am by dmoffett |
|||
It is nice to meet you!
Started by Muhammad.Sunshine |
1 Replies
1,897 Views |
October 24, 2011, 09:02:26 am by CitrusHigh |
||
Hi everybody
Started by Rawlatina |
3 Replies
2,390 Views |
October 19, 2011, 07:19:23 pm by RawZi |
||
Hi's and hellos!
Started by sherylrays |
4 Replies
2,313 Views |
October 18, 2011, 07:35:48 am by CitrusHigh |
||
Mabuhay (greetings) from the Philippines!
Started by thejsap |
1 Replies
2,045 Views |
October 13, 2011, 03:16:23 am by cherimoya_kid |
||
9 Replies
5,868 Views |
October 11, 2011, 08:06:17 am by PaleoPhil |
|||
raw paleo for facial eczema
Started by zetsyuk |
8 Replies
5,053 Views |
September 30, 2011, 02:40:38 pm by RogueFarmer |
||
New to raw animal foods
Started by joej627 |
3 Replies
2,326 Views |
September 30, 2011, 06:33:23 am by TylerDurden |
||
You all really are some of the best!
Started by MDee |
3 Replies
2,378 Views |
September 24, 2011, 01:04:03 am by MDee |
||
1 Replies
2,072 Views |
September 19, 2011, 10:42:48 am by lex_rooker |
|||
5 Replies
3,257 Views |
September 11, 2011, 12:56:59 am by eveheart |
|||
going raw with a toddler...
Started by kofimama |
6 Replies
4,436 Views |
September 10, 2011, 07:03:43 pm by RawZi |
||
Kane: Primal to Raw Paleo
Started by Kane |
18 Replies
9,894 Views |
August 21, 2011, 05:10:59 am by Kane |
||
Grixxly here
Started by Grixxly |
4 Replies
2,982 Views |
August 12, 2011, 11:52:51 pm by goodsamaritan |
||
My Story
Started by Tsurugi_Oni |
12 Replies
7,537 Views |
August 08, 2011, 03:11:27 am by magnetic |
||
Hello Everyone
Started by veronica5000 |
5 Replies
3,647 Views |
August 06, 2011, 09:11:11 pm by Domitilla |
||
5 Replies
3,628 Views |
August 04, 2011, 11:51:59 am by cherimoya_kid |
|||
13 Replies
6,441 Views |
July 24, 2011, 06:12:24 pm by micelte |
|||
3 Replies
5,247 Views |
July 16, 2011, 01:48:32 am by raw-al |
|||
Hello I am exploring the possibilities
Started by rentawitch |
8 Replies
4,592 Views |
July 09, 2011, 08:29:52 pm by HIT_it_RAW |
||
Hello everyone....!
Started by Ricky |
1 Replies
2,262 Views |
July 04, 2011, 06:49:15 pm by HIT_it_RAW |
||
Trying out raw paleo
Started by CaptainSparrow |
10 Replies
5,195 Views |
July 01, 2011, 10:48:19 pm by eveheart |
||
5 Replies
3,051 Views |
July 01, 2011, 06:36:32 pm by TylerDurden |
|||
Hello from reunion island
Started by papangue |
7 Replies
4,324 Views |
July 01, 2011, 03:53:14 pm by papangue |
||
Hello and long live the king
Started by bacchus |
5 Replies
3,691 Views |
June 30, 2011, 01:08:40 am by bacchus |
||
Hi all!!!
Started by gregsashinsky |
7 Replies
4,194 Views |
June 22, 2011, 01:50:38 am by Broderick5 |
||
13 Replies
10,140 Views |
June 20, 2011, 09:09:56 pm by zaidi |
|||
8 Replies
6,024 Views |
June 18, 2011, 01:35:34 am by Predator |
|||
Hi, I'm new...
Started by Sally S. |
13 Replies
5,633 Views |
June 09, 2011, 11:30:26 am by eveheart |
||
Hello to all
Started by kindredspirit23 |
8 Replies
3,777 Views |
June 03, 2011, 12:39:20 am by CitrusHigh |
||
Getting Started
Started by csesuvra |
1 Replies
1,897 Views |
June 03, 2011, 12:34:23 am by CitrusHigh |
||
17 Replies
9,020 Views |
May 31, 2011, 12:00:05 pm by Max |
|||
Greetings and Salutations!
Started by Amris |
10 Replies
4,780 Views |
May 29, 2011, 11:02:00 am by goodsamaritan |
||
One excited explorer from Finland
Started by DogToffee |
4 Replies
3,432 Views |
May 19, 2011, 08:35:49 pm by goodsamaritan |
||
Introducing Eric
Started by Projectile Vomit |
5 Replies
2,933 Views |
May 18, 2011, 11:25:47 pm by wodgina |
||
Sources of Vitamin A, C, E, and Folate
Started by Techydude |
3 Replies
3,644 Views |
May 18, 2011, 01:36:23 am by Blueknight |
||
Newcomer needs some expert advice
Started by zbr5 |
3 Replies
2,975 Views |
May 16, 2011, 12:15:32 am by zbr5 |
||
Bodybuilder Looking To Go Raw
Started by AJW91 |
7 Replies
4,871 Views |
May 14, 2011, 01:30:02 am by TylerDurden |
||
18 Replies
8,286 Views |
May 12, 2011, 05:44:22 am by goodsamaritan |
|||
6 Replies
3,765 Views |
May 10, 2011, 08:59:45 am by ColeJames |
|||
Salutations from a Recent Convert!
Started by zeno |
3 Replies
2,589 Views |
May 08, 2011, 07:08:00 am by zeno |
||
hi
Started by elysianisis |
10 Replies
4,868 Views |
May 08, 2011, 12:51:33 am by achillezzz |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll