/* * 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 31 Guests are viewing this board. | ||||
![]() |
![]() |
Blue By Youuuu
Started by sweetiepitootie |
5 Replies
4,632 Views |
![]() by sweetiepitootie |
![]() |
![]() |
Hi Everyone
Started by velvet jones |
5 Replies
4,689 Views |
![]() by Satya |
![]() |
![]() |
Still here
Started by shirley |
0 Replies
2,732 Views |
![]() by shirley |
![]() |
![]() |
New Family in Town
Started by Haida |
5 Replies
4,623 Views |
![]() by goodsamaritan |
![]() |
![]() |
Just joined...
Started by dizzzie_d |
4 Replies
3,838 Views |
![]() by Satya |
![]() |
![]() |
HELLO EVERYBODY !!
Started by iloverugby1 |
14 Replies
7,492 Views |
![]() by RawZi |
![]() |
![]() |
Explorer/experimenter
Started by Gazelle |
3 Replies
3,609 Views |
![]() by goodsamaritan |
![]() |
![]() |
Hello everyone
Started by Josh |
3 Replies
3,476 Views |
![]() by goodsamaritan |
![]() |
![]() |
Am I in the right place?
Started by asecretchord |
8 Replies
6,088 Views |
![]() by asecretchord |
![]() |
![]() |
3 Replies
3,543 Views |
![]() by TylerDurden |
|
![]() |
![]() |
31 Replies
18,230 Views |
![]() by TylerDurden |
|
![]() |
![]() |
13 Replies
10,136 Views |
![]() by phatdave |
|
![]() |
![]() |
please help with my eczema
Started by jeffdamanallen |
9 Replies
8,335 Views |
![]() by PaleoPhil |
![]() |
![]() |
6 Replies
5,151 Views |
![]() by phatdave |
|
![]() |
![]() |
Hello from Chicago...
Started by Raw Rob |
5 Replies
6,158 Views |
![]() by jeffdamanallen |
![]() |
![]() |
Newbie from Illinois
Started by xEdgexRNx |
4 Replies
4,079 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings from Sweden
Started by fishercat |
4 Replies
3,970 Views |
![]() by fishercat |
![]() |
![]() |
HEllo!
Started by awesomeame |
4 Replies
3,885 Views |
![]() by Josh |
![]() |
![]() |
Howdy from Southern USA
Started by SkinnyDevil |
11 Replies
6,718 Views |
![]() by SkinnyDevil |
![]() |
![]() |
Fairly New
Started by reyyzl |
4 Replies
6,663 Views |
![]() by reyyzl |
![]() |
![]() |
Hello & questions?
Started by DeadRamones |
4 Replies
4,245 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello! I have Newbie questions...
Started by primavera |
15 Replies
8,878 Views |
![]() by Raw Kyle |
![]() |
![]() |
Sup New guy here
Started by sleepstalker |
7 Replies
5,298 Views |
![]() by cherimoya_kid |
![]() |
![]() |
4 Replies
4,516 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
hello everyone
Started by d leh |
2 Replies
3,091 Views |
![]() by d leh |
![]() |
![]() |
Hi from France
Started by Iguana |
9 Replies
9,779 Views |
![]() by PaleoPhil |
![]() |
![]() |
Hi there.......
Started by Elainie |
15 Replies
13,246 Views |
![]() by PaleoPhil |
![]() |
![]() |
hello from the north
Started by zaida |
13 Replies
8,416 Views |
![]() by Hannibal |
![]() |
![]() |
New Guy from Florida
Started by Raw in Florida |
3 Replies
3,679 Views |
![]() by Raw in Florida |
![]() |
![]() |
Heelo All
Started by The Barbarian |
16 Replies
8,663 Views |
![]() by The Barbarian |
![]() |
![]() |
Hello my fellow meat eaters
Started by Cthulhu |
6 Replies
4,830 Views |
![]() by PaleoPhil |
![]() |
![]() |
Hello daoist paleo dieter here
Started by RawpaleoHealthdiet |
7 Replies
6,053 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Hello
Started by djr_81 |
17 Replies
11,576 Views |
![]() by djr_81 |
![]() |
![]() |
Greetings from Germay
Started by Inger |
11 Replies
8,027 Views |
![]() by Inger |
![]() |
![]() |
6 Replies
7,938 Views |
![]() by robbie1687 |
|
![]() |
![]() |
hi there from polish ecoregion :)
Started by gggrzesiek |
3 Replies
3,221 Views |
![]() by TylerDurden |
![]() |
![]() |
The great white north
Started by aariel |
1 Replies
2,895 Views |
![]() by William |
![]() |
![]() |
4 Replies
4,253 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
One more from France
Started by alphagruis |
19 Replies
11,014 Views |
![]() by alphagruis |
![]() |
![]() |
Hi Everyone,
Started by Ladyjustice |
2 Replies
3,066 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello, from toronto canada...
Started by pc701 |
5 Replies
4,354 Views |
![]() by phatdave |
![]() |
![]() |
Ticketyboo!
Started by White Tiger |
10 Replies
7,363 Views |
![]() by White Tiger |
![]() |
![]() |
Hi - Where do I fit in?
Started by Crudivore |
3 Replies
3,470 Views |
![]() by TylerDurden |
![]() |
![]() |
19 Replies
12,663 Views |
![]() by RawZi |
|
![]() |
![]() |
Exciting Time
Started by Jekyll |
2 Replies
3,120 Views |
![]() by yon yonson |
![]() |
![]() |
quick hello
Started by popeye |
1 Replies
2,640 Views |
![]() by PaleoPhil |
![]() |
![]() |
Hello Hello!
Started by primalpillo |
6 Replies
4,490 Views |
![]() by PaleoPhil |
![]() |
![]() |
Hi to all!
Started by sherrylouz |
2 Replies
3,067 Views |
![]() by TylerDurden |
![]() |
![]() |
hola
Started by matthew ryan « 1 2 » |
33 Replies
17,481 Views |
![]() by PaleoPhil |
![]() |
![]() |
811 Raw Foodist with doubts...
Started by whitebox84 |
21 Replies
13,550 Views |
![]() by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll