/* * 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 12 Guests are viewing this board. | ||||
Question re smells from fridges
Started by TylerDurden |
4 Replies
2,239 Views |
August 08, 2010, 03:16:48 am by Ioanna |
||
Trackers Northwest
Started by Sully |
1 Replies
1,840 Views |
August 06, 2010, 06:40:34 pm by Cinna |
||
Whats your age range?
Started by kurite |
10 Replies
4,069 Views |
August 05, 2010, 06:08:24 am by Sitting Coyote |
||
Fasting benefits the brain
Started by TylerDurden |
0 Replies
1,646 Views |
August 03, 2010, 10:29:14 pm by TylerDurden |
||
2 Replies
2,355 Views |
August 03, 2010, 01:13:04 am by majormark |
|||
Repent!
Started by William |
4 Replies
2,963 Views |
August 01, 2010, 09:47:37 am by mel |
||
PDAs
Started by TylerDurden |
3 Replies
2,231 Views |
July 31, 2010, 08:22:30 pm by Paleo Donk |
||
Interacting with drugged up people
Started by goodsamaritan |
5 Replies
2,657 Views |
July 31, 2010, 12:08:46 pm by nicole |
||
Back Around These Parts
Started by stevesurv |
1 Replies
1,668 Views |
July 30, 2010, 09:31:21 pm by TylerDurden |
||
0 Replies
1,748 Views |
July 26, 2010, 04:00:32 am by PaleoPhil |
|||
4 Replies
2,051 Views |
July 25, 2010, 12:56:55 am by Savage |
|||
How do I change my email?
Started by kurite |
2 Replies
1,802 Views |
July 19, 2010, 06:34:06 pm by kurite |
||
Advice needed on relationship/honesty..
Started by razmatazz |
5 Replies
2,745 Views |
July 16, 2010, 06:23:51 pm by Hans89 |
||
15 Replies
6,096 Views |
July 12, 2010, 05:27:08 pm by wodgina |
|||
condiments, how bad?
Started by Raw Kyle |
2 Replies
1,873 Views |
July 07, 2010, 05:15:35 pm by TylerDurden |
||
Brains
Started by William |
3 Replies
2,346 Views |
July 04, 2010, 11:24:06 pm by KD |
||
0 Replies
1,685 Views |
July 03, 2010, 08:35:14 pm by Dwight |
|||
Life before death
Started by actionhero |
1 Replies
2,148 Views |
June 28, 2010, 04:15:38 am by SkinnyDevil |
||
Raw Paleo Food Pyramid
Started by majormark |
14 Replies
10,756 Views |
June 23, 2010, 01:34:55 pm by Cinna |
||
Maggot therapy
Started by Dwight |
3 Replies
2,627 Views |
June 19, 2010, 12:55:36 am by RawZi |
||
10 Replies
4,015 Views |
June 16, 2010, 05:07:38 pm by TylerDurden |
|||
Problems affecting puberty/fertility
Started by TylerDurden |
3 Replies
2,128 Views |
June 16, 2010, 03:22:35 pm by RawZi |
||
0 Replies
1,896 Views |
June 12, 2010, 04:36:19 pm by TylerDurden |
|||
1 Replies
1,661 Views |
June 06, 2010, 11:45:05 pm by Sitting Coyote |
|||
50 Cent's transformation...WOW
Started by actionhero |
1 Replies
2,711 Views |
June 06, 2010, 07:57:19 am by KD |
||
Non-diet-approaches
Started by TylerDurden |
10 Replies
5,850 Views |
June 03, 2010, 03:17:54 pm by kurite |
||
Is the world getting high?
Started by majormark |
5 Replies
2,835 Views |
May 27, 2010, 07:55:08 am by Raw Kyle |
||
Yet another reason to go rawpalaeo
Started by TylerDurden |
7 Replies
3,334 Views |
May 18, 2010, 05:38:48 am by kurite |
||
10 Replies
4,601 Views |
May 14, 2010, 10:50:52 pm by ys |
|||
Cougar study
Started by TylerDurden |
1 Replies
1,714 Views |
May 14, 2010, 05:57:25 am by kurite |
||
1 Replies
1,814 Views |
May 12, 2010, 02:13:12 am by alphagruis |
|||
I think I burnt my thigh from a laptop
Started by wodgina |
5 Replies
3,018 Views |
May 07, 2010, 08:30:26 am by wodgina |
||
RIP Dearest Friend
Started by Dwight |
4 Replies
2,408 Views |
May 05, 2010, 12:32:36 pm by Dwight |
||
0 Replies
1,422 Views |
May 04, 2010, 06:07:03 pm by TylerDurden |
|||
Search Feature
Started by Squall |
1 Replies
1,628 Views |
May 03, 2010, 04:47:29 pm by TylerDurden |
||
Odds that Big Bang Theory is wrong?
Started by Paleo Donk |
6 Replies
3,329 Views |
May 03, 2010, 06:39:19 am by Raw Kyle |
||
forced to eat grains- help?
Started by uph0 |
18 Replies
7,106 Views |
April 26, 2010, 08:45:01 pm by chucky |
||
Type of RVAF diet
Started by TylerDurden |
0 Replies
1,664 Views |
April 26, 2010, 06:45:39 pm by TylerDurden |
||
Study shows smoking lowers your IQ
Started by TylerDurden |
10 Replies
5,580 Views |
April 26, 2010, 04:27:53 pm by TylerDurden |
||
1 Replies
1,717 Views |
April 24, 2010, 06:52:44 am by kurite |
|||
Polish incident
Started by TylerDurden |
6 Replies
2,994 Views |
April 23, 2010, 08:27:44 pm by yon yonson |
||
Amusing article
Started by TylerDurden |
1 Replies
1,833 Views |
April 20, 2010, 03:19:05 am by Megan Megatoast |
||
Couple of things
Started by TylerDurden « 1 2 » |
31 Replies
9,122 Views |
April 16, 2010, 05:04:41 pm by TylerDurden |
||
1 Replies
1,938 Views |
April 14, 2010, 07:10:29 am by RawZi |
|||
US Health Bill
Started by TylerDurden |
3 Replies
2,173 Views |
April 08, 2010, 05:43:57 pm by SkinnyDevil |
||
Query for RPDers
Started by TylerDurden |
17 Replies
6,696 Views |
April 08, 2010, 10:42:54 am by sabertooth |
||
New Missing Link Discovered
Started by TylerDurden |
0 Replies
1,524 Views |
April 04, 2010, 05:41:48 pm by TylerDurden |
||
Fattest City In The World Article
Started by TylerDurden |
0 Replies
2,715 Views |
April 04, 2010, 01:00:14 am by TylerDurden |
||
0 Replies
1,439 Views |
April 02, 2010, 06:03:26 pm by TylerDurden |
|||
Women and Beer Claim
Started by TylerDurden |
0 Replies
1,508 Views |
March 31, 2010, 06:20:56 pm by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll