/* * 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 460 Guests are viewing this board. | ||||
![]() |
![]() |
Greetings from Austin
Started by davidg |
5 Replies
6,438 Views |
![]() by Kristelle |
![]() |
![]() |
Greetings from Australia
Started by irenekrey |
1 Replies
2,635 Views |
![]() by miles |
![]() |
![]() |
Greetings from Colombia
Started by Sobchak |
1 Replies
3,399 Views |
![]() by norawnofun |
![]() |
![]() |
Greetings from Florida!
Started by Luis3valen |
2 Replies
3,056 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings from Germay
Started by Inger |
11 Replies
7,887 Views |
![]() by Inger |
![]() |
![]() |
Greetings from Hawaii
Started by Unreasonable_Happiness |
1 Replies
4,267 Views |
![]() by van |
![]() |
![]() |
Greetings from Middle Tennessee. :)
Started by xnadam |
2 Replies
2,652 Views |
![]() by xnadam |
![]() |
![]() |
Greetings from NE Kansas!
Started by hassafras |
17 Replies
11,045 Views |
![]() by van |
![]() |
![]() |
Greetings from Norway
Started by Borge |
1 Replies
3,083 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings from Sarav...
Started by Sarav |
19 Replies
16,009 Views |
![]() by Sarav |
![]() |
![]() |
Greetings from Singapore
Started by Igla |
0 Replies
2,804 Views |
![]() by Igla |
![]() |
![]() |
Greetings from Spain !
Started by Ramsay |
3 Replies
4,052 Views |
![]() by SouthernSpain11 |
![]() |
![]() |
Greetings from Sweden
Started by fishercat |
4 Replies
3,916 Views |
![]() by fishercat |
![]() |
![]() |
Greetings from the UK
Started by Fat of the land |
3 Replies
5,159 Views |
![]() by Raw-nature |
![]() |
![]() |
Greetings from UK :)
Started by Health33 |
2 Replies
3,341 Views |
![]() by RawZi |
![]() |
![]() |
Greetings from Upstate NY!
Started by havoxxlol |
1 Replies
3,020 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings to everyone!
Started by Caveman |
3 Replies
2,901 Views |
![]() by goodsamaritan |
![]() |
![]() |
Greetings!
Started by magnagei |
2 Replies
2,672 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings, paleo people
Started by GK420 |
21 Replies
12,171 Views |
![]() by GK420 |
![]() |
![]() |
Greg, Poland
Started by tiamat |
3 Replies
2,950 Views |
![]() by goodsamaritan |
![]() |
![]() |
Grixxly here
Started by Grixxly |
4 Replies
3,854 Views |
![]() by goodsamaritan |
![]() |
![]() |
4 Replies
5,756 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
3 Replies
3,454 Views |
![]() by zbr5 |
|
![]() |
![]() |
3 Replies
3,734 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
0 Replies
2,733 Views |
![]() by Aquarion |
|
![]() |
![]() |
Hear that squeak? Noob wrapper. Tear in.
Started by Lynnzard |
12 Replies
7,369 Views |
![]() by Adora |
![]() |
![]() |
Heelo All
Started by The Barbarian |
16 Replies
8,527 Views |
![]() by The Barbarian |
![]() |
![]() |
Hei guise :3
Started by oxycat |
4 Replies
3,631 Views |
![]() by oxycat |
![]() |
![]() |
Hellllo nurse!
Started by CitrusHigh |
7 Replies
4,714 Views |
![]() by Bowen |
![]() |
![]() |
4 Replies
3,354 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
3,319 Views |
![]() by LePatron7 |
|
![]() |
![]() |
1 Replies
4,990 Views |
![]() by TylerDurden |
|
![]() |
![]() |
Hello
Started by djr_81 |
17 Replies
11,299 Views |
![]() by djr_81 |
![]() |
![]() |
3 Replies
3,040 Views |
![]() by Ioanna |
|
![]() |
![]() |
4 Replies
4,795 Views |
![]() by eoterm |
|
![]() |
![]() |
5 Replies
4,005 Views |
![]() by eveheart |
|
![]() |
![]() |
3 Replies
3,488 Views |
![]() by TylerDurden |
|
![]() |
![]() |
17 Replies
11,259 Views |
![]() by Max |
|
![]() |
![]() |
1 Replies
2,708 Views |
![]() by lex_rooker |
|
![]() |
![]() |
1 Replies
2,771 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
3,285 Views |
![]() by leadahead |
|
![]() |
![]() |
2 Replies
2,953 Views |
![]() by RawZi |
|
![]() |
![]() |
10 Replies
8,739 Views |
![]() by reyyzl |
|
![]() |
![]() |
7 Replies
6,160 Views |
![]() by 24isours |
|
![]() |
![]() |
Hello & questions?
Started by DeadRamones |
4 Replies
4,181 Views |
![]() by TylerDurden |
![]() |
![]() |
7 Replies
4,781 Views |
![]() by rawesome |
|
![]() |
![]() |
29 Replies
16,936 Views |
![]() by Bronwen |
|
![]() |
![]() |
Hello -- new to the site
Started by rawpaleo |
7 Replies
6,453 Views |
![]() by Iguana |
![]() |
![]() |
Hello :)
Started by Healthysmile |
1 Replies
2,911 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
3,753 Views |
![]() by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll