/* * 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 3 Guests are viewing this board. | ||||
help on workout videos
Started by ididItagain |
5 Replies
4,738 Views |
February 02, 2010, 03:37:23 pm by kurite |
||
Insulin Spike last thing
Started by sleepstalker |
6 Replies
6,502 Views |
January 28, 2010, 06:56:00 pm by roony |
||
26 Replies
19,276 Views |
December 13, 2009, 09:51:57 am by MartinT |
|||
awesome Crossfit workout.
Started by TheWayCreatesTheWarrior « 1 2 » |
34 Replies
26,325 Views |
November 20, 2009, 03:33:01 am by serra01 |
||
0 Replies
3,631 Views |
November 18, 2009, 03:06:34 am by Spearhead |
|||
Workout like a CHAMP
Started by SkinnyDevil |
19 Replies
12,644 Views |
September 30, 2009, 08:55:16 pm by SkinnyDevil |
||
3 Replies
3,908 Views |
September 28, 2009, 08:21:50 pm by SkinnyDevil |
|||
Exercise Study
Started by TylerDurden |
8 Replies
9,903 Views |
September 21, 2009, 04:56:44 am by djr_81 |
||
strongman
Started by TheWayCreatesTheWarrior |
6 Replies
7,301 Views |
September 15, 2009, 10:30:43 pm by DeadRamones |
||
16 Replies
13,542 Views |
September 03, 2009, 10:18:52 am by miles |
|||
21 Replies
17,484 Views |
August 25, 2009, 08:45:33 am by The Barbarian |
|||
physique
Started by The Barbarian |
7 Replies
6,644 Views |
August 22, 2009, 10:00:14 am by The Barbarian |
||
Injury Recovery
Started by SkinnyDevil |
11 Replies
9,002 Views |
June 16, 2009, 11:41:08 pm by goodsamaritan |
||
Art DeVany's Top 10 Reasons not to run a Marathon
Started by Satya |
16 Replies
14,632 Views |
June 11, 2009, 07:57:00 am by LvB |
||
Running and crapping
Started by Guittarman03 |
10 Replies
8,954 Views |
April 20, 2009, 02:52:07 am by Guittarman03 |
||
0 Replies
5,793 Views |
October 25, 2008, 05:22:07 pm by TylerDurden |
|||
exercise > weight loss?
Started by coconinoz |
2 Replies
4,352 Views |
October 24, 2008, 05:48:45 pm by TylerDurden |
||
14 Replies
13,485 Views |
October 22, 2008, 06:15:29 am by sanborn |
|||
Belli swing
Started by Nicola |
0 Replies
3,890 Views |
October 02, 2008, 02:48:55 am by Nicola |
||
Fat and Protein
Started by Sully |
2 Replies
4,706 Views |
September 11, 2008, 03:08:28 am by Sully |
||
26 Replies
24,059 Views |
August 29, 2008, 08:00:22 am by Raw Kyle |
|||
fighting is paleo
Started by Satya |
7 Replies
9,348 Views |
July 08, 2008, 12:25:16 am by Sully |
||
Study on Muscle Fibers
Started by lex_rooker |
0 Replies
7,179 Views |
June 29, 2008, 12:24:54 am by lex_rooker |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll