Misc urlencode use fixes

This commit is contained in:
Loïc Chapeaux
2001-08-29 07:15:40 +00:00
parent 88b021f3bd
commit 9007431f71
11 changed files with 38 additions and 30 deletions

View File

@@ -17,7 +17,9 @@ if (empty($HTTP_HOST)) {
else if (@getenv('HTTP_HOST')) {
$HTTP_HOST = getenv('HTTP_HOST');
}
else $HTTP_HOST="";
else {
$HTTP_HOST = '';
}
}
@@ -25,7 +27,7 @@ if (empty($HTTP_HOST)) {
* Defines the frameset
*/
$url_query = 'lang=' . $lang
. '&server=' . urlencode($server)
. '&server=' . $server
. (empty($db) ? '' : '&db=' . urlencode($db));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "DTD/xhtml1-frameset.dtd">