/* * 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 7 Guests are viewing this board. | ||||
![]() |
![]() |
quote of the week
Started by blackrhino |
2 Replies
5,770 Views |
![]() by blackrhino |
![]() |
![]() |
Added review of Stefansson's book
Started by TylerDurden |
4 Replies
5,786 Views |
![]() by PaleoPhil |
![]() |
![]() |
VERIFICATION LETTERS TOO HARD TO READ!
Started by primalgirl |
1 Replies
5,807 Views |
![]() by goodsamaritan |
![]() |
![]() |
HOW TO FIND A REPLY I MADE IN A TOPIC?
Started by primalgirl |
2 Replies
5,858 Views |
![]() by primalgirl |
![]() |
![]() |
Image verification issue
Started by Delmonico |
1 Replies
5,892 Views |
![]() by goodsamaritan |
![]() |
![]() |
mobile app?
Started by Dr. D |
2 Replies
6,066 Views |
![]() by Dr. D |
![]() |
![]() |
Forum for sharing food sources
Started by Spirit Bear |
3 Replies
6,093 Views |
![]() by TylerDurden |
![]() |
![]() |
Forum policy
Started by TylerDurden |
6 Replies
6,148 Views |
![]() by RawZi |
![]() |
![]() |
what is"Off Topic" for
Started by Alive |
3 Replies
6,153 Views |
![]() by TylerDurden |
![]() |
![]() |
Logout causes 'Internal Server Error'
Started by Löwenherz |
2 Replies
6,165 Views |
![]() by Löwenherz |
![]() |
![]() |
Symantics of raw meat
Started by Sitting Coyote |
4 Replies
6,208 Views |
![]() by kurite |
![]() |
![]() |
Reviews of diet books
Started by TylerDurden |
6 Replies
6,337 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Centered text?
Started by boxcarguy07 |
8 Replies
6,346 Views |
![]() by xylothrill |
![]() |
![]() |
Various suggestions
Started by TylerDurden |
3 Replies
6,404 Views |
![]() by xylothrill |
![]() |
![]() |
A subforum on food production
Started by dariorpl |
3 Replies
6,423 Views |
![]() by dariorpl |
![]() |
![]() |
Delete account
Started by p0wer |
5 Replies
6,455 Views |
![]() by Projectile Vomit |
![]() |
![]() |
3 Replies
6,624 Views |
![]() by TylerDurden |
|
![]() |
![]() |
New Member Personal Message Limits
Started by jessica |
3 Replies
6,631 Views |
![]() by jessica |
![]() |
![]() |
Color scheme & Spell Check?
Started by lex_rooker |
3 Replies
6,661 Views |
![]() by lex_rooker |
![]() |
![]() |
Request
Started by TylerDurden |
4 Replies
6,685 Views |
![]() by TylerDurden |
![]() |
![]() |
Editing posts?
Started by nummytummy |
7 Replies
6,927 Views |
![]() by nummytummy |
![]() |
![]() |
How to edit/delete posts etc?
Started by Spirit Bear |
2 Replies
6,929 Views |
![]() by Spirit Bear |
![]() |
![]() |
questions about personal messages
Started by jessica |
4 Replies
6,943 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Moderators2
Started by William |
9 Replies
7,205 Views |
![]() by cherimoya_kid |
![]() |
![]() |
4 Replies
7,262 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
More additions
Started by TylerDurden |
5 Replies
7,374 Views |
![]() by RawZi |
![]() |
![]() |
4 Replies
7,578 Views |
![]() by Aaaaaa |
|
![]() |
![]() |
Before-and-after photos doesn't show
Started by thehadezb |
0 Replies
7,604 Views |
![]() by thehadezb |
![]() |
![]() |
'Type-writer' Effect
Started by miles |
9 Replies
7,607 Views |
![]() by Löwenherz |
![]() |
![]() |
Modifying Messages
Started by Satya |
12 Replies
7,899 Views |
![]() by JaX |
![]() |
![]() |
Marketplace
Started by dariorpl |
6 Replies
8,010 Views |
![]() by eveheart |
![]() |
![]() |
Country Flags in Memberlist
Started by xylothrill |
11 Replies
8,068 Views |
![]() by TylerDurden |
![]() |
![]() |
2 Replies
8,081 Views |
![]() by sabertooth |
|
![]() |
![]() |
Website loading problem
Started by Josh |
9 Replies
8,103 Views |
![]() by reyyzl |
![]() |
![]() |
Gross topic deleted
Started by Iguana |
6 Replies
8,255 Views |
![]() by svrn |
![]() |
![]() |
Increase QUOTE Font to 10
Started by PaleoPhil |
9 Replies
8,273 Views |
![]() by goodsamaritan |
![]() |
![]() |
Research Category
Started by kurite |
7 Replies
8,294 Views |
![]() by TylerDurden |
![]() |
![]() |
"Science" section
Started by Iguana |
7 Replies
8,580 Views |
![]() by surfsteve |
![]() |
![]() |
"News" on rawpaleo.com
Started by Satya |
12 Replies
8,642 Views |
![]() by TylerDurden |
![]() |
![]() |
spelling error
Started by Ioanna |
6 Replies
8,661 Views |
![]() by Bacchal |
![]() |
![]() |
quote font size
Started by Alive |
7 Replies
8,683 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Members Only Gallery Section
Started by xylothrill |
15 Replies
8,912 Views |
![]() by xylothrill |
![]() |
![]() |
Drinking water after a meal
Started by A_Tribe_Called_Paleo |
7 Replies
8,943 Views |
![]() by eveheart |
![]() |
![]() |
Spam links
Started by Josh |
11 Replies
9,094 Views |
![]() by Josh |
![]() |
![]() |
New section(s) on the forum
Started by ! |
6 Replies
9,182 Views |
![]() by TylerDurden |
![]() |
![]() |
A couple things...
Started by boxcarguy07 |
12 Replies
9,280 Views |
![]() by boxcarguy07 |
![]() |
![]() |
Better organization and a sticky board
Started by CitrusHigh |
10 Replies
9,315 Views |
![]() by KD |
![]() |
![]() |
Another appeal to members
Started by TylerDurden |
8 Replies
9,676 Views |
![]() by Aura |
![]() |
![]() |
Please Help Test the Beyond Veg Debunked Page
Started by xylothrill |
8 Replies
9,894 Views |
![]() by goodsamaritan |
![]() |
![]() |
10 Replies
10,134 Views |
![]() by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll