/* * 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 88 Guests are viewing this board. | ||||
![]() |
![]() |
Media Interviews
Started by TylerDurden |
2 Replies
3,532 Views |
![]() by RawZi |
![]() |
![]() |
1 Replies
3,116 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Investments
Started by wodgina |
22 Replies
10,876 Views |
![]() by TylerDurden |
![]() |
![]() |
Favourite Quotations
Started by TylerDurden |
14 Replies
8,799 Views |
![]() by Sarav |
![]() |
![]() |
What are you thinking?
Started by TylerDurden |
21 Replies
12,204 Views |
![]() by Sarav |
![]() |
![]() |
Snowing in the UK
Started by TylerDurden |
7 Replies
6,799 Views |
![]() by TylerDurden |
![]() |
![]() |
To all the January Birthday Boys
Started by Satya |
0 Replies
2,962 Views |
![]() by Satya |
![]() |
![]() |
2 Replies
4,311 Views |
![]() by Nicola |
|
![]() |
![]() |
Historical Background
Started by Besse84 |
2 Replies
4,562 Views |
![]() by Raw Kyle |
![]() |
![]() |
NASA: Life on Mars?
Started by goodsamaritan |
0 Replies
3,173 Views |
![]() by goodsamaritan |
![]() |
![]() |
1 Replies
3,894 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
MOVED: Irritating internet laws
Started by Waungata |
0 Replies
3,722 Views |
![]() by Waungata |
![]() |
![]() |
Any musicians?
Started by boxcarguy07 |
10 Replies
11,724 Views |
![]() by seesawsemiology |
![]() |
![]() |
My compositions
Started by boxcarguy07 |
7 Replies
7,047 Views |
![]() by seesawsemiology |
![]() |
![]() |
Ethel Merman
Started by TylerDurden |
3 Replies
4,477 Views |
![]() by lex_rooker |
![]() |
![]() |
0 Replies
3,052 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
Star Wars Fans!!!
Started by goodsamaritan |
10 Replies
7,931 Views |
![]() by avalon |
![]() |
![]() |
PaleoPup
Started by livingthelife |
3 Replies
3,611 Views |
![]() by boxcarguy07 |
![]() |
![]() |
Your Ancestry?
Started by Sully |
6 Replies
5,038 Views |
![]() by goodsamaritan |
![]() |
![]() |
Could you pass the 11-plus?
Started by boxcarguy07 |
0 Replies
3,517 Views |
![]() by boxcarguy07 |
![]() |
![]() |
Stone Age artworks found in Russia
Started by TylerDurden |
0 Replies
3,395 Views |
![]() by TylerDurden |
![]() |
![]() |
Happy Thanksgiving!
Started by boxcarguy07 |
6 Replies
5,188 Views |
![]() by glennm01 |
![]() |
![]() |
Osaka Street Food
Started by goodsamaritan |
1 Replies
3,467 Views |
![]() by Sully |
![]() |
![]() |
New Game
Started by TylerDurden « 1 2 » |
37 Replies
16,701 Views |
![]() by boxcarguy07 |
![]() |
![]() |
Hillarious Dogs!
Started by xylothrill |
2 Replies
3,225 Views |
![]() by boxcarguy07 |
![]() |
![]() |
What made you happy today?
Started by TylerDurden |
16 Replies
8,914 Views |
![]() by boxcarguy07 |
![]() |
![]() |
The ultimate food-Vitamin D? PUFAs?
Started by TylerDurden |
16 Replies
9,495 Views |
![]() by rawlion |
![]() |
![]() |
RAF in the movies
Started by Satya |
5 Replies
4,247 Views |
![]() by Sully |
![]() |
![]() |
Testimonials
Started by TylerDurden |
0 Replies
3,194 Views |
![]() by TylerDurden |
![]() |
![]() |
Magnets?
Started by TylerDurden |
1 Replies
3,376 Views |
![]() by JustAnotherExplorer |
![]() |
![]() |
Old Ads
Started by xylothrill |
1 Replies
2,982 Views |
![]() by Raw Kyle |
![]() |
![]() |
New Rawist Term
Started by TylerDurden |
0 Replies
3,295 Views |
![]() by TylerDurden |
![]() |
![]() |
story of stuff
Started by Raw Kyle |
4 Replies
4,472 Views |
![]() by Raw Kyle |
![]() |
![]() |
Happy Birthday, Sarav!!!!
Started by xylothrill |
3 Replies
3,606 Views |
![]() by Sarav |
![]() |
![]() |
Youtube wealth video
Started by TylerDurden |
6 Replies
5,223 Views |
![]() by goodsamaritan |
![]() |
![]() |
Popularity of snuff
Started by TylerDurden |
0 Replies
3,341 Views |
![]() by TylerDurden |
![]() |
![]() |
Some Videos I made
Started by Sully |
2 Replies
3,647 Views |
![]() by wodgina |
![]() |
![]() |
rawpaleo.com transfer
Started by Satya |
3 Replies
3,474 Views |
![]() by Satya |
![]() |
![]() |
Happy Birthday Dan!!!!!!!!
Started by xylothrill |
0 Replies
2,991 Views |
![]() by xylothrill |
![]() |
![]() |
Folding@Home
Started by MaverickHunter40245 |
1 Replies
3,411 Views |
![]() by xylothrill |
![]() |
![]() |
Nutritional Link to Violent Crimes?
Started by Squall |
10 Replies
8,863 Views |
![]() by Python |
![]() |
![]() |
10 Replies
7,422 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
Question re website maintenance
Started by TylerDurden |
13 Replies
8,561 Views |
![]() by Satya |
![]() |
![]() |
uphill race on token fuel
Started by coconinoz |
0 Replies
3,229 Views |
![]() by coconinoz |
![]() |
![]() |
ravenous
Started by seesawsemiology |
5 Replies
5,910 Views |
![]() by TylerDurden |
![]() |
![]() |
Happy Birthday GoodSamaritan!!!!!!!!
Started by xylothrill |
1 Replies
3,376 Views |
![]() by goodsamaritan |
![]() |
![]() |
Happy Birthday, Michael!
Started by xylothrill |
0 Replies
3,172 Views |
![]() by xylothrill |
![]() |
![]() |
10 Replies
9,142 Views |
![]() by Satya |
|
![]() |
![]() |
73 Replies
33,924 Views |
![]() by TylerDurden |
|
![]() |
![]() |
PETA's amusing idea
Started by TylerDurden |
1 Replies
6,393 Views |
![]() by boxcarguy07 |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll