/* * 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 6 Guests are viewing this board. | ||||
![]() |
![]() |
Maybe make a Q/A section for new people?
Started by Poppy |
3 Replies
15,898 Views |
![]() by smokeyquartz |
![]() |
![]() |
chat room for raw paleo?
Started by smokeyquartz |
1 Replies
4,172 Views |
![]() by tonyvee |
![]() |
![]() |
10 Replies
12,570 Views |
![]() by therouting |
|
![]() |
![]() |
Before-and-after photos doesn't show
Started by thehadezb |
0 Replies
7,607 Views |
![]() by thehadezb |
![]() |
![]() |
2 Replies
8,082 Views |
![]() by sabertooth |
|
![]() |
![]() |
A subforum on food production
Started by dariorpl |
3 Replies
6,425 Views |
![]() by dariorpl |
![]() |
![]() |
13 Replies
10,220 Views |
![]() by norawnofun |
|
![]() |
![]() |
11 Replies
11,179 Views |
![]() by a_real_man |
|
![]() |
![]() |
"Science" section
Started by Iguana |
7 Replies
8,589 Views |
![]() by surfsteve |
![]() |
![]() |
10 Replies
11,805 Views |
![]() by dariorpl |
|
![]() |
![]() |
New forum software?
Started by lb_on_the_cb « 1 2 » |
25 Replies
23,932 Views |
![]() by the6step |
![]() |
![]() |
New section(s) on the forum
Started by ! |
6 Replies
9,190 Views |
![]() by TylerDurden |
![]() |
![]() |
Background color
Started by Iguana |
0 Replies
4,915 Views |
![]() by Iguana |
![]() |
![]() |
Marketplace
Started by dariorpl |
6 Replies
8,015 Views |
![]() by eveheart |
![]() |
![]() |
Problem posting picture
Started by sydney |
6 Replies
10,649 Views |
![]() by goodsamaritan |
![]() |
![]() |
Drinking water after a meal
Started by A_Tribe_Called_Paleo |
7 Replies
8,946 Views |
![]() by eveheart |
![]() |
![]() |
New Member Personal Message Limits
Started by jessica |
3 Replies
6,636 Views |
![]() by jessica |
![]() |
![]() |
1 Replies
5,644 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
HOW TO FIND A REPLY I MADE IN A TOPIC?
Started by primalgirl |
2 Replies
5,862 Views |
![]() by primalgirl |
![]() |
![]() |
How to edit/delete posts etc?
Started by Spirit Bear |
2 Replies
6,931 Views |
![]() by Spirit Bear |
![]() |
![]() |
Live Chat Box ( Facebook kinda like)
Started by achillezzz |
18 Replies
18,935 Views |
![]() by achillezzz |
![]() |
![]() |
Gross topic deleted
Started by Iguana |
6 Replies
8,260 Views |
![]() by svrn |
![]() |
![]() |
Paleo Library and Mediateka
Started by Aura |
0 Replies
5,183 Views |
![]() by Aura |
![]() |
![]() |
questions about personal messages
Started by jessica |
4 Replies
6,945 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Another appeal to members
Started by TylerDurden |
8 Replies
9,685 Views |
![]() by Aura |
![]() |
![]() |
quote font size
Started by Alive |
7 Replies
8,687 Views |
![]() by cherimoya_kid |
![]() |
![]() |
mobile app?
Started by Dr. D |
2 Replies
6,070 Views |
![]() by Dr. D |
![]() |
![]() |
Adding "thanks" button below posts
Started by letsdoiteczema |
11 Replies
11,729 Views |
![]() by goodsamaritan |
![]() |
![]() |
13 Replies
18,672 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
4 Replies
7,265 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
VERIFICATION LETTERS TOO HARD TO READ!
Started by primalgirl |
1 Replies
5,808 Views |
![]() by goodsamaritan |
![]() |
![]() |
spelling error
Started by Ioanna |
6 Replies
8,669 Views |
![]() by Bacchal |
![]() |
![]() |
Forum for sharing food sources
Started by Spirit Bear |
3 Replies
6,096 Views |
![]() by TylerDurden |
![]() |
![]() |
Low Carb Raw Paleo Forum
Started by Alive |
7 Replies
12,605 Views |
![]() by Alive |
![]() |
![]() |
Image verification issue
Started by Delmonico |
1 Replies
5,896 Views |
![]() by goodsamaritan |
![]() |
![]() |
Isn't this a RPD Only Forum?
Started by Chris |
17 Replies
14,363 Views |
![]() by cherimoya_kid |
![]() |
![]() |
I Suggest you Improve the Suggestion Box
Started by Chris |
0 Replies
5,232 Views |
![]() by Chris |
![]() |
![]() |
what is"Off Topic" for
Started by Alive |
3 Replies
6,158 Views |
![]() by TylerDurden |
![]() |
![]() |
Further reminder
Started by TylerDurden |
0 Replies
4,982 Views |
![]() by TylerDurden |
![]() |
![]() |
quote of the week
Started by blackrhino |
2 Replies
5,772 Views |
![]() by blackrhino |
![]() |
![]() |
Better organization and a sticky board
Started by CitrusHigh |
10 Replies
9,318 Views |
![]() by KD |
![]() |
![]() |
Better grammar etc.
Started by TylerDurden |
1 Replies
5,516 Views |
![]() by CitrusHigh |
![]() |
![]() |
3 Replies
6,626 Views |
![]() by TylerDurden |
|
![]() |
![]() |
4 Replies
7,579 Views |
![]() by Aaaaaa |
|
![]() |
![]() |
Better spelling/grammar/punctuation
Started by TylerDurden |
24 Replies
17,489 Views |
![]() by Muhammad.Sunshine |
![]() |
![]() |
Back button on Browser
Started by Fermenter Zym |
0 Replies
4,985 Views |
![]() by Fermenter Zym |
![]() |
![]() |
Country flags
Started by Löwenherz |
0 Replies
4,892 Views |
![]() by Löwenherz |
![]() |
![]() |
Logout causes 'Internal Server Error'
Started by Löwenherz |
2 Replies
6,166 Views |
![]() by Löwenherz |
![]() |
![]() |
Color scheme & Spell Check?
Started by lex_rooker |
3 Replies
6,662 Views |
![]() by lex_rooker |
![]() |
![]() |
Install Google/Scroogle Search Engine
Started by zeno |
0 Replies
4,987 Views |
![]() by zeno |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll