/* * 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 8 Guests are viewing this board. | ||||
![]() |
![]() |
Reviews of diet books
Started by TylerDurden |
6 Replies
6,333 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Spam links
Started by Josh |
11 Replies
9,088 Views |
![]() by Josh |
![]() |
![]() |
Request
Started by TylerDurden |
4 Replies
6,683 Views |
![]() by TylerDurden |
![]() |
![]() |
New Moderators
Started by TylerDurden |
22 Replies
15,174 Views |
![]() by djr_81 |
![]() |
![]() |
Expand "Diet Gallery"/sub-categories?
Started by Cinna |
2 Replies
4,520 Views |
![]() by goodsamaritan |
![]() |
![]() |
Website loading problem
Started by Josh |
9 Replies
8,103 Views |
![]() by reyyzl |
![]() |
![]() |
notifications
Started by MaximilianKohler |
1 Replies
5,100 Views |
![]() by MaximilianKohler |
![]() |
![]() |
3 Replies
5,200 Views |
![]() by the PresiDenT |
|
![]() |
![]() |
Minor hypocrisy
Started by TylerDurden |
1 Replies
4,781 Views |
![]() by sabertooth |
![]() |
![]() |
Research Category
Started by kurite |
7 Replies
8,290 Views |
![]() by TylerDurden |
![]() |
![]() |
'Type-writer' Effect
Started by miles |
9 Replies
7,602 Views |
![]() by Löwenherz |
![]() |
![]() |
Symantics of raw meat
Started by Sitting Coyote |
4 Replies
6,205 Views |
![]() by kurite |
![]() |
![]() |
RSS - please add RSS to this forum
Started by majormark |
1 Replies
5,523 Views |
![]() by majormark |
![]() |
![]() |
Advice to members
Started by TylerDurden |
1 Replies
4,728 Views |
![]() by goodsamaritan |
![]() |
![]() |
Vague notes re improvements
Started by TylerDurden |
11 Replies
12,345 Views |
![]() by zbr5 |
![]() |
![]() |
Recommendation
Started by TylerDurden |
1 Replies
5,728 Views |
![]() by HIT_it_RAW |
![]() |
![]() |
Delete account
Started by p0wer |
5 Replies
6,453 Views |
![]() by Projectile Vomit |
![]() |
![]() |
68 Replies
39,756 Views |
![]() by KD |
|
![]() |
![]() |
Increase QUOTE Font to 10
Started by PaleoPhil |
9 Replies
8,271 Views |
![]() by goodsamaritan |
![]() |
![]() |
Can I change my sign on name?
Started by RogueFarmer |
2 Replies
5,077 Views |
![]() by goodsamaritan |
![]() |
![]() |
Install Google/Scroogle Search Engine
Started by zeno |
0 Replies
4,984 Views |
![]() by zeno |
![]() |
![]() |
Color scheme & Spell Check?
Started by lex_rooker |
3 Replies
6,660 Views |
![]() by lex_rooker |
![]() |
![]() |
Logout causes 'Internal Server Error'
Started by Löwenherz |
2 Replies
6,165 Views |
![]() by Löwenherz |
![]() |
![]() |
Country flags
Started by Löwenherz |
0 Replies
4,891 Views |
![]() by Löwenherz |
![]() |
![]() |
Back button on Browser
Started by Fermenter Zym |
0 Replies
4,985 Views |
![]() by Fermenter Zym |
![]() |
![]() |
Better spelling/grammar/punctuation
Started by TylerDurden |
24 Replies
17,471 Views |
![]() by Muhammad.Sunshine |
![]() |
![]() |
4 Replies
7,577 Views |
![]() by Aaaaaa |
|
![]() |
![]() |
3 Replies
6,624 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Better grammar etc.
Started by TylerDurden |
1 Replies
5,512 Views |
![]() by CitrusHigh |
![]() |
![]() |
Better organization and a sticky board
Started by CitrusHigh |
10 Replies
9,313 Views |
![]() by KD |
![]() |
![]() |
quote of the week
Started by blackrhino |
2 Replies
5,769 Views |
![]() by blackrhino |
![]() |
![]() |
Further reminder
Started by TylerDurden |
0 Replies
4,979 Views |
![]() by TylerDurden |
![]() |
![]() |
what is"Off Topic" for
Started by Alive |
3 Replies
6,153 Views |
![]() by TylerDurden |
![]() |
![]() |
I Suggest you Improve the Suggestion Box
Started by Chris |
0 Replies
5,228 Views |
![]() by Chris |
![]() |
![]() |
Isn't this a RPD Only Forum?
Started by Chris |
17 Replies
14,346 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Image verification issue
Started by Delmonico |
1 Replies
5,891 Views |
![]() by goodsamaritan |
![]() |
![]() |
Low Carb Raw Paleo Forum
Started by Alive |
7 Replies
12,583 Views |
![]() by Alive |
![]() |
![]() |
Forum for sharing food sources
Started by Spirit Bear |
3 Replies
6,093 Views |
![]() by TylerDurden |
![]() |
![]() |
spelling error
Started by Ioanna |
6 Replies
8,661 Views |
![]() by Bacchal |
![]() |
![]() |
VERIFICATION LETTERS TOO HARD TO READ!
Started by primalgirl |
1 Replies
5,806 Views |
![]() by goodsamaritan |
![]() |
![]() |
4 Replies
7,259 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
13 Replies
18,659 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Adding "thanks" button below posts
Started by letsdoiteczema |
11 Replies
11,716 Views |
![]() by goodsamaritan |
![]() |
![]() |
mobile app?
Started by Dr. D |
2 Replies
6,066 Views |
![]() by Dr. D |
![]() |
![]() |
quote font size
Started by Alive |
7 Replies
8,683 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Another appeal to members
Started by TylerDurden |
8 Replies
9,675 Views |
![]() by Aura |
![]() |
![]() |
questions about personal messages
Started by jessica |
4 Replies
6,942 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Paleo Library and Mediateka
Started by Aura |
0 Replies
5,181 Views |
![]() by Aura |
![]() |
![]() |
Gross topic deleted
Started by Iguana |
6 Replies
8,255 Views |
![]() by svrn |
![]() |
![]() |
Live Chat Box ( Facebook kinda like)
Started by achillezzz |
18 Replies
18,919 Views |
![]() by achillezzz |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll