/* * 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 2 Guests are viewing this board. | ||||
![]() |
![]() |
Maybe make a Q/A section for new people?
Started by Poppy |
3 Replies
14,208 Views |
![]() by smokeyquartz |
![]() |
![]() |
chat room for raw paleo?
Started by smokeyquartz |
1 Replies
3,679 Views |
![]() by tonyvee |
![]() |
![]() |
10 Replies
11,910 Views |
![]() by therouting |
|
![]() |
![]() |
Before-and-after photos doesn't show
Started by thehadezb |
0 Replies
7,308 Views |
![]() by thehadezb |
![]() |
![]() |
2 Replies
7,755 Views |
![]() by sabertooth |
|
![]() |
![]() |
A subforum on food production
Started by dariorpl |
3 Replies
6,072 Views |
![]() by dariorpl |
![]() |
![]() |
13 Replies
9,646 Views |
![]() by norawnofun |
|
![]() |
![]() |
11 Replies
10,347 Views |
![]() by a_real_man |
|
![]() |
![]() |
"Science" section
Started by Iguana |
7 Replies
7,900 Views |
![]() by surfsteve |
![]() |
![]() |
10 Replies
11,203 Views |
![]() by dariorpl |
|
![]() |
![]() |
New forum software?
Started by lb_on_the_cb « 1 2 » |
25 Replies
22,065 Views |
![]() by the6step |
![]() |
![]() |
New section(s) on the forum
Started by ! |
6 Replies
8,646 Views |
![]() by TylerDurden |
![]() |
![]() |
Background color
Started by Iguana |
0 Replies
4,559 Views |
![]() by Iguana |
![]() |
![]() |
Marketplace
Started by dariorpl |
6 Replies
7,613 Views |
![]() by eveheart |
![]() |
![]() |
Problem posting picture
Started by sydney |
6 Replies
10,325 Views |
![]() by goodsamaritan |
![]() |
![]() |
Drinking water after a meal
Started by A_Tribe_Called_Paleo |
7 Replies
8,474 Views |
![]() by eveheart |
![]() |
![]() |
New Member Personal Message Limits
Started by jessica |
3 Replies
6,351 Views |
![]() by jessica |
![]() |
![]() |
1 Replies
5,375 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
HOW TO FIND A REPLY I MADE IN A TOPIC?
Started by primalgirl |
2 Replies
5,571 Views |
![]() by primalgirl |
![]() |
![]() |
How to edit/delete posts etc?
Started by Spirit Bear |
2 Replies
6,676 Views |
![]() by Spirit Bear |
![]() |
![]() |
Live Chat Box ( Facebook kinda like)
Started by achillezzz |
18 Replies
18,149 Views |
![]() by achillezzz |
![]() |
![]() |
Gross topic deleted
Started by Iguana |
6 Replies
7,863 Views |
![]() by svrn |
![]() |
![]() |
Paleo Library and Mediateka
Started by Aura |
0 Replies
4,993 Views |
![]() by Aura |
![]() |
![]() |
questions about personal messages
Started by jessica |
4 Replies
6,649 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Another appeal to members
Started by TylerDurden |
8 Replies
9,162 Views |
![]() by Aura |
![]() |
![]() |
quote font size
Started by Alive |
7 Replies
8,239 Views |
![]() by cherimoya_kid |
![]() |
![]() |
mobile app?
Started by Dr. D |
2 Replies
5,812 Views |
![]() by Dr. D |
![]() |
![]() |
Adding "thanks" button below posts
Started by letsdoiteczema |
11 Replies
11,187 Views |
![]() by goodsamaritan |
![]() |
![]() |
13 Replies
17,948 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
4 Replies
6,945 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
VERIFICATION LETTERS TOO HARD TO READ!
Started by primalgirl |
1 Replies
5,572 Views |
![]() by goodsamaritan |
![]() |
![]() |
spelling error
Started by Ioanna |
6 Replies
8,319 Views |
![]() by Bacchal |
![]() |
![]() |
Forum for sharing food sources
Started by Spirit Bear |
3 Replies
5,735 Views |
![]() by TylerDurden |
![]() |
![]() |
Low Carb Raw Paleo Forum
Started by Alive |
7 Replies
11,707 Views |
![]() by Alive |
![]() |
![]() |
Image verification issue
Started by Delmonico |
1 Replies
5,591 Views |
![]() by goodsamaritan |
![]() |
![]() |
Isn't this a RPD Only Forum?
Started by Chris |
17 Replies
13,548 Views |
![]() by cherimoya_kid |
![]() |
![]() |
I Suggest you Improve the Suggestion Box
Started by Chris |
0 Replies
4,965 Views |
![]() by Chris |
![]() |
![]() |
what is"Off Topic" for
Started by Alive |
3 Replies
5,925 Views |
![]() by TylerDurden |
![]() |
![]() |
Further reminder
Started by TylerDurden |
0 Replies
4,784 Views |
![]() by TylerDurden |
![]() |
![]() |
quote of the week
Started by blackrhino |
2 Replies
5,556 Views |
![]() by blackrhino |
![]() |
![]() |
Better organization and a sticky board
Started by CitrusHigh |
10 Replies
8,930 Views |
![]() by KD |
![]() |
![]() |
Better grammar etc.
Started by TylerDurden |
1 Replies
5,234 Views |
![]() by CitrusHigh |
![]() |
![]() |
3 Replies
6,298 Views |
![]() by TylerDurden |
|
![]() |
![]() |
4 Replies
7,195 Views |
![]() by Aaaaaa |
|
![]() |
![]() |
Better spelling/grammar/punctuation
Started by TylerDurden |
24 Replies
16,540 Views |
![]() by Muhammad.Sunshine |
![]() |
![]() |
Back button on Browser
Started by Fermenter Zym |
0 Replies
4,754 Views |
![]() by Fermenter Zym |
![]() |
![]() |
Country flags
Started by Löwenherz |
0 Replies
4,687 Views |
![]() by Löwenherz |
![]() |
![]() |
Logout causes 'Internal Server Error'
Started by Löwenherz |
2 Replies
5,801 Views |
![]() by Löwenherz |
![]() |
![]() |
Color scheme & Spell Check?
Started by lex_rooker |
3 Replies
6,400 Views |
![]() by lex_rooker |
![]() |
![]() |
Install Google/Scroogle Search Engine
Started by zeno |
0 Replies
4,773 Views |
![]() by zeno |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll