Changing line 12:Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /volume1/web/path.php on line 12
Code: Select all
echo 'Your root path to HESK is: '$path;
Code: Select all
echo 'Your root path to HESK is: '.$path;
The complete (working) code in the file is than:
Code: Select all
<html>
<head>
<title></title>
</head>
<body>
<?php
$path = substr($_SERVER["SCRIPT_FILENAME"],0,-8);
$path = rtrim($path,'\/');
echo 'Your root path to HESK is: '.$path;
?>
</body>
</html>
Henrie