/* * 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 71 Guests are viewing this board. | ||||
![]() |
![]() |
cron-o-meter is amazing!
Started by kurite |
8 Replies
28,910 Views |
![]() by Wolf |
![]() |
![]() |
3 Replies
12,974 Views |
![]() by Susadele |
|
![]() |
![]() |
557 Replies
363,266 Views |
![]() by sabertooth |
|
![]() |
![]() |
935 Replies
563,081 Views |
![]() by MarkR |
|
![]() |
![]() |
0 Replies
8,989 Views |
![]() by TylerDurden |
|
![]() |
![]() |
0 Replies
4,132 Views |
![]() by TylerDurden |
|
![]() |
![]() |
1 Replies
3,729 Views |
![]() by xylothrill |
|
![]() |
![]() |
Air-Pollution In California
Started by TylerDurden |
5 Replies
5,475 Views |
![]() by lex_rooker |
![]() |
![]() |
the original Technoviking
Started by TheWayCreatesTheWarrior |
2 Replies
3,452 Views |
![]() by xylothrill |
![]() |
![]() |
3 Replies
3,874 Views |
![]() by xylothrill |
|
![]() |
![]() |
The Conch Republic
Started by xylothrill |
0 Replies
3,001 Views |
![]() by xylothrill |
![]() |
![]() |
Dvorak vs. QUERTY
Started by xylothrill |
0 Replies
2,999 Views |
![]() by xylothrill |
![]() |
![]() |
Happy Birthday Kyle
Started by Satya |
5 Replies
4,460 Views |
![]() by Kristelle |
![]() |
![]() |
Poop & Pee Outside
Started by Sully |
13 Replies
9,428 Views |
![]() by xylothrill |
![]() |
![]() |
Happy Birthday Nicola!
Started by Satya |
9 Replies
6,560 Views |
![]() by xylothrill |
![]() |
![]() |
Other (Non-Diet-Related) Paths
Started by TylerDurden |
9 Replies
7,440 Views |
![]() by TylerDurden |
![]() |
![]() |
Offbeat/Satiric music
Started by TylerDurden |
7 Replies
5,273 Views |
![]() by xylothrill |
![]() |
![]() |
Happy Birthday Keith!
Started by Satya |
8 Replies
5,392 Views |
![]() by boxcarguy07 |
![]() |
![]() |
Happy Birthday Yuri!!!
Started by Satya |
4 Replies
3,820 Views |
![]() by akaikumo |
![]() |
![]() |
24 Replies
20,399 Views |
![]() by akaikumo |
|
![]() |
![]() |
Calorie Restriction
Started by wodgina |
1 Replies
3,763 Views |
![]() by akaikumo |
![]() |
![]() |
A poem
Started by Metallica |
3 Replies
4,706 Views |
![]() by Satya |
![]() |
![]() |
Maggots Help Recovery
Started by TylerDurden |
0 Replies
3,119 Views |
![]() by TylerDurden |
![]() |
![]() |
MOVED: Religion
Started by Craig |
0 Replies
2,827 Views |
![]() by Craig |
![]() |
![]() |
MOVED: Religions
Started by Craig |
0 Replies
2,881 Views |
![]() by Craig |
![]() |
![]() |
The most beautiful places on Earth!!
Started by TylerDurden |
7 Replies
8,027 Views |
![]() by boxcarguy07 |
![]() |
![]() |
Happy Birthday Kristelle!
Started by Satya |
2 Replies
3,057 Views |
![]() by boxcarguy07 |
![]() |
![]() |
What are you doing?
Started by TylerDurden |
3 Replies
3,596 Views |
![]() by TylerDurden |
![]() |
![]() |
Where are you from?
Started by TylerDurden |
7 Replies
5,333 Views |
![]() by goodsamaritan |
![]() |
![]() |
Are You Enjoying the Fake Olympics?
Started by boxcarguy07 |
14 Replies
7,969 Views |
![]() by wodgina |
![]() |
![]() |
New Theme and Banner
Started by xylothrill |
3 Replies
3,465 Views |
![]() by Satya |
![]() |
![]() |
calling all people who read science
Started by Raw Kyle |
3 Replies
3,861 Views |
![]() by Satya |
![]() |
![]() |
Website
Started by TylerDurden |
3 Replies
4,130 Views |
![]() by xylothrill |
![]() |
![]() |
I got a job!
Started by Raw Kyle |
13 Replies
7,914 Views |
![]() by TylerDurden |
![]() |
![]() |
Lex's latest project
Started by lex_rooker |
8 Replies
6,917 Views |
![]() by Raw Kyle |
![]() |
![]() |
Kung Fu Hustle
Started by avalon |
5 Replies
4,815 Views |
![]() by avalon |
![]() |
![]() |
BEWARE! SCAM MAIL!
Started by xylothrill |
5 Replies
4,710 Views |
![]() by TylerDurden |
![]() |
![]() |
Happy Birthday Sully!
Started by Satya |
10 Replies
6,667 Views |
![]() by goodsamaritan |
![]() |
![]() |
"Into the Wild" SPOILER!!
Started by boxcarguy07 |
15 Replies
8,931 Views |
![]() by TheWayCreatesTheWarrior |
![]() |
![]() |
7 Replies
6,728 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Happy Birthday, TylerDurden!!!!!!!!!!!!!
Started by xylothrill |
6 Replies
4,664 Views |
![]() by TylerDurden |
![]() |
![]() |
Happy Birthday Carnivore!
Started by Satya |
1 Replies
2,817 Views |
![]() by xylothrill |
![]() |
![]() |
my cat is missing
Started by Raw Kyle |
14 Replies
7,604 Views |
![]() by Raw Kyle |
![]() |
![]() |
Tell me 25 things about yourself
Started by TylerDurden |
11 Replies
7,062 Views |
![]() by Sully |
![]() |
![]() |
Coming Clean
Started by stevesurv |
10 Replies
7,020 Views |
![]() by Raw Kyle |
![]() |
![]() |
PETA's amusing idea
Started by TylerDurden |
1 Replies
6,284 Views |
![]() by boxcarguy07 |
![]() |
![]() |
73 Replies
32,565 Views |
![]() by TylerDurden |
|
![]() |
![]() |
10 Replies
8,859 Views |
![]() by Satya |
|
![]() |
![]() |
Happy Birthday, Michael!
Started by xylothrill |
0 Replies
3,050 Views |
![]() by xylothrill |
![]() |
![]() |
Happy Birthday GoodSamaritan!!!!!!!!
Started by xylothrill |
1 Replies
3,215 Views |
![]() by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll