/* * 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 29 Guests are viewing this board. | ||||
![]() |
![]() |
Greetings from Austin
Started by davidg |
5 Replies
6,528 Views |
![]() by Kristelle |
![]() |
![]() |
Greetings from Australia
Started by irenekrey |
1 Replies
2,705 Views |
![]() by miles |
![]() |
![]() |
Greetings from Colombia
Started by Sobchak |
1 Replies
3,523 Views |
![]() by norawnofun |
![]() |
![]() |
Greetings from Florida!
Started by Luis3valen |
2 Replies
3,127 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings from Germay
Started by Inger |
11 Replies
8,059 Views |
![]() by Inger |
![]() |
![]() |
Greetings from Hawaii
Started by Unreasonable_Happiness |
1 Replies
4,380 Views |
![]() by van |
![]() |
![]() |
Greetings from Middle Tennessee. :)
Started by xnadam |
2 Replies
2,721 Views |
![]() by xnadam |
![]() |
![]() |
Greetings from NE Kansas!
Started by hassafras |
17 Replies
11,516 Views |
![]() by van |
![]() |
![]() |
Greetings from Norway
Started by Borge |
1 Replies
3,151 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings from Sarav...
Started by Sarav |
19 Replies
16,252 Views |
![]() by Sarav |
![]() |
![]() |
Greetings from Singapore
Started by Igla |
0 Replies
2,860 Views |
![]() by Igla |
![]() |
![]() |
Greetings from Spain !
Started by Ramsay |
3 Replies
4,139 Views |
![]() by SouthernSpain11 |
![]() |
![]() |
Greetings from Sweden
Started by fishercat |
4 Replies
3,981 Views |
![]() by fishercat |
![]() |
![]() |
Greetings from the UK
Started by Fat of the land |
3 Replies
5,278 Views |
![]() by Raw-nature |
![]() |
![]() |
Greetings from UK :)
Started by Health33 |
2 Replies
3,383 Views |
![]() by RawZi |
![]() |
![]() |
Greetings from Upstate NY!
Started by havoxxlol |
1 Replies
3,074 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings to everyone!
Started by Caveman |
3 Replies
2,980 Views |
![]() by goodsamaritan |
![]() |
![]() |
Greetings!
Started by magnagei |
2 Replies
2,747 Views |
![]() by TylerDurden |
![]() |
![]() |
Greetings, paleo people
Started by GK420 |
21 Replies
12,466 Views |
![]() by GK420 |
![]() |
![]() |
Greg, Poland
Started by tiamat |
3 Replies
3,007 Views |
![]() by goodsamaritan |
![]() |
![]() |
Grixxly here
Started by Grixxly |
4 Replies
3,946 Views |
![]() by goodsamaritan |
![]() |
![]() |
4 Replies
5,838 Views |
![]() by Raw Kyle |
|
![]() |
![]() |
3 Replies
3,563 Views |
![]() by zbr5 |
|
![]() |
![]() |
3 Replies
3,818 Views |
![]() by CitrusHigh |
|
![]() |
![]() |
0 Replies
2,781 Views |
![]() by Aquarion |
|
![]() |
![]() |
Hear that squeak? Noob wrapper. Tear in.
Started by Lynnzard |
12 Replies
7,589 Views |
![]() by Adora |
![]() |
![]() |
Heelo All
Started by The Barbarian |
16 Replies
8,718 Views |
![]() by The Barbarian |
![]() |
![]() |
Hei guise :3
Started by oxycat |
4 Replies
3,720 Views |
![]() by oxycat |
![]() |
![]() |
Hellllo nurse!
Started by CitrusHigh |
7 Replies
4,813 Views |
![]() by Bowen |
![]() |
![]() |
Hello
Started by djr_81 |
17 Replies
11,625 Views |
![]() by djr_81 |
![]() |
![]() |
1 Replies
5,074 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
3,130 Views |
![]() by Ioanna |
|
![]() |
![]() |
4 Replies
4,878 Views |
![]() by eoterm |
|
![]() |
![]() |
5 Replies
4,055 Views |
![]() by eveheart |
|
![]() |
![]() |
3 Replies
3,558 Views |
![]() by TylerDurden |
|
![]() |
![]() |
17 Replies
11,476 Views |
![]() by Max |
|
![]() |
![]() |
1 Replies
2,774 Views |
![]() by lex_rooker |
|
![]() |
![]() |
1 Replies
2,829 Views |
![]() by TylerDurden |
|
![]() |
![]() |
2 Replies
3,345 Views |
![]() by leadahead |
|
![]() |
![]() |
2 Replies
2,998 Views |
![]() by RawZi |
|
![]() |
![]() |
10 Replies
8,939 Views |
![]() by reyyzl |
|
![]() |
![]() |
4 Replies
3,430 Views |
![]() by TylerDurden |
|
![]() |
![]() |
3 Replies
3,404 Views |
![]() by LePatron7 |
|
![]() |
![]() |
7 Replies
6,355 Views |
![]() by 24isours |
|
![]() |
![]() |
Hello & questions?
Started by DeadRamones |
4 Replies
4,253 Views |
![]() by TylerDurden |
![]() |
![]() |
7 Replies
4,895 Views |
![]() by rawesome |
|
![]() |
![]() |
29 Replies
17,505 Views |
![]() by Bronwen |
|
![]() |
![]() |
Hello -- new to the site
Started by rawpaleo |
7 Replies
6,581 Views |
![]() by Iguana |
![]() |
![]() |
Hello :)
Started by Healthysmile |
1 Replies
2,953 Views |
![]() by TylerDurden |
![]() |
![]() |
1 Replies
3,814 Views |
![]() by goodsamaritan |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll