/* * 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 45 Guests are viewing this board. | ||||
Tell me 25 things about yourself
Started by TylerDurden |
11 Replies
6,058 Views |
September 24, 2008, 12:04:47 am by Sully |
||
my cat is missing
Started by Raw Kyle |
14 Replies
6,467 Views |
September 19, 2008, 10:51:16 am by Raw Kyle |
||
Happy Birthday Carnivore!
Started by Satya |
1 Replies
2,359 Views |
September 19, 2008, 10:47:40 am by xylothrill |
||
Happy Birthday, TylerDurden!!!!!!!!!!!!!
Started by xylothrill |
6 Replies
3,837 Views |
September 12, 2008, 10:48:28 pm by TylerDurden |
||
7 Replies
5,674 Views |
September 07, 2008, 09:22:46 pm by TylerDurden |
|||
"Into the Wild" SPOILER!!
Started by boxcarguy07 |
15 Replies
7,520 Views |
September 05, 2008, 09:23:51 pm by TheWayCreatesTheWarrior |
||
Happy Birthday Sully!
Started by Satya |
10 Replies
5,606 Views |
September 05, 2008, 09:33:28 am by goodsamaritan |
||
BEWARE! SCAM MAIL!
Started by xylothrill |
5 Replies
4,008 Views |
September 05, 2008, 01:20:02 am by TylerDurden |
||
Kung Fu Hustle
Started by avalon |
5 Replies
4,136 Views |
September 04, 2008, 09:02:07 pm by avalon |
||
Lex's latest project
Started by lex_rooker |
8 Replies
5,952 Views |
September 01, 2008, 10:49:12 pm by Raw Kyle |
||
I got a job!
Started by Raw Kyle |
13 Replies
6,735 Views |
August 31, 2008, 10:51:41 pm by TylerDurden |
||
Website
Started by TylerDurden |
3 Replies
3,544 Views |
August 29, 2008, 12:54:46 pm by xylothrill |
||
calling all people who read science
Started by Raw Kyle |
3 Replies
3,209 Views |
August 26, 2008, 06:48:16 pm by Satya |
||
New Theme and Banner
Started by xylothrill |
3 Replies
2,941 Views |
August 23, 2008, 10:04:49 pm by Satya |
||
Are You Enjoying the Fake Olympics?
Started by boxcarguy07 |
14 Replies
6,836 Views |
August 21, 2008, 07:19:58 am by wodgina |
||
Where are you from?
Started by TylerDurden |
7 Replies
4,625 Views |
August 20, 2008, 09:57:09 pm by goodsamaritan |
||
What are you doing?
Started by TylerDurden |
3 Replies
3,093 Views |
August 17, 2008, 06:03:12 am by TylerDurden |
||
Happy Birthday Kristelle!
Started by Satya |
2 Replies
2,614 Views |
August 15, 2008, 12:06:54 pm by boxcarguy07 |
||
The most beautiful places on Earth!!
Started by TylerDurden |
7 Replies
7,201 Views |
August 12, 2008, 06:19:13 am by boxcarguy07 |
||
MOVED: Religions
Started by Craig |
0 Replies
2,508 Views |
August 07, 2008, 07:23:49 am by Craig |
||
MOVED: Religion
Started by Craig |
0 Replies
2,439 Views |
August 07, 2008, 07:22:50 am by Craig |
||
Maggots Help Recovery
Started by TylerDurden |
0 Replies
2,723 Views |
August 06, 2008, 11:33:50 pm by TylerDurden |
||
A poem
Started by Metallica |
3 Replies
4,155 Views |
August 06, 2008, 10:37:40 pm by Satya |
||
Calorie Restriction
Started by wodgina |
1 Replies
3,254 Views |
August 06, 2008, 04:32:10 pm by akaikumo |
||
24 Replies
17,913 Views |
August 06, 2008, 03:09:07 pm by akaikumo |
|||
Happy Birthday Yuri!!!
Started by Satya |
4 Replies
3,211 Views |
July 31, 2008, 05:26:31 pm by akaikumo |
||
Happy Birthday Keith!
Started by Satya |
8 Replies
4,704 Views |
July 29, 2008, 08:49:14 pm by boxcarguy07 |
||
Offbeat/Satiric music
Started by TylerDurden |
7 Replies
4,560 Views |
July 27, 2008, 11:40:58 am by xylothrill |
||
Other (Non-Diet-Related) Paths
Started by TylerDurden |
9 Replies
6,301 Views |
July 17, 2008, 03:54:50 am by TylerDurden |
||
Happy Birthday Nicola!
Started by Satya |
9 Replies
5,521 Views |
July 16, 2008, 03:17:45 pm by xylothrill |
||
Poop & Pee Outside
Started by Sully |
13 Replies
7,789 Views |
July 11, 2008, 10:48:56 pm by xylothrill |
||
Happy Birthday Kyle
Started by Satya |
5 Replies
3,804 Views |
July 04, 2008, 03:21:45 am by Kristelle |
||
Dvorak vs. QUERTY
Started by xylothrill |
0 Replies
2,572 Views |
June 26, 2008, 11:28:55 pm by xylothrill |
||
The Conch Republic
Started by xylothrill |
0 Replies
2,569 Views |
June 12, 2008, 12:50:47 am by xylothrill |
||
3 Replies
3,347 Views |
June 07, 2008, 11:46:01 pm by xylothrill |
|||
the original Technoviking
Started by TheWayCreatesTheWarrior |
2 Replies
2,951 Views |
June 04, 2008, 11:54:26 am by xylothrill |
||
Air-Pollution In California
Started by TylerDurden |
5 Replies
4,666 Views |
June 03, 2008, 01:26:31 pm by lex_rooker |
||
1 Replies
3,150 Views |
May 25, 2008, 12:29:36 pm by xylothrill |
|||
0 Replies
3,430 Views |
May 14, 2008, 05:56:44 pm by TylerDurden |
|||
0 Replies
6,621 Views |
May 06, 2008, 01:47:42 am by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll