/* * 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 12 Guests are viewing this board. | ||||
![]() |
![]() |
Maybe make a Q/A section for new people?
Started by Poppy |
3 Replies
15,347 Views |
![]() by smokeyquartz |
![]() |
![]() |
chat room for raw paleo?
Started by smokeyquartz |
1 Replies
4,035 Views |
![]() by tonyvee |
![]() |
![]() |
10 Replies
12,426 Views |
![]() by therouting |
|
![]() |
![]() |
Before-and-after photos doesn't show
Started by thehadezb |
0 Replies
7,536 Views |
![]() by thehadezb |
![]() |
![]() |
2 Replies
8,009 Views |
![]() by sabertooth |
|
![]() |
![]() |
A subforum on food production
Started by dariorpl |
3 Replies
6,339 Views |
![]() by dariorpl |
![]() |
![]() |
13 Replies
10,085 Views |
![]() by norawnofun |
|
![]() |
![]() |
11 Replies
10,980 Views |
![]() by a_real_man |
|
![]() |
![]() |
"Science" section
Started by Iguana |
7 Replies
8,448 Views |
![]() by surfsteve |
![]() |
![]() |
10 Replies
11,621 Views |
![]() by dariorpl |
|
![]() |
![]() |
New forum software?
Started by lb_on_the_cb « 1 2 » |
25 Replies
23,417 Views |
![]() by the6step |
![]() |
![]() |
New section(s) on the forum
Started by ! |
6 Replies
9,038 Views |
![]() by TylerDurden |
![]() |
![]() |
Background color
Started by Iguana |
0 Replies
4,831 Views |
![]() by Iguana |
![]() |
![]() |
Marketplace
Started by dariorpl |
6 Replies
7,888 Views |
![]() by eveheart |
![]() |
![]() |
Problem posting picture
Started by sydney |
6 Replies
10,564 Views |
![]() by goodsamaritan |
![]() |
![]() |
Drinking water after a meal
Started by A_Tribe_Called_Paleo |
7 Replies
8,801 Views |
![]() by eveheart |
![]() |
![]() |
New Member Personal Message Limits
Started by jessica |
3 Replies
6,557 Views |
![]() by jessica |
![]() |
![]() |
1 Replies
5,565 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
HOW TO FIND A REPLY I MADE IN A TOPIC?
Started by primalgirl |
2 Replies
5,765 Views |
![]() by primalgirl |
![]() |
![]() |
How to edit/delete posts etc?
Started by Spirit Bear |
2 Replies
6,862 Views |
![]() by Spirit Bear |
![]() |
![]() |
Live Chat Box ( Facebook kinda like)
Started by achillezzz |
18 Replies
18,728 Views |
![]() by achillezzz |
![]() |
![]() |
Gross topic deleted
Started by Iguana |
6 Replies
8,169 Views |
![]() by svrn |
![]() |
![]() |
Paleo Library and Mediateka
Started by Aura |
0 Replies
5,137 Views |
![]() by Aura |
![]() |
![]() |
questions about personal messages
Started by jessica |
4 Replies
6,870 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Another appeal to members
Started by TylerDurden |
8 Replies
9,549 Views |
![]() by Aura |
![]() |
![]() |
quote font size
Started by Alive |
7 Replies
8,574 Views |
![]() by cherimoya_kid |
![]() |
![]() |
mobile app?
Started by Dr. D |
2 Replies
6,006 Views |
![]() by Dr. D |
![]() |
![]() |
Adding "thanks" button below posts
Started by letsdoiteczema |
11 Replies
11,548 Views |
![]() by goodsamaritan |
![]() |
![]() |
13 Replies
18,473 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
4 Replies
7,189 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
VERIFICATION LETTERS TOO HARD TO READ!
Started by primalgirl |
1 Replies
5,748 Views |
![]() by goodsamaritan |
![]() |
![]() |
spelling error
Started by Ioanna |
6 Replies
8,577 Views |
![]() by Bacchal |
![]() |
![]() |
Forum for sharing food sources
Started by Spirit Bear |
3 Replies
5,997 Views |
![]() by TylerDurden |
![]() |
![]() |
Low Carb Raw Paleo Forum
Started by Alive |
7 Replies
12,368 Views |
![]() by Alive |
![]() |
![]() |
Image verification issue
Started by Delmonico |
1 Replies
5,835 Views |
![]() by goodsamaritan |
![]() |
![]() |
Isn't this a RPD Only Forum?
Started by Chris |
17 Replies
14,179 Views |
![]() by cherimoya_kid |
![]() |
![]() |
I Suggest you Improve the Suggestion Box
Started by Chris |
0 Replies
5,183 Views |
![]() by Chris |
![]() |
![]() |
what is"Off Topic" for
Started by Alive |
3 Replies
6,098 Views |
![]() by TylerDurden |
![]() |
![]() |
Further reminder
Started by TylerDurden |
0 Replies
4,931 Views |
![]() by TylerDurden |
![]() |
![]() |
quote of the week
Started by blackrhino |
2 Replies
5,718 Views |
![]() by blackrhino |
![]() |
![]() |
Better organization and a sticky board
Started by CitrusHigh |
10 Replies
9,231 Views |
![]() by KD |
![]() |
![]() |
Better grammar etc.
Started by TylerDurden |
1 Replies
5,445 Views |
![]() by CitrusHigh |
![]() |
![]() |
3 Replies
6,544 Views |
![]() by TylerDurden |
|
![]() |
![]() |
4 Replies
7,473 Views |
![]() by Aaaaaa |
|
![]() |
![]() |
Better spelling/grammar/punctuation
Started by TylerDurden |
24 Replies
17,182 Views |
![]() by Muhammad.Sunshine |
![]() |
![]() |
Back button on Browser
Started by Fermenter Zym |
0 Replies
4,932 Views |
![]() by Fermenter Zym |
![]() |
![]() |
Country flags
Started by Löwenherz |
0 Replies
4,841 Views |
![]() by Löwenherz |
![]() |
![]() |
Logout causes 'Internal Server Error'
Started by Löwenherz |
2 Replies
6,097 Views |
![]() by Löwenherz |
![]() |
![]() |
Color scheme & Spell Check?
Started by lex_rooker |
3 Replies
6,603 Views |
![]() by lex_rooker |
![]() |
![]() |
Install Google/Scroogle Search Engine
Started by zeno |
0 Replies
4,936 Views |
![]() by zeno |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll