/* * 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 14 Guests are viewing this board. | ||||
47 Replies
33,112 Views |
April 13, 2012, 05:35:44 pm by Waquini |
|||
6 Replies
6,265 Views |
May 01, 2010, 08:13:44 pm by SkinnyDevil |
|||
Treadmill vs Elliptical Trainer
Started by alicefred |
3 Replies
5,186 Views |
July 01, 2010, 05:20:14 am by klowcarb |
||
Ultimate Martial Arts
Started by TylerDurden « 1 2 3 4 » |
99 Replies
48,210 Views |
September 15, 2010, 08:13:40 pm by SkinnyDevil |
||
Upper Body Exercises
Started by zeno |
20 Replies
20,233 Views |
April 08, 2014, 03:21:41 am by Pammie |
||
Vibram Five Fingers: US stockist
Started by Wattlebird |
10 Replies
15,415 Views |
December 03, 2012, 01:26:05 pm by lex_rooker |
||
Weight training at home with a minimal setup
Started by Josh |
13 Replies
9,479 Views |
May 15, 2011, 01:45:38 pm by Josh |
||
28 Replies
23,120 Views |
July 14, 2012, 09:24:04 am by mhikl |
|||
2 Replies
4,236 Views |
May 06, 2011, 08:38:38 am by KD |
|||
What is our objective?
Started by amulya |
1 Replies
3,012 Views |
April 27, 2010, 02:58:28 pm by goodsamaritan |
||
19 Replies
18,185 Views |
November 16, 2018, 10:07:38 pm by Grey-Cup |
|||
3 Replies
3,913 Views |
September 28, 2009, 08:21:50 pm by SkinnyDevil |
|||
What to eat and what to not eat?
Started by hilton |
12 Replies
13,772 Views |
July 04, 2013, 08:24:40 am by Dr. D |
||
4 Replies
6,404 Views |
July 19, 2012, 11:22:48 am by Dorothy |
|||
Whey Protein Isolate on Paleo Diet
Started by walidsarkis3 |
0 Replies
1,310 Views |
February 27, 2023, 10:17:30 pm by walidsarkis3 |
||
65 Replies
35,055 Views |
January 05, 2012, 08:16:43 am by PaleoPhil |
|||
7 Replies
6,912 Views |
June 01, 2017, 08:10:56 pm by TylerDurden |
|||
working out while slightly sore
Started by svrn |
7 Replies
8,857 Views |
March 08, 2013, 03:47:14 pm by aLptHW4k4y |
||
Working, Training, Eating, Sleeping...how?
Started by Josh |
2 Replies
7,861 Views |
July 09, 2010, 03:26:29 pm by Josh |
||
Workout like a CHAMP
Started by SkinnyDevil |
19 Replies
12,655 Views |
September 30, 2009, 08:55:16 pm by SkinnyDevil |
||
1 Replies
5,358 Views |
June 17, 2012, 01:52:43 pm by Dorothy |
|||
young powerlifter
Started by svrn |
21 Replies
19,454 Views |
June 06, 2013, 05:24:02 pm by Benedict |
||
Zero Carb bodybuilders/weight lifters?
Started by Josh |
6 Replies
6,096 Views |
April 28, 2011, 05:11:51 am by Josh |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll