/* * 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 ![]() |
Replies / Views | Last post | ||
---|---|---|---|---|
0 Members and 5 Guests are viewing this board. | ||||
![]() |
![]() |
Request to members
Started by TylerDurden |
0 Replies
3,404 Views |
![]() by TylerDurden |
![]() |
![]() |
"News" on rawpaleo.com
Started by Satya |
12 Replies
8,638 Views |
![]() by TylerDurden |
![]() |
![]() |
"Science" section
Started by Iguana |
7 Replies
8,576 Views |
![]() by surfsteve |
![]() |
![]() |
'Type-writer' Effect
Started by miles |
9 Replies
7,603 Views |
![]() by Löwenherz |
![]() |
![]() |
A couple things...
Started by boxcarguy07 |
12 Replies
9,277 Views |
![]() by boxcarguy07 |
![]() |
![]() |
A subforum on food production
Started by dariorpl |
3 Replies
6,422 Views |
![]() by dariorpl |
![]() |
![]() |
ACTIVISM!
Started by intouchwithinstinct |
1 Replies
4,140 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
3,784 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Added review of Stefansson's book
Started by TylerDurden |
4 Replies
5,786 Views |
![]() by PaleoPhil |
![]() |
![]() |
Adding "thanks" button below posts
Started by letsdoiteczema |
11 Replies
11,718 Views |
![]() by goodsamaritan |
![]() |
![]() |
Advice to members
Started by TylerDurden |
1 Replies
4,729 Views |
![]() by goodsamaritan |
![]() |
![]() |
0 Replies
3,495 Views |
![]() by Sully |
|
![]() |
![]() |
Another appeal to members
Started by TylerDurden |
8 Replies
9,676 Views |
![]() by Aura |
![]() |
![]() |
2 Replies
4,095 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Are my pictures showing up?
Started by livingthelife |
3 Replies
5,083 Views |
![]() by Roselene |
![]() |
![]() |
2 Replies
8,080 Views |
![]() by sabertooth |
|
![]() |
![]() |
Back button on Browser
Started by Fermenter Zym |
0 Replies
4,985 Views |
![]() by Fermenter Zym |
![]() |
![]() |
Background color
Started by Iguana |
0 Replies
4,913 Views |
![]() by Iguana |
![]() |
![]() |
Before-and-after photos doesn't show
Started by thehadezb |
0 Replies
7,603 Views |
![]() by thehadezb |
![]() |
![]() |
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,315 Views |
![]() by KD |
![]() |
![]() |
Better spelling/grammar/punctuation
Started by TylerDurden |
24 Replies
17,474 Views |
![]() by Muhammad.Sunshine |
![]() |
![]() |
Brilliant!
Started by TylerDurden |
0 Replies
3,691 Views |
![]() by TylerDurden |
![]() |
![]() |
Can I change my sign on name?
Started by RogueFarmer |
2 Replies
5,077 Views |
![]() by goodsamaritan |
![]() |
![]() |
Centered text?
Started by boxcarguy07 |
8 Replies
6,343 Views |
![]() by xylothrill |
![]() |
![]() |
chat room for raw paleo?
Started by smokeyquartz |
1 Replies
4,161 Views |
![]() by tonyvee |
![]() |
![]() |
Color scheme & Spell Check?
Started by lex_rooker |
3 Replies
6,661 Views |
![]() by lex_rooker |
![]() |
![]() |
10 Replies
11,799 Views |
![]() by dariorpl |
|
![]() |
![]() |
Contact Us
Started by Satya |
1 Replies
3,747 Views |
![]() by xylothrill |
![]() |
![]() |
10 Replies
12,555 Views |
![]() by therouting |
|
![]() |
![]() |
Country flags
Started by Löwenherz |
0 Replies
4,891 Views |
![]() by Löwenherz |
![]() |
![]() |
Country Flags in Memberlist
Started by xylothrill |
11 Replies
8,065 Views |
![]() by TylerDurden |
![]() |
![]() |
0 Replies
3,552 Views |
![]() by MaverickHunter40245 |
|
![]() |
![]() |
Delete account
Started by p0wer |
5 Replies
6,453 Views |
![]() by Projectile Vomit |
![]() |
![]() |
1 Replies
5,640 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
Drinking water after a meal
Started by A_Tribe_Called_Paleo |
7 Replies
8,941 Views |
![]() by eveheart |
![]() |
![]() |
Editing posts?
Started by nummytummy |
7 Replies
6,927 Views |
![]() by nummytummy |
![]() |
![]() |
Expand "Diet Gallery"/sub-categories?
Started by Cinna |
2 Replies
4,521 Views |
![]() by goodsamaritan |
![]() |
![]() |
Forum for sharing food sources
Started by Spirit Bear |
3 Replies
6,093 Views |
![]() by TylerDurden |
![]() |
![]() |
Forum policy
Started by TylerDurden |
6 Replies
6,146 Views |
![]() by RawZi |
![]() |
![]() |
Further rawpaleodiet.com updates
Started by TylerDurden |
5 Replies
5,752 Views |
![]() by TylerDurden |
![]() |
![]() |
Further reminder
Started by TylerDurden |
0 Replies
4,979 Views |
![]() by TylerDurden |
![]() |
![]() |
Further suggestions wanted
Started by TylerDurden |
2 Replies
4,165 Views |
![]() by TylerDurden |
![]() |
![]() |
Glitch
Started by William |
2 Replies
3,744 Views |
![]() by William |
![]() |
![]() |
Glossary of Acronyms
Started by majormark |
2 Replies
4,381 Views |
![]() by TylerDurden |
![]() |
![]() |
Gross topic deleted
Started by Iguana |
6 Replies
8,255 Views |
![]() by svrn |
![]() |
![]() |
How to edit/delete posts etc?
Started by Spirit Bear |
2 Replies
6,929 Views |
![]() by Spirit Bear |
![]() |
![]() |
HOW TO FIND A REPLY I MADE IN A TOPIC?
Started by primalgirl |
2 Replies
5,858 Views |
![]() by primalgirl |
![]() |
![]() |
I Suggest you Improve the Suggestion Box
Started by Chris |
0 Replies
5,228 Views |
![]() by Chris |
![]() |
![]() |
Image verification issue
Started by Delmonico |
1 Replies
5,892 Views |
![]() by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll