/* * 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 16 Guests are viewing this board. | ||||
0 Replies
4,219 Views |
March 03, 2016, 10:39:16 pm by goodsamaritan |
|||
0 Replies
5,107 Views |
December 27, 2015, 12:44:23 am by goodsamaritan |
|||
4 Replies
8,338 Views |
November 17, 2015, 08:43:44 am by raw |
|||
5 Replies
8,727 Views |
November 17, 2015, 03:00:21 am by raw |
|||
Probiotics; fecal transplants.
Started by MaximilianKohler |
4 Replies
8,518 Views |
November 02, 2015, 04:35:55 pm by MaximilianKohler |
||
3 Replies
6,779 Views |
September 13, 2015, 10:53:05 am by cherimoya_kid |
|||
The Case of Monogamy
Started by goodsamaritan |
0 Replies
4,774 Views |
September 11, 2015, 11:26:25 am by goodsamaritan |
||
1 Replies
6,395 Views |
September 07, 2015, 01:12:51 am by cherimoya_kid |
|||
14 Replies
17,549 Views |
August 31, 2015, 06:52:51 am by Projectile Vomit |
|||
2 Replies
6,155 Views |
August 20, 2015, 02:02:54 am by Projectile Vomit |
|||
5 Replies
9,163 Views |
August 18, 2015, 10:43:33 am by eveheart |
|||
0 Replies
4,426 Views |
August 14, 2015, 03:30:09 am by goodsamaritan |
|||
150 yr old lifespan now realistic
Started by goodsamaritan |
9 Replies
13,145 Views |
August 06, 2015, 03:06:48 am by TylerDurden |
||
3 Replies
5,922 Views |
July 20, 2015, 09:27:12 pm by eveheart |
|||
0 Replies
3,624 Views |
July 16, 2015, 07:53:17 am by goodsamaritan |
|||
0 Replies
3,390 Views |
July 12, 2015, 07:26:41 am by goodsamaritan |
|||
Telegony is a theory in heredity...
Started by goodsamaritan |
3 Replies
5,328 Views |
June 23, 2015, 07:42:43 am by goodsamaritan |
||
Happy Father's Day 2015!
Started by goodsamaritan |
0 Replies
2,377 Views |
June 22, 2015, 08:32:36 pm by goodsamaritan |
||
5 Replies
4,267 Views |
June 03, 2015, 11:54:25 pm by Taz |
|||
HOUSE BILL 91
Started by Raw Matt18 |
1 Replies
2,617 Views |
May 21, 2015, 02:01:45 am by TylerDurden |
||
34 Replies
19,480 Views |
May 02, 2015, 10:19:30 pm by TylerDurden |
|||
1 Replies
3,289 Views |
April 27, 2015, 02:02:43 am by JeuneKoq |
|||
2 Replies
2,867 Views |
April 06, 2015, 11:35:21 pm by dariorpl |
|||
9 Replies
7,790 Views |
March 21, 2015, 09:59:01 pm by PaleoPhil |
|||
0 Replies
2,306 Views |
March 12, 2015, 12:23:30 pm by raw |
|||
4 Replies
4,940 Views |
March 11, 2015, 07:11:58 pm by TylerDurden |
|||
0 Replies
2,745 Views |
February 14, 2015, 11:47:05 am by goodsamaritan |
|||
7 Replies
6,261 Views |
February 12, 2015, 09:38:21 am by goodsamaritan |
|||
Industrial hemp
Started by sabertooth |
5 Replies
4,465 Views |
February 08, 2015, 11:44:26 pm by jessica |
||
2 Replies
3,534 Views |
February 05, 2015, 11:00:51 am by Raw Matt18 |
|||
Trans pacific Partnership?
Started by sabertooth |
1 Replies
2,736 Views |
February 02, 2015, 07:13:46 am by goodsamaritan |
||
9 Replies
6,136 Views |
November 30, 2014, 02:17:49 am by JeuneKoq |
|||
0 Replies
2,104 Views |
November 18, 2014, 07:43:54 am by goodsamaritan |
|||
0 Replies
2,245 Views |
November 08, 2014, 07:14:21 pm by Ungullible |
|||
0 Replies
2,177 Views |
September 08, 2014, 09:44:12 pm by goodsamaritan |
|||
Raw Paleo Community!!
Started by GaiaYoga Gardens |
6 Replies
4,509 Views |
August 22, 2014, 10:38:47 am by GaiaYoga Gardens |
||
12 Replies
11,897 Views |
August 15, 2014, 02:55:41 am by FRANCIS HOWARD BOND |
|||
"Out of Africa" Theory Officially Debunked
Started by goodsamaritan « 1 2 » |
38 Replies
18,200 Views |
August 10, 2014, 10:19:36 pm by PaleoPhil |
||
Check out this Paleo Diet Inforgraphic
Started by dwelz |
4 Replies
3,047 Views |
August 05, 2014, 01:41:02 pm by Iguana |
||
ReWild Yourself! Magazine
Started by Projectile Vomit |
5 Replies
4,023 Views |
July 27, 2014, 02:28:29 pm by TylerDurden |
||
2 Replies
2,671 Views |
July 21, 2014, 01:37:42 am by sabertooth |
|||
0 Replies
2,157 Views |
July 18, 2014, 10:57:36 pm by goodsamaritan |
|||
3 Replies
2,457 Views |
June 30, 2014, 10:54:58 am by cherimoya_kid |
|||
Price check on Meat
Started by sabertooth « 1 2 » |
34 Replies
13,794 Views |
June 30, 2014, 02:14:05 am by sabertooth |
||
Bee ware
Started by sabertooth |
0 Replies
2,203 Views |
June 16, 2014, 07:10:48 am by sabertooth |
||
6 Replies
4,126 Views |
April 19, 2014, 08:55:13 am by sabertooth |
|||
21 Replies
13,397 Views |
March 03, 2014, 11:03:15 am by hadzabal |
|||
3 Replies
2,445 Views |
February 13, 2014, 01:43:26 am by goodsamaritan |
|||
0 Replies
1,875 Views |
February 13, 2014, 01:41:16 am by goodsamaritan |
|||
Inserting URL with the name showing
Started by raw-al |
2 Replies
2,268 Views |
January 31, 2014, 11:13:34 am by raw-al |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll