/* * 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 38 Guests are viewing this board. | ||||
4 Replies
2,446 Views |
March 30, 2010, 04:24:12 am by RawZi |
|||
12 Replies
5,291 Views |
March 26, 2010, 12:26:18 pm by RawZi |
|||
25 Replies
10,649 Views |
March 25, 2010, 08:46:35 am by goodsamaritan |
|||
Color and Appetite
Started by RawZi |
6 Replies
4,351 Views |
March 22, 2010, 01:07:48 am by Vraellie |
||
McDonalds "high" Happy-Meal
Started by majormark |
0 Replies
1,625 Views |
March 20, 2010, 03:38:26 pm by majormark |
||
0 Replies
1,509 Views |
March 15, 2010, 02:24:11 am by TylerDurden |
|||
Who's Paying This Doctor?
Started by RawZi |
8 Replies
5,032 Views |
March 14, 2010, 10:05:31 am by PaleoPhil |
||
8 Replies
4,443 Views |
March 14, 2010, 08:48:56 am by raw-al |
|||
Eau de Cancer
Started by miles |
9 Replies
3,904 Views |
March 14, 2010, 04:21:09 am by TylerDurden |
||
TylerDurden: Accident & offline for weeks
Started by TylerDurden « 1 2 3 » |
59 Replies
21,198 Views |
March 10, 2010, 10:37:25 pm by TylerDurden |
||
1 Replies
2,071 Views |
March 09, 2010, 01:32:43 pm by RawZi |
|||
MOVED: truth. you shall find.
Started by TylerDurden |
0 Replies
1,508 Views |
March 09, 2010, 01:17:42 am by TylerDurden |
||
I just heard of breatharianism!
Started by kurite |
8 Replies
4,565 Views |
March 08, 2010, 06:55:58 am by kurite |
||
How it happened back then
Started by majormark |
1 Replies
1,779 Views |
March 05, 2010, 11:16:04 pm by cherimoya_kid |
||
Minor issues
Started by TylerDurden |
7 Replies
3,227 Views |
March 03, 2010, 09:53:57 am by klowcarb |
||
Being a tyrant on my birthday =D
Started by Dwight |
7 Replies
3,423 Views |
February 27, 2010, 12:05:27 am by Dwight |
||
Lower French Restaurant Standards
Started by TylerDurden |
3 Replies
2,206 Views |
February 25, 2010, 07:26:45 pm by alphagruis |
||
Making youtube videos
Started by TylerDurden |
1 Replies
1,868 Views |
February 25, 2010, 04:01:28 pm by majormark |
||
11 Replies
4,190 Views |
February 25, 2010, 01:09:29 pm by PaleoPhil |
|||
cool video about pollution
Started by majormark |
1 Replies
1,865 Views |
February 24, 2010, 06:21:51 am by kurite |
||
7 Replies
4,344 Views |
February 23, 2010, 11:53:55 pm by SkinnyDevil |
|||
10 Replies
4,343 Views |
February 23, 2010, 12:53:28 pm by kurite |
|||
4 Replies
3,476 Views |
February 18, 2010, 03:10:14 am by Megan Megatoast |
|||
Air Pollution Article
Started by TylerDurden |
1 Replies
1,902 Views |
February 17, 2010, 09:23:21 am by cherimoya_kid |
||
1 Replies
1,663 Views |
February 17, 2010, 05:17:04 am by TylerDurden |
|||
Minor concern
Started by TylerDurden |
1 Replies
1,845 Views |
February 16, 2010, 09:18:49 pm by SkinnyDevil |
||
Youtube rawpalaeo videos
Started by TylerDurden |
2 Replies
2,113 Views |
February 15, 2010, 10:35:22 pm by TylerDurden |
||
Raw meat eating in Ethiopia
Started by TylerDurden |
0 Replies
1,623 Views |
February 15, 2010, 09:17:39 pm by TylerDurden |
||
Cordain Newsletter
Started by TylerDurden |
0 Replies
1,820 Views |
February 15, 2010, 06:06:48 pm by TylerDurden |
||
1 Replies
2,031 Views |
February 14, 2010, 02:13:57 am by PaleoPhil |
|||
Social Scientists
Started by William |
0 Replies
1,550 Views |
February 13, 2010, 10:11:13 am by William |
||
Anyone tried low deuterium water?
Started by majormark |
0 Replies
2,382 Views |
February 13, 2010, 06:03:40 am by majormark |
||
Unusual media article
Started by TylerDurden |
4 Replies
2,931 Views |
February 12, 2010, 10:30:07 am by PaleoPhil |
||
Who is who among the testimonials?
Started by me |
6 Replies
2,925 Views |
February 12, 2010, 09:57:23 am by cherimoya_kid |
||
12 Replies
6,125 Views |
February 11, 2010, 05:34:51 pm by alphagruis |
|||
Fun news
Started by William |
1 Replies
1,792 Views |
February 10, 2010, 06:26:36 am by jessica |
||
Salamanders anyone?
Started by Megan Megatoast |
11 Replies
4,871 Views |
February 07, 2010, 09:22:01 pm by PaleoPhil |
||
health freedom
Started by jessica |
0 Replies
2,331 Views |
February 06, 2010, 10:13:53 pm by jessica |
||
The most paleo-related movie i know of
Started by Nation |
2 Replies
2,428 Views |
February 04, 2010, 09:27:12 pm by majormark |
||
Sunbathing boosts testosterone
Started by TylerDurden |
10 Replies
7,181 Views |
February 03, 2010, 11:21:25 pm by jessica |
||
Other forums?
Started by TylerDurden |
2 Replies
2,667 Views |
February 03, 2010, 05:04:29 pm by majormark |
||
True or False
Started by TylerDurden « 1 2 3 » |
66 Replies
20,166 Views |
February 03, 2010, 04:16:53 am by TylerDurden |
||
Cordain newsletter
Started by TylerDurden |
0 Replies
3,680 Views |
February 03, 2010, 03:42:14 am by TylerDurden |
||
Raw Foodism Wikipedia entry comments
Started by TylerDurden |
4 Replies
2,692 Views |
February 01, 2010, 06:30:14 am by William |
||
Interesting article about wilderness
Started by TylerDurden |
0 Replies
1,714 Views |
January 31, 2010, 09:18:30 pm by TylerDurden |
||
4 Replies
2,502 Views |
January 31, 2010, 04:25:51 am by William |
|||
1 Replies
1,729 Views |
January 29, 2010, 11:24:02 am by goodsamaritan |
|||
9 Replies
4,008 Views |
January 29, 2010, 08:12:16 am by RawZi |
|||
7 Replies
3,982 Views |
January 29, 2010, 01:56:52 am by William |
|||
1 Replies
2,317 Views |
January 28, 2010, 09:31:19 pm by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll