/* * 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 315 Guests are viewing this board. | ||||
![]() |
![]() |
5 Replies
9,958 Views |
![]() by mango |
|
![]() |
![]() |
Scott's Instincto Thing
Started by scottjmurray |
3 Replies
7,802 Views |
![]() by scottjmurray |
![]() |
![]() |
263 Replies
158,221 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
I want to live again
Started by blobby |
1 Replies
5,859 Views |
![]() by eveheart |
![]() |
![]() |
All illness and raw paleo
Started by LePatron7 |
6 Replies
8,716 Views |
![]() by LePatron7 |
![]() |
![]() |
letsdoiteczema's Experiments
Started by letsdoiteczema « 1 2 » |
49 Replies
31,434 Views |
![]() by letsdoiteczema |
![]() |
![]() |
100 Replies
59,254 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Hotmail's Journal
Started by Hotmail |
17 Replies
13,249 Views |
![]() by Hotmail |
![]() |
![]() |
DaBoss88's Journal
Started by LePatron7 |
4 Replies
6,411 Views |
![]() by LePatron7 |
![]() |
![]() |
10 Replies
9,387 Views |
![]() by Suiren |
|
![]() |
![]() |
black rhinos journal
Started by blackrhino |
18 Replies
11,866 Views |
![]() by TylerDurden |
![]() |
![]() |
48 Replies
28,582 Views |
![]() by Dorothy |
|
![]() |
![]() |
34 Replies
22,915 Views |
![]() by Lynnzard |
|
![]() |
![]() |
25 Replies
19,916 Views |
![]() by jessica |
|
![]() |
![]() |
Zym's Journal
Started by Fermenter Zym |
20 Replies
13,284 Views |
![]() by Adora |
![]() |
![]() |
45 Replies
26,789 Views |
![]() by jessica |
|
![]() |
![]() |
112 Replies
61,850 Views |
![]() by zeno |
|
![]() |
![]() |
Mario's Journal
Started by Mario |
1 Replies
3,959 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Mark's food log
Started by MarkC |
2 Replies
4,409 Views |
![]() by MarkC |
![]() |
![]() |
Sabertooths wildlife sanctuary
Started by sabertooth |
3 Replies
5,456 Views |
![]() by sabertooth |
![]() |
![]() |
Sile's Journal
Started by Aaaaaa |
3 Replies
5,050 Views |
![]() by RawZi |
![]() |
![]() |
94 Replies
49,714 Views |
![]() by magnetic |
|
![]() |
![]() |
80 Replies
41,939 Views |
![]() by RawZi |
|
![]() |
![]() |
78 Replies
48,250 Views |
![]() by KD |
|
![]() |
![]() |
Dan's Low Carb Journey
Started by dmoffett |
1 Replies
4,266 Views |
![]() by TylerDurden |
![]() |
![]() |
Not a good way to start a journal
Started by RogueFarmer |
1 Replies
3,893 Views |
![]() by RogueFarmer |
![]() |
![]() |
134 Replies
63,444 Views |
![]() by klowcarb |
|
![]() |
![]() |
4 Replies
5,448 Views |
![]() by zbr5 |
|
![]() |
![]() |
CHK1991's Journal
Started by CHK91 |
23 Replies
16,505 Views |
![]() by CHK91 |
![]() |
![]() |
50 Replies
22,325 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
Sally's food-fitness journal
Started by Sally S. |
7 Replies
7,028 Views |
![]() by Sally S. |
![]() |
![]() |
Jason's Raw Paleo Experience Journal
Started by jasongitar |
18 Replies
10,772 Views |
![]() by jasongitar |
![]() |
![]() |
2 Replies
3,920 Views |
![]() by Ioanna |
|
![]() |
![]() |
Larry's Journal
Started by larrymagee « 1 2 » |
38 Replies
22,432 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
nummytummy's journey to raw paleo
Started by nummytummy |
1 Replies
4,847 Views |
![]() by Isthmus |
![]() |
![]() |
59 Replies
32,917 Views |
![]() by achillezzz |
|
![]() |
![]() |
My experiences so far
Started by MoonStalkeR « 1 2 » |
31 Replies
18,691 Views |
![]() by MoonStalkeR |
![]() |
![]() |
84 Replies
46,327 Views |
![]() by Caveman |
|
![]() |
![]() |
332 Replies
169,463 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
55 Replies
33,488 Views |
![]() by Louna |
|
![]() |
![]() |
175 Replies
102,373 Views |
![]() by KD |
|
![]() |
![]() |
Journal by James
Started by jms8220 |
2 Replies
5,211 Views |
![]() by jms8220 |
![]() |
![]() |
journal by leah
Started by zaida |
11 Replies
8,753 Views |
![]() by van |
![]() |
![]() |
Ray's Journal
Started by riy freeman |
21 Replies
13,501 Views |
![]() by miles |
![]() |
![]() |
The Daily Chop
Started by SteakNchop « 1 2 » |
31 Replies
19,194 Views |
![]() by SteakNchop |
![]() |
![]() |
Sam's Journal
Started by Taste Sense |
22 Replies
14,391 Views |
![]() by djr_81 |
![]() |
![]() |
27 Replies
16,683 Views |
![]() by yuli |
|
![]() |
![]() |
Andvanwyk's journal
Started by andvanwyk |
8 Replies
8,987 Views |
![]() by andvanwyk |
![]() |
![]() |
101 Replies
54,164 Views |
![]() by raw |
|
![]() |
![]() |
Health blog I been working on.
Started by DeadRamones |
0 Replies
3,774 Views |
![]() by DeadRamones |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll