/* * 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 ![]() |
Replies / Views | Last post | ||
---|---|---|---|---|
0 Members and 16 Guests are viewing this board. | ||||
![]() |
![]() |
Greetings from Austin
Started by davidg |
5 Replies
4,301 Views |
![]() by Kristelle |
![]() |
![]() |
Greetings from Australia
Started by irenekrey |
1 Replies
2,143 Views |
![]() by miles |
![]() |
![]() |
Greetings from Colombia
Started by Sobchak |
1 Replies
1,652 Views |
![]() by norawnofun |
![]() |
![]() |
Greetings from Florida!
Started by Luis3valen |
2 Replies
2,466 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings from Germay
Started by Inger |
11 Replies
6,841 Views |
![]() by Inger |
![]() |
![]() |
Greetings from Hawaii
Started by Unreasonable_Happiness |
1 Replies
2,600 Views |
![]() by van |
![]() |
![]() |
Greetings from Middle Tennessee. :)
Started by xnadam |
2 Replies
2,135 Views |
![]() by xnadam |
![]() |
![]() |
Greetings from NE Kansas!
Started by hassafras |
17 Replies
7,582 Views |
![]() by van |
![]() |
![]() |
Greetings from Norway
Started by Borge |
1 Replies
2,497 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings from Sarav...
Started by Sarav |
19 Replies
13,054 Views |
![]() by Sarav |
![]() |
![]() |
Greetings from Singapore
Started by Igla |
0 Replies
2,312 Views |
![]() by Igla |
![]() |
![]() |
Greetings from Spain !
Started by Ramsay |
3 Replies
3,456 Views |
![]() by SouthernSpain11 |
![]() |
![]() |
Greetings from Sweden
Started by fishercat |
4 Replies
3,355 Views |
![]() by fishercat |
![]() |
![]() |
Greetings from the UK
Started by Fat of the land |
3 Replies
3,255 Views |
![]() by Raw-nature |
![]() |
![]() |
Greetings from UK :)
Started by Health33 |
2 Replies
2,733 Views |
![]() by RawZi |
![]() |
![]() |
Greetings from Upstate NY!
Started by havoxxlol |
1 Replies
2,545 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings to everyone!
Started by Caveman |
3 Replies
2,407 Views |
![]() by goodsamaritan |
![]() |
![]() |
Greetings!
Started by magnagei |
2 Replies
2,147 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings, paleo people
Started by GK420 |
21 Replies
9,996 Views |
![]() by GK420 |
![]() |
![]() |
Greg, Poland
Started by tiamat |
3 Replies
2,491 Views |
![]() by goodsamaritan |
![]() |
![]() |
Grixxly here
Started by Grixxly |
4 Replies
3,242 Views |
![]() by goodsamaritan |
![]() |
![]() |
4 Replies
3,669 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
3 Replies
2,770 Views |
![]() by zbr5 |
|
![]() |
![]() |
3 Replies
3,222 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
0 Replies
2,269 Views |
![]() by Aquarion |
|
![]() |
![]() |
Hear that squeak? Noob wrapper. Tear in.
Started by Lynnzard |
12 Replies
6,105 Views |
![]() by Adora |
![]() |
![]() |
Heelo All
Started by The Barbarian |
16 Replies
7,539 Views |
![]() by The Barbarian |
![]() |
![]() |
Hei guise :3
Started by oxycat |
4 Replies
3,103 Views |
![]() by oxycat |
![]() |
![]() |
Hellllo nurse!
Started by CitrusHigh |
7 Replies
3,932 Views |
![]() by Bowen |
![]() |
![]() |
2 Replies
2,364 Views |
![]() by RawZi |
|
![]() |
![]() |
10 Replies
6,082 Views |
![]() by reyyzl |
|
![]() |
![]() |
4 Replies
2,811 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
2,708 Views |
![]() by LePatron7 |
|
![]() |
![]() |
1 Replies
3,025 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hello
Started by djr_81 |
17 Replies
10,153 Views |
![]() by djr_81 |
![]() |
![]() |
3 Replies
2,569 Views |
![]() by Ioanna |
|
![]() |
![]() |
4 Replies
4,117 Views |
![]() by eoterm |
|
![]() |
![]() |
5 Replies
3,530 Views |
![]() by eveheart |
|
![]() |
![]() |
3 Replies
2,986 Views |
![]() by TylerDurden |
|
![]() |
![]() |
17 Replies
9,800 Views |
![]() by Max |
|
![]() |
![]() |
1 Replies
2,270 Views |
![]() by lex_rooker |
|
![]() |
![]() |
1 Replies
2,259 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
2,773 Views |
![]() by leadahead |
|
![]() |
![]() |
7 Replies
5,030 Views |
![]() by 24isours |
|
![]() |
![]() |
Hello & questions?
Started by DeadRamones |
4 Replies
3,614 Views |
![]() by TylerDurden |
![]() |
![]() |
7 Replies
3,811 Views |
![]() by rawesome |
|
![]() |
![]() |
29 Replies
14,388 Views |
![]() by Bronwen |
|
![]() |
![]() |
Hello -- new to the site
Started by rawpaleo |
7 Replies
5,435 Views |
![]() by Iguana |
![]() |
![]() |
Hello :)
Started by Healthysmile |
1 Replies
2,361 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
3,145 Views |
![]() by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll