/* * 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 9 Guests are viewing this board. | ||||
![]() |
![]() |
Maybe make a Q/A section for new people?
Started by Poppy |
3 Replies
15,954 Views |
![]() by smokeyquartz |
![]() |
![]() |
chat room for raw paleo?
Started by smokeyquartz |
1 Replies
4,174 Views |
![]() by tonyvee |
![]() |
![]() |
10 Replies
12,574 Views |
![]() by therouting |
|
![]() |
![]() |
Before-and-after photos doesn't show
Started by thehadezb |
0 Replies
7,612 Views |
![]() by thehadezb |
![]() |
![]() |
2 Replies
8,083 Views |
![]() by sabertooth |
|
![]() |
![]() |
A subforum on food production
Started by dariorpl |
3 Replies
6,431 Views |
![]() by dariorpl |
![]() |
![]() |
13 Replies
10,226 Views |
![]() by norawnofun |
|
![]() |
![]() |
11 Replies
11,185 Views |
![]() by a_real_man |
|
![]() |
![]() |
"Science" section
Started by Iguana |
7 Replies
8,592 Views |
![]() by surfsteve |
![]() |
![]() |
10 Replies
11,810 Views |
![]() by dariorpl |
|
![]() |
![]() |
New forum software?
Started by lb_on_the_cb « 1 2 » |
25 Replies
23,950 Views |
![]() by the6step |
![]() |
![]() |
New section(s) on the forum
Started by ! |
6 Replies
9,194 Views |
![]() by TylerDurden |
![]() |
![]() |
Background color
Started by Iguana |
0 Replies
4,918 Views |
![]() by Iguana |
![]() |
![]() |
Marketplace
Started by dariorpl |
6 Replies
8,017 Views |
![]() by eveheart |
![]() |
![]() |
Problem posting picture
Started by sydney |
6 Replies
10,650 Views |
![]() by goodsamaritan |
![]() |
![]() |
Drinking water after a meal
Started by A_Tribe_Called_Paleo |
7 Replies
8,949 Views |
![]() by eveheart |
![]() |
![]() |
New Member Personal Message Limits
Started by jessica |
3 Replies
6,638 Views |
![]() by jessica |
![]() |
![]() |
1 Replies
5,647 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
HOW TO FIND A REPLY I MADE IN A TOPIC?
Started by primalgirl |
2 Replies
5,869 Views |
![]() by primalgirl |
![]() |
![]() |
How to edit/delete posts etc?
Started by Spirit Bear |
2 Replies
6,935 Views |
![]() by Spirit Bear |
![]() |
![]() |
Live Chat Box ( Facebook kinda like)
Started by achillezzz |
18 Replies
18,950 Views |
![]() by achillezzz |
![]() |
![]() |
Gross topic deleted
Started by Iguana |
6 Replies
8,262 Views |
![]() by svrn |
![]() |
![]() |
Paleo Library and Mediateka
Started by Aura |
0 Replies
5,187 Views |
![]() by Aura |
![]() |
![]() |
questions about personal messages
Started by jessica |
4 Replies
6,951 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Another appeal to members
Started by TylerDurden |
8 Replies
9,687 Views |
![]() by Aura |
![]() |
![]() |
quote font size
Started by Alive |
7 Replies
8,691 Views |
![]() by cherimoya_kid |
![]() |
![]() |
mobile app?
Started by Dr. D |
2 Replies
6,071 Views |
![]() by Dr. D |
![]() |
![]() |
Adding "thanks" button below posts
Started by letsdoiteczema |
11 Replies
11,735 Views |
![]() by goodsamaritan |
![]() |
![]() |
13 Replies
18,685 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
4 Replies
7,270 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
VERIFICATION LETTERS TOO HARD TO READ!
Started by primalgirl |
1 Replies
5,812 Views |
![]() by goodsamaritan |
![]() |
![]() |
spelling error
Started by Ioanna |
6 Replies
8,677 Views |
![]() by Bacchal |
![]() |
![]() |
Forum for sharing food sources
Started by Spirit Bear |
3 Replies
6,097 Views |
![]() by TylerDurden |
![]() |
![]() |
Low Carb Raw Paleo Forum
Started by Alive |
7 Replies
12,618 Views |
![]() by Alive |
![]() |
![]() |
Image verification issue
Started by Delmonico |
1 Replies
5,899 Views |
![]() by goodsamaritan |
![]() |
![]() |
Isn't this a RPD Only Forum?
Started by Chris |
17 Replies
14,375 Views |
![]() by cherimoya_kid |
![]() |
![]() |
I Suggest you Improve the Suggestion Box
Started by Chris |
0 Replies
5,234 Views |
![]() by Chris |
![]() |
![]() |
what is"Off Topic" for
Started by Alive |
3 Replies
6,164 Views |
![]() by TylerDurden |
![]() |
![]() |
Further reminder
Started by TylerDurden |
0 Replies
4,988 Views |
![]() by TylerDurden |
![]() |
![]() |
quote of the week
Started by blackrhino |
2 Replies
5,774 Views |
![]() by blackrhino |
![]() |
![]() |
Better organization and a sticky board
Started by CitrusHigh |
10 Replies
9,322 Views |
![]() by KD |
![]() |
![]() |
Better grammar etc.
Started by TylerDurden |
1 Replies
5,517 Views |
![]() by CitrusHigh |
![]() |
![]() |
3 Replies
6,628 Views |
![]() by TylerDurden |
|
![]() |
![]() |
4 Replies
7,584 Views |
![]() by Aaaaaa |
|
![]() |
![]() |
Better spelling/grammar/punctuation
Started by TylerDurden |
24 Replies
17,502 Views |
![]() by Muhammad.Sunshine |
![]() |
![]() |
Back button on Browser
Started by Fermenter Zym |
0 Replies
4,988 Views |
![]() by Fermenter Zym |
![]() |
![]() |
Country flags
Started by Löwenherz |
0 Replies
4,897 Views |
![]() by Löwenherz |
![]() |
![]() |
Logout causes 'Internal Server Error'
Started by Löwenherz |
2 Replies
6,171 Views |
![]() by Löwenherz |
![]() |
![]() |
Color scheme & Spell Check?
Started by lex_rooker |
3 Replies
6,665 Views |
![]() by lex_rooker |
![]() |
![]() |
Install Google/Scroogle Search Engine
Started by zeno |
0 Replies
4,991 Views |
![]() by zeno |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll