/* * 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 4 Guests are viewing this board. | ||||
![]() |
![]() |
New section(s) on the forum
Started by ! |
6 Replies
9,128 Views |
![]() by TylerDurden |
![]() |
![]() |
Live Chat Box ( Facebook kinda like)
Started by achillezzz |
18 Replies
18,841 Views |
![]() by achillezzz |
![]() |
![]() |
quote font size
Started by Alive |
7 Replies
8,644 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Low Carb Raw Paleo Forum
Started by Alive |
7 Replies
12,506 Views |
![]() by Alive |
![]() |
![]() |
what is"Off Topic" for
Started by Alive |
3 Replies
6,128 Views |
![]() by TylerDurden |
![]() |
![]() |
Paleo Library and Mediateka
Started by Aura |
0 Replies
5,165 Views |
![]() by Aura |
![]() |
![]() |
Drinking water after a meal
Started by A_Tribe_Called_Paleo |
7 Replies
8,888 Views |
![]() by eveheart |
![]() |
![]() |
quote of the week
Started by blackrhino |
2 Replies
5,749 Views |
![]() by blackrhino |
![]() |
![]() |
A couple things...
Started by boxcarguy07 |
12 Replies
9,229 Views |
![]() by boxcarguy07 |
![]() |
![]() |
Centered text?
Started by boxcarguy07 |
8 Replies
6,304 Views |
![]() by xylothrill |
![]() |
![]() |
13 Replies
18,588 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Isn't this a RPD Only Forum?
Started by Chris |
17 Replies
14,296 Views |
![]() by cherimoya_kid |
![]() |
![]() |
I Suggest you Improve the Suggestion Box
Started by Chris |
0 Replies
5,212 Views |
![]() by Chris |
![]() |
![]() |
Expand "Diet Gallery"/sub-categories?
Started by Cinna |
2 Replies
4,490 Views |
![]() by goodsamaritan |
![]() |
![]() |
Better organization and a sticky board
Started by CitrusHigh |
10 Replies
9,279 Views |
![]() by KD |
![]() |
![]() |
Marketplace
Started by dariorpl |
6 Replies
7,962 Views |
![]() by eveheart |
![]() |
![]() |
A subforum on food production
Started by dariorpl |
3 Replies
6,385 Views |
![]() by dariorpl |
![]() |
![]() |
10 Replies
12,499 Views |
![]() by therouting |
|
![]() |
![]() |
Image verification issue
Started by Delmonico |
1 Replies
5,872 Views |
![]() by goodsamaritan |
![]() |
![]() |
68 Replies
39,506 Views |
![]() by KD |
|
![]() |
![]() |
mobile app?
Started by Dr. D |
2 Replies
6,043 Views |
![]() by Dr. D |
![]() |
![]() |
More sub categories
Started by Eurofusion |
2 Replies
5,235 Views |
![]() by wodgina |
![]() |
![]() |
Back button on Browser
Started by Fermenter Zym |
0 Replies
4,962 Views |
![]() by Fermenter Zym |
![]() |
![]() |
RSS feed question
Started by glennm01 |
1 Replies
3,841 Views |
![]() by goodsamaritan |
![]() |
![]() |
2 Replies
4,932 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
3 Replies
6,592 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Background color
Started by Iguana |
0 Replies
4,878 Views |
![]() by Iguana |
![]() |
![]() |
"Science" section
Started by Iguana |
7 Replies
8,524 Views |
![]() by surfsteve |
![]() |
![]() |
Gross topic deleted
Started by Iguana |
6 Replies
8,219 Views |
![]() by svrn |
![]() |
![]() |
ACTIVISM!
Started by intouchwithinstinct |
1 Replies
4,099 Views |
![]() by TylerDurden |
![]() |
![]() |
spelling error
Started by Ioanna |
6 Replies
8,627 Views |
![]() by Bacchal |
![]() |
![]() |
New Member Personal Message Limits
Started by jessica |
3 Replies
6,601 Views |
![]() by jessica |
![]() |
![]() |
questions about personal messages
Started by jessica |
4 Replies
6,911 Views |
![]() by cherimoya_kid |
![]() |
![]() |
2 Replies
8,043 Views |
![]() by sabertooth |
|
![]() |
![]() |
Spam links
Started by Josh |
11 Replies
9,034 Views |
![]() by Josh |
![]() |
![]() |
Website loading problem
Started by Josh |
9 Replies
8,055 Views |
![]() by reyyzl |
![]() |
![]() |
Research Category
Started by kurite |
7 Replies
8,242 Views |
![]() by TylerDurden |
![]() |
![]() |
New forum software?
Started by lb_on_the_cb « 1 2 » |
25 Replies
23,719 Views |
![]() by the6step |
![]() |
![]() |
1 Replies
5,608 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Adding "thanks" button below posts
Started by letsdoiteczema |
11 Replies
11,650 Views |
![]() by goodsamaritan |
![]() |
![]() |
Color scheme & Spell Check?
Started by lex_rooker |
3 Replies
6,638 Views |
![]() by lex_rooker |
![]() |
![]() |
Are my pictures showing up?
Started by livingthelife |
3 Replies
5,057 Views |
![]() by Roselene |
![]() |
![]() |
Logout causes 'Internal Server Error'
Started by Löwenherz |
2 Replies
6,136 Views |
![]() by Löwenherz |
![]() |
![]() |
Country flags
Started by Löwenherz |
0 Replies
4,872 Views |
![]() by Löwenherz |
![]() |
![]() |
Recent Posts
Started by majormark |
0 Replies
3,874 Views |
![]() by majormark |
![]() |
![]() |
Glossary of Acronyms
Started by majormark |
2 Replies
4,356 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
4,055 Views |
![]() by TylerDurden |
|
![]() |
![]() |
RSS - please add RSS to this forum
Started by majormark |
1 Replies
5,500 Views |
![]() by majormark |
![]() |
![]() |
0 Replies
3,530 Views |
![]() by MaverickHunter40245 |
|
![]() |
![]() |
notifications
Started by MaximilianKohler |
1 Replies
5,066 Views |
![]() by MaximilianKohler |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll