/* * 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 100 Guests are viewing this board. | ||||
![]() |
![]() |
help on workout videos
Started by ididItagain |
5 Replies
5,914 Views |
![]() by kurite |
![]() |
![]() |
Insulin Spike last thing
Started by sleepstalker |
6 Replies
7,962 Views |
![]() by roony |
![]() |
![]() |
26 Replies
26,167 Views |
![]() by MartinT |
|
![]() |
![]() |
awesome Crossfit workout.
Started by TheWayCreatesTheWarrior « 1 2 » |
34 Replies
32,321 Views |
![]() by serra01 |
![]() |
![]() |
0 Replies
4,330 Views |
![]() by Spearhead |
|
![]() |
![]() |
Workout like a CHAMP
Started by SkinnyDevil |
19 Replies
15,067 Views |
![]() by SkinnyDevil |
![]() |
![]() |
3 Replies
4,923 Views |
![]() by SkinnyDevil |
|
![]() |
![]() |
Exercise Study
Started by TylerDurden |
8 Replies
11,498 Views |
![]() by djr_81 |
![]() |
![]() |
strongman
Started by TheWayCreatesTheWarrior |
6 Replies
10,357 Views |
![]() by DeadRamones |
![]() |
![]() |
16 Replies
18,373 Views |
![]() by miles |
|
![]() |
![]() |
21 Replies
20,883 Views |
![]() by The Barbarian |
|
![]() |
![]() |
physique
Started by The Barbarian |
7 Replies
8,257 Views |
![]() by The Barbarian |
![]() |
![]() |
Injury Recovery
Started by SkinnyDevil |
11 Replies
10,689 Views |
![]() by goodsamaritan |
![]() |
![]() |
Art DeVany's Top 10 Reasons not to run a Marathon
Started by Satya |
16 Replies
19,349 Views |
![]() by LvB |
![]() |
![]() |
Running and crapping
Started by Guittarman03 |
10 Replies
10,872 Views |
![]() by Guittarman03 |
![]() |
![]() |
0 Replies
8,001 Views |
![]() by TylerDurden |
|
![]() |
![]() |
exercise > weight loss?
Started by coconinoz |
2 Replies
6,815 Views |
![]() by TylerDurden |
![]() |
![]() |
14 Replies
17,170 Views |
![]() by sanborn |
|
![]() |
![]() |
Belli swing
Started by Nicola |
0 Replies
6,107 Views |
![]() by Nicola |
![]() |
![]() |
Fat and Protein
Started by Sully |
2 Replies
7,128 Views |
![]() by Sully |
![]() |
![]() |
26 Replies
29,105 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
fighting is paleo
Started by Satya |
7 Replies
12,363 Views |
![]() by Sully |
![]() |
![]() |
Study on Muscle Fibers
Started by lex_rooker |
0 Replies
9,588 Views |
![]() by lex_rooker |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll