Try Again
";
//-- is this possible
return;
} //-- if no file specified
if (is_dir($sFilePath))
{
if (substr($sFilePath, -1) != "/")
{
$sFilePath = "$sFilePath/";
}
echo "
Retrovox Notepad, (The path is a directory)
The path is a directory
The file-name $sFilePathEncoded
which you just specified is a directory (folder).
The Retrovox Notepad system is for editing text files located on the
server.
\n";
}
echo "
";
return;
} //-- if file is a directory
if (!is_writable($sFilePath))
{
echo "
Retrovox Notepad, (File is not writable)
The file is not writable
The file-name [$sFilePathEncoded] which you just specified has its permissions
set so that is cannot be edited (updated or modified in any way).
You can overcome this problem by typing
chmod a+w $sFilePath
when you are logged into the retrovox server. This sometimes works.
However, the web-server (Apache) runs as the user 'nobody' which
seems to cause some permissions headaches. You can also try copying
the old file to a new one.