/* * 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 78 Guests are viewing this board. | ||||
![]() |
![]() |
Hello, trying new things!
Started by Megan Megatoast |
17 Replies
8,423 Views |
![]() by Megan Megatoast |
![]() |
![]() |
Newbie here
Started by Raw Forever |
8 Replies
5,605 Views |
![]() by Raw Forever |
![]() |
![]() |
100 Replies
46,413 Views |
![]() by TylerDurden |
|
![]() |
![]() |
new to forum and question
Started by mentisafer |
12 Replies
8,369 Views |
![]() by djr_81 |
![]() |
![]() |
811 Raw Foodist with doubts...
Started by whitebox84 |
21 Replies
13,251 Views |
![]() by PaleoPhil |
![]() |
![]() |
hola
Started by matthew ryan « 1 2 » |
33 Replies
17,031 Views |
![]() by PaleoPhil |
![]() |
![]() |
Hi to all!
Started by sherrylouz |
2 Replies
3,019 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello Hello!
Started by primalpillo |
6 Replies
4,417 Views |
![]() by PaleoPhil |
![]() |
![]() |
quick hello
Started by popeye |
1 Replies
2,595 Views |
![]() by PaleoPhil |
![]() |
![]() |
Exciting Time
Started by Jekyll |
2 Replies
3,070 Views |
![]() by yon yonson |
![]() |
![]() |
19 Replies
12,437 Views |
![]() by RawZi |
|
![]() |
![]() |
Hi - Where do I fit in?
Started by Crudivore |
3 Replies
3,391 Views |
![]() by TylerDurden |
![]() |
![]() |
Ticketyboo!
Started by White Tiger |
10 Replies
7,186 Views |
![]() by White Tiger |
![]() |
![]() |
Hello, from toronto canada...
Started by pc701 |
5 Replies
4,314 Views |
![]() by phatdave |
![]() |
![]() |
Hi Everyone,
Started by Ladyjustice |
2 Replies
3,027 Views |
![]() by TylerDurden |
![]() |
![]() |
One more from France
Started by alphagruis |
19 Replies
10,786 Views |
![]() by alphagruis |
![]() |
![]() |
4 Replies
4,197 Views |
![]() by cherimoya_kid |
|
![]() |
![]() |
The great white north
Started by aariel |
1 Replies
2,838 Views |
![]() by William |
![]() |
![]() |
hi there from polish ecoregion :)
Started by gggrzesiek |
3 Replies
3,157 Views |
![]() by TylerDurden |
![]() |
![]() |
6 Replies
7,828 Views |
![]() by robbie1687 |
|
![]() |
![]() |
Greetings from Germay
Started by Inger |
11 Replies
7,887 Views |
![]() by Inger |
![]() |
![]() |
Hello
Started by djr_81 |
17 Replies
11,299 Views |
![]() by djr_81 |
![]() |
![]() |
Hello daoist paleo dieter here
Started by RawpaleoHealthdiet |
7 Replies
5,917 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Hello my fellow meat eaters
Started by Cthulhu |
6 Replies
4,723 Views |
![]() by PaleoPhil |
![]() |
![]() |
Heelo All
Started by The Barbarian |
16 Replies
8,527 Views |
![]() by The Barbarian |
![]() |
![]() |
New Guy from Florida
Started by Raw in Florida |
3 Replies
3,635 Views |
![]() by Raw in Florida |
![]() |
![]() |
hello from the north
Started by zaida |
13 Replies
8,309 Views |
![]() by Hannibal |
![]() |
![]() |
Hi there.......
Started by Elainie |
15 Replies
13,128 Views |
![]() by PaleoPhil |
![]() |
![]() |
Hi from France
Started by Iguana |
9 Replies
9,584 Views |
![]() by PaleoPhil |
![]() |
![]() |
hello everyone
Started by d leh |
2 Replies
3,044 Views |
![]() by d leh |
![]() |
![]() |
4 Replies
4,448 Views |
![]() by PaleoPhil |
|
![]() |
![]() |
Sup New guy here
Started by sleepstalker |
7 Replies
5,167 Views |
![]() by cherimoya_kid |
![]() |
![]() |
Hello! I have Newbie questions...
Started by primavera |
15 Replies
8,711 Views |
![]() by Raw Kyle |
![]() |
![]() |
Hello & questions?
Started by DeadRamones |
4 Replies
4,181 Views |
![]() by TylerDurden |
![]() |
![]() |
Fairly New
Started by reyyzl |
4 Replies
6,466 Views |
![]() by reyyzl |
![]() |
![]() |
Howdy from Southern USA
Started by SkinnyDevil |
11 Replies
6,623 Views |
![]() by SkinnyDevil |
![]() |
![]() |
HEllo!
Started by awesomeame |
4 Replies
3,844 Views |
![]() by Josh |
![]() |
![]() |
Greetings from Sweden
Started by fishercat |
4 Replies
3,916 Views |
![]() by fishercat |
![]() |
![]() |
Newbie from Illinois
Started by xEdgexRNx |
4 Replies
4,022 Views |
![]() by TylerDurden |
![]() |
![]() |
Hello from Chicago...
Started by Raw Rob |
5 Replies
6,106 Views |
![]() by jeffdamanallen |
![]() |
![]() |
6 Replies
5,074 Views |
![]() by phatdave |
|
![]() |
![]() |
please help with my eczema
Started by jeffdamanallen |
9 Replies
8,220 Views |
![]() by PaleoPhil |
![]() |
![]() |
13 Replies
9,982 Views |
![]() by phatdave |
|
![]() |
![]() |
31 Replies
17,850 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
3,489 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Am I in the right place?
Started by asecretchord |
8 Replies
5,985 Views |
![]() by asecretchord |
![]() |
![]() |
Hello everyone
Started by Josh |
3 Replies
3,435 Views |
![]() by goodsamaritan |
![]() |
![]() |
Explorer/experimenter
Started by Gazelle |
3 Replies
3,555 Views |
![]() by goodsamaritan |
![]() |
![]() |
HELLO EVERYBODY !!
Started by iloverugby1 |
14 Replies
7,300 Views |
![]() by RawZi |
![]() |
![]() |
Just joined...
Started by dizzzie_d |
4 Replies
3,773 Views |
![]() by Satya |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll