/* * 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 7 Guests are viewing this board. | ||||
![]() |
![]() |
Blue By Youuuu
Started by sweetiepitootie |
5 Replies
4,044 Views |
![]() by sweetiepitootie |
![]() |
![]() |
Hi Everyone
Started by velvet jones |
5 Replies
4,153 Views |
![]() by Satya |
![]() |
![]() |
Still here
Started by shirley |
0 Replies
2,277 Views |
![]() by shirley |
![]() |
![]() |
New Family in Town
Started by Haida |
5 Replies
3,952 Views |
![]() by goodsamaritan |
![]() |
![]() |
Just joined...
Started by dizzzie_d |
4 Replies
3,240 Views |
![]() by Satya |
![]() |
![]() |
HELLO EVERYBODY !!
Started by iloverugby1 |
14 Replies
6,377 Views |
![]() by RawZi |
![]() |
![]() |
Explorer/experimenter
Started by Gazelle |
3 Replies
3,065 Views |
![]() by goodsamaritan |
![]() |
![]() |
Hello everyone
Started by Josh |
3 Replies
2,956 Views |
![]() by goodsamaritan |
![]() |
![]() |
Am I in the right place?
Started by asecretchord |
8 Replies
5,254 Views |
![]() by asecretchord |
![]() |
![]() |
3 Replies
2,986 Views |
![]() by TylerDurden |
|
![]() |
![]() |
31 Replies
15,450 Views |
![]() by TylerDurden |
|
![]() |
![]() |
13 Replies
8,779 Views |
![]() by phatdave |
|
![]() |
![]() |
please help with my eczema
Started by jeffdamanallen |
9 Replies
7,033 Views |
![]() by PaleoPhil |
![]() |
![]() |
6 Replies
4,327 Views |
![]() by phatdave |
|
![]() |
![]() |
Hello from Chicago...
Started by Raw Rob |
5 Replies
4,059 Views |
![]() by jeffdamanallen |
![]() |
![]() |
Newbie from Illinois
Started by xEdgexRNx |
4 Replies
3,502 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings from Sweden
Started by fishercat |
4 Replies
3,355 Views |
![]() by fishercat |
![]() |
![]() |
HEllo!
Started by awesomeame |
4 Replies
3,343 Views |
![]() by Josh |
![]() |
![]() |
Howdy from Southern USA
Started by SkinnyDevil |
11 Replies
5,739 Views |
![]() by SkinnyDevil |
![]() |
![]() |
Fairly New
Started by reyyzl |
4 Replies
3,942 Views |
![]() by reyyzl |
![]() |
![]() |
Hello & questions?
Started by DeadRamones |
4 Replies
3,614 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello! I have Newbie questions...
Started by primavera |
15 Replies
7,579 Views |
![]() by Raw Kyle |
![]() |
![]() |
Sup New guy here
Started by sleepstalker |
7 Replies
4,424 Views |
![]() by cherimoya_kid |
![]() |
![]() |
4 Replies
3,873 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
hello everyone
Started by d leh |
2 Replies
2,574 Views |
![]() by d leh |
![]() |
![]() |
Hi from France
Started by Iguana |
9 Replies
7,333 Views |
![]() by PaleoPhil |
![]() |
![]() |
Hi there.......
Started by Elainie |
15 Replies
10,466 Views |
![]() by PaleoPhil |
![]() |
![]() |
hello from the north
Started by zaida |
13 Replies
7,202 Views |
![]() by Hannibal |
![]() |
![]() |
New Guy from Florida
Started by Raw in Florida |
3 Replies
3,130 Views |
![]() by Raw in Florida |
![]() |
![]() |
Heelo All
Started by The Barbarian |
16 Replies
7,539 Views |
![]() by The Barbarian |
![]() |
![]() |
Hello my fellow meat eaters
Started by Cthulhu |
6 Replies
4,079 Views |
![]() by PaleoPhil |
![]() |
![]() |
Hello daoist paleo dieter here
Started by RawpaleoHealthdiet |
7 Replies
5,287 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Hello
Started by djr_81 |
17 Replies
10,153 Views |
![]() by djr_81 |
![]() |
![]() |
Greetings from Germay
Started by Inger |
11 Replies
6,841 Views |
![]() by Inger |
![]() |
![]() |
6 Replies
7,094 Views |
![]() by robbie1687 |
|
![]() |
![]() |
hi there from polish ecoregion :)
Started by gggrzesiek |
3 Replies
2,653 Views |
![]() by TylerDurden |
![]() |
![]() |
The great white north
Started by aariel |
1 Replies
2,352 Views |
![]() by William |
![]() |
![]() |
4 Replies
3,614 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
One more from France
Started by alphagruis |
19 Replies
9,354 Views |
![]() by alphagruis |
![]() |
![]() |
Hi Everyone,
Started by Ladyjustice |
2 Replies
2,608 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello, from toronto canada...
Started by pc701 |
5 Replies
3,767 Views |
![]() by phatdave |
![]() |
![]() |
Ticketyboo!
Started by White Tiger |
10 Replies
6,036 Views |
![]() by White Tiger |
![]() |
![]() |
Hi - Where do I fit in?
Started by Crudivore |
3 Replies
2,742 Views |
![]() by TylerDurden |
![]() |
![]() |
19 Replies
11,036 Views |
![]() by RawZi |
|
![]() |
![]() |
Exciting Time
Started by Jekyll |
2 Replies
2,612 Views |
![]() by yon yonson |
![]() |
![]() |
quick hello
Started by popeye |
1 Replies
2,137 Views |
![]() by PaleoPhil |
![]() |
![]() |
Hello Hello!
Started by primalpillo |
6 Replies
3,797 Views |
![]() by PaleoPhil |
![]() |
![]() |
Hi to all!
Started by sherrylouz |
2 Replies
2,515 Views |
![]() by TylerDurden |
![]() |
![]() |
hola
Started by matthew ryan « 1 2 » |
33 Replies
13,969 Views |
![]() by PaleoPhil |
![]() |
![]() |
811 Raw Foodist with doubts...
Started by whitebox84 |
21 Replies
10,774 Views |
![]() by PaleoPhil |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll