/* * 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 46 Guests are viewing this board. | ||||
|
|
40 Replies
30,066 Views |
by raw-al |
|
|
|
40 Replies
26,907 Views |
by Dorothy |
|
|
|
Help buying a dehydrator :)
Started by PaleoPatsy « 1 2 » |
40 Replies
23,313 Views |
by surfsteve |
|
|
41 Replies
33,770 Views |
by Dorothy |
|
|
|
41 Replies
24,409 Views |
by Pammie |
|
|
|
cellulite
Started by littleElefant « 1 2 » |
41 Replies
29,017 Views |
by venk1986 |
|
|
42 Replies
24,367 Views |
by klowcarb |
|
|
|
Qs re Candida and leaky gut-
Started by bunnycat74 « 1 2 » |
43 Replies
41,970 Views |
by political atheist |
|
|
43 Replies
31,595 Views |
by TylerDurden |
|
|
|
Depression ? Can I use this diet to get off my meds?
Started by ontheroadnyc « 1 2 » |
45 Replies
27,227 Views |
by pioneer |
|
|
Science of Tooth Yellowing and Decay
Started by a_real_man « 1 2 » |
46 Replies
37,615 Views |
by smilebreathe |
|
|
47 Replies
35,006 Views |
by klowcarb |
|
|
|
47 Replies
28,562 Views |
by Stephanie07 |
|
|
|
48 Replies
35,538 Views |
by Alive |
|
|
|
48 Replies
29,536 Views |
by raw-al |
|
|
|
48 Replies
26,989 Views |
by van |
|
|
|
49 Replies
26,657 Views |
by Brad462 |
|
|
|
My 8 year old son has been diagnosed with tuberculosis
Started by goodsamaritan « 1 2 3 » |
51 Replies
30,470 Views |
by RawZi |
|
|
51 Replies
38,916 Views |
by RawZi |
|
|
|
52 Replies
32,919 Views |
by MaximilianKohler |
|
|
|
migraines caused by high carb?
Started by chris h laing « 1 2 3 » |
52 Replies
36,529 Views |
by TylerDurden |
|
|
54 Replies
33,439 Views |
by goodsamaritan |
|
|
|
57 Replies
35,552 Views |
by redfulcrum |
|
|
|
58 Replies
44,794 Views |
by cherimoya_kid |
|
|
|
59 Replies
41,849 Views |
by klowcarb |
|
|
|
60 Replies
48,272 Views |
by Waquini |
|
|
|
Depression success stories?
Started by Charlie4444 « 1 2 3 » |
62 Replies
40,430 Views |
by goodsamaritan |
|
|
63 Replies
34,587 Views |
by achillezzz |
|
|
|
67 Replies
62,365 Views |
by joejac |
|
|
|
68 Replies
57,424 Views |
by rami999 |
|
|
|
69 Replies
61,481 Views |
by PaleoPhil |
|
|
|
70 Replies
43,951 Views |
by LePatron7 |
|
|
|
Egg Yolk Liver Flushing: The Paleo Liver Flush
Started by goodsamaritan « 1 2 3 » |
71 Replies
95,011 Views |
by political atheist |
|
|
72 Replies
51,045 Views |
by cherimoya_kid |
|
|
|
The downside of raw paleo, tiredness?
Started by Charlie4444 « 1 2 3 » |
74 Replies
45,272 Views |
by cherimoya_kid |
|
|
ALL VACCINES are dangerous to human health. Reject them ALL.
Started by goodsamaritan « 1 2 3 4 » |
77 Replies
46,913 Views |
by PaleoPhil |
|
|
warning - take this seriously
Started by Charlie4444 « 1 2 3 4 » |
77 Replies
42,440 Views |
by svrn |
|
|
89 Replies
50,053 Views |
by pioneer |
|
|
|
106 Replies
67,115 Views |
by LePatron7 |
|
|
|
154 Replies
93,532 Views |
by Inger |
|
|
|
157 Replies
113,167 Views |
by Suiren |
|
|
|
158 Replies
77,600 Views |
by goodsamaritan |
|
|
|
164 Replies
104,989 Views |
by PaleoPhil |
|
|
|
229 Replies
155,751 Views |
by goodsamaritan |
|
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll