/* * 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 44 Guests are viewing this board. | ||||
![]() |
![]() |
Coming Clean
Started by stevesurv |
10 Replies
7,025 Views |
![]() by Raw Kyle |
![]() |
![]() |
Tell me 25 things about yourself
Started by TylerDurden |
11 Replies
7,085 Views |
![]() by Sully |
![]() |
![]() |
my cat is missing
Started by Raw Kyle |
14 Replies
7,611 Views |
![]() by Raw Kyle |
![]() |
![]() |
Happy Birthday Carnivore!
Started by Satya |
1 Replies
2,820 Views |
![]() by xylothrill |
![]() |
![]() |
Happy Birthday, TylerDurden!!!!!!!!!!!!!
Started by xylothrill |
6 Replies
4,672 Views |
![]() by TylerDurden |
![]() |
![]() |
7 Replies
6,739 Views |
![]() by TylerDurden |
|
![]() |
![]() |
"Into the Wild" SPOILER!!
Started by boxcarguy07 |
15 Replies
8,943 Views |
![]() by TheWayCreatesTheWarrior |
![]() |
![]() |
Happy Birthday Sully!
Started by Satya |
10 Replies
6,674 Views |
![]() by goodsamaritan |
![]() |
![]() |
BEWARE! SCAM MAIL!
Started by xylothrill |
5 Replies
4,717 Views |
![]() by TylerDurden |
![]() |
![]() |
Kung Fu Hustle
Started by avalon |
5 Replies
4,824 Views |
![]() by avalon |
![]() |
![]() |
Lex's latest project
Started by lex_rooker |
8 Replies
6,929 Views |
![]() by Raw Kyle |
![]() |
![]() |
I got a job!
Started by Raw Kyle |
13 Replies
7,919 Views |
![]() by TylerDurden |
![]() |
![]() |
Website
Started by TylerDurden |
3 Replies
4,133 Views |
![]() by xylothrill |
![]() |
![]() |
calling all people who read science
Started by Raw Kyle |
3 Replies
3,871 Views |
![]() by Satya |
![]() |
![]() |
New Theme and Banner
Started by xylothrill |
3 Replies
3,468 Views |
![]() by Satya |
![]() |
![]() |
Are You Enjoying the Fake Olympics?
Started by boxcarguy07 |
14 Replies
7,988 Views |
![]() by wodgina |
![]() |
![]() |
Where are you from?
Started by TylerDurden |
7 Replies
5,339 Views |
![]() by goodsamaritan |
![]() |
![]() |
What are you doing?
Started by TylerDurden |
3 Replies
3,599 Views |
![]() by TylerDurden |
![]() |
![]() |
Happy Birthday Kristelle!
Started by Satya |
2 Replies
3,060 Views |
![]() by boxcarguy07 |
![]() |
![]() |
The most beautiful places on Earth!!
Started by TylerDurden |
7 Replies
8,033 Views |
![]() by boxcarguy07 |
![]() |
![]() |
MOVED: Religions
Started by Craig |
0 Replies
2,884 Views |
![]() by Craig |
![]() |
![]() |
MOVED: Religion
Started by Craig |
0 Replies
2,831 Views |
![]() by Craig |
![]() |
![]() |
Maggots Help Recovery
Started by TylerDurden |
0 Replies
3,126 Views |
![]() by TylerDurden |
![]() |
![]() |
A poem
Started by Metallica |
3 Replies
4,711 Views |
![]() by Satya |
![]() |
![]() |
Calorie Restriction
Started by wodgina |
1 Replies
3,767 Views |
![]() by akaikumo |
![]() |
![]() |
24 Replies
20,418 Views |
![]() by akaikumo |
|
![]() |
![]() |
Happy Birthday Yuri!!!
Started by Satya |
4 Replies
3,825 Views |
![]() by akaikumo |
![]() |
![]() |
Happy Birthday Keith!
Started by Satya |
8 Replies
5,401 Views |
![]() by boxcarguy07 |
![]() |
![]() |
Offbeat/Satiric music
Started by TylerDurden |
7 Replies
5,282 Views |
![]() by xylothrill |
![]() |
![]() |
Other (Non-Diet-Related) Paths
Started by TylerDurden |
9 Replies
7,468 Views |
![]() by TylerDurden |
![]() |
![]() |
Happy Birthday Nicola!
Started by Satya |
9 Replies
6,578 Views |
![]() by xylothrill |
![]() |
![]() |
Poop & Pee Outside
Started by Sully |
13 Replies
9,455 Views |
![]() by xylothrill |
![]() |
![]() |
Happy Birthday Kyle
Started by Satya |
5 Replies
4,471 Views |
![]() by Kristelle |
![]() |
![]() |
Dvorak vs. QUERTY
Started by xylothrill |
0 Replies
3,008 Views |
![]() by xylothrill |
![]() |
![]() |
The Conch Republic
Started by xylothrill |
0 Replies
3,006 Views |
![]() by xylothrill |
![]() |
![]() |
3 Replies
3,882 Views |
![]() by xylothrill |
|
![]() |
![]() |
the original Technoviking
Started by TheWayCreatesTheWarrior |
2 Replies
3,457 Views |
![]() by xylothrill |
![]() |
![]() |
Air-Pollution In California
Started by TylerDurden |
5 Replies
5,492 Views |
![]() by lex_rooker |
![]() |
![]() |
1 Replies
3,729 Views |
![]() by xylothrill |
|
![]() |
![]() |
0 Replies
4,135 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
8,993 Views |
![]() by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll