/* * 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 27 Guests are viewing this board. | ||||
![]() |
![]() |
New Family in Town
Started by Haida |
5 Replies
4,637 Views |
![]() by goodsamaritan |
![]() |
![]() |
Still here
Started by shirley |
0 Replies
2,737 Views |
![]() by shirley |
![]() |
![]() |
Hi Everyone
Started by velvet jones |
5 Replies
4,693 Views |
![]() by Satya |
![]() |
![]() |
Blue By Youuuu
Started by sweetiepitootie |
5 Replies
4,640 Views |
![]() by sweetiepitootie |
![]() |
![]() |
Getting Started
Started by Topper Harley |
3 Replies
5,748 Views |
![]() by Raw Kyle |
![]() |
![]() |
Introducing Prehistorik
Started by prehistorik |
8 Replies
9,200 Views |
![]() by Raw Rob |
![]() |
![]() |
8 Replies
8,369 Views |
![]() by Satya |
|
![]() |
![]() |
6 Replies
6,615 Views |
![]() by Satya |
|
![]() |
![]() |
Hi all
Started by SharpPointyStickGuy |
4 Replies
5,820 Views |
![]() by Guittarman03 |
![]() |
![]() |
4 Replies
5,833 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
Newbie Here :)
Started by Ioanna |
11 Replies
10,557 Views |
![]() by RawZi |
![]() |
![]() |
Greetings from Sarav...
Started by Sarav |
19 Replies
16,237 Views |
![]() by Sarav |
![]() |
![]() |
1 Replies
5,361 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Zeruff's introduction
Started by zeruff |
9 Replies
9,779 Views |
![]() by reyyzl |
![]() |
![]() |
RZ the Vampyre Angel
Started by RawZi |
8 Replies
8,222 Views |
![]() by boxcarguy07 |
![]() |
![]() |
Hello, introducing myself
Started by livingthelife |
4 Replies
5,864 Views |
![]() by reyyzl |
![]() |
![]() |
10 Replies
8,926 Views |
![]() by reyyzl |
|
![]() |
![]() |
New here and have some questions
Started by Tim |
7 Replies
8,224 Views |
![]() by Raw Kyle |
![]() |
![]() |
Paleo-style
Started by JaX |
4 Replies
5,505 Views |
![]() by TylerDurden |
![]() |
![]() |
how can I change my user name?
Started by JaX |
2 Replies
4,625 Views |
![]() by xylothrill |
![]() |
![]() |
hey guys, just joined
Started by yon yonson |
14 Replies
10,554 Views |
![]() by yon yonson |
![]() |
![]() |
Hello Everyone
Started by OldeSword |
3 Replies
5,384 Views |
![]() by boxcarguy07 |
![]() |
![]() |
6 Replies
7,043 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
8 Replies
8,377 Views |
![]() by iceman |
|
![]() |
![]() |
Hey, I'm Son of Salmon
Started by son_of_salmon |
7 Replies
8,367 Views |
![]() by wodgina |
![]() |
![]() |
Just arrived
Started by igibike |
9 Replies
8,399 Views |
![]() by igibike |
![]() |
![]() |
59 Replies
28,803 Views |
![]() by Kristelle |
|
![]() |
![]() |
Welcome Anavegana!
Started by xylothrill |
2 Replies
5,201 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings from Austin
Started by davidg |
5 Replies
6,519 Views |
![]() by Kristelle |
![]() |
![]() |
Just want to say Hi.
Started by Lucidknight |
5 Replies
6,567 Views |
![]() by goodsamaritan |
![]() |
![]() |
so glad to find this...
Started by seesawsemiology |
20 Replies
13,468 Views |
![]() by seesawsemiology |
![]() |
![]() |
OUR 100th MEMBER, SQUALL - WELCOME
Started by Waungata |
9 Replies
9,031 Views |
![]() by TylerDurden |
![]() |
![]() |
Going back raw, never wanted to leave
Started by Python |
6 Replies
6,696 Views |
![]() by Python |
![]() |
![]() |
1 Replies
5,071 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Introductory Thoughts...
Started by TruthHunter |
12 Replies
9,513 Views |
![]() by TylerDurden |
![]() |
![]() |
A quick introduction
Started by Sentient Primate |
11 Replies
9,991 Views |
![]() by stevesurv |
![]() |
![]() |
Hey Everybody.
Started by stevesurv |
7 Replies
7,425 Views |
![]() by stevesurv |
![]() |
![]() |
2 Replies
5,878 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
1 Replies
4,856 Views |
![]() by xylothrill |
|
![]() |
![]() |
New user pookietooth
Started by pookietooth |
5 Replies
7,613 Views |
![]() by pookietooth |
![]() |
![]() |
5 Replies
7,549 Views |
![]() by goodsamaritan |
|
![]() |
![]() |
whoa fatty
Started by whitebuffalo |
5 Replies
6,906 Views |
![]() by Satya |
![]() |
![]() |
Hello! Introducing myself!
Started by boxcarguy07 |
3 Replies
5,504 Views |
![]() by boxcarguy07 |
![]() |
![]() |
4 Replies
5,977 Views |
![]() by Mike |
|
![]() |
![]() |
Hello, new here: Bubba
Started by bubba |
14 Replies
10,726 Views |
![]() by TylerDurden |
![]() |
![]() |
Hi Prairie Monkey!
Started by xylothrill |
0 Replies
4,755 Views |
![]() by xylothrill |
![]() |
![]() |
beginner needs advice
Started by whitebuffalo |
5 Replies
7,049 Views |
![]() by Kristelle |
![]() |
![]() |
Hi All
Started by lex_rooker |
17 Replies
14,049 Views |
![]() by lex_rooker |
![]() |
![]() |
greetings (Primal Diet Moderator)
Started by Raw Kyle |
3 Replies
5,541 Views |
![]() by Raw Kyle |
![]() |
![]() |
Welcome Jamie Dolan!
Started by xylothrill |
0 Replies
4,907 Views |
![]() by xylothrill |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll