Hi All
I am playing around with the idea of writing a xml based cms, and would like
it to be able to be used on hostings where you do not have the ability to
password protect directories.
Would a simple permissions check at the top of the file be enough to enure
it is not read?
<?
if( ! authentication check){exit();}
?>
If I then call all my xml files say abc.xml.php they would not be able to be
viewed externally. Say I then read in the files, and replaced the
authentication with empty ''
Is that likely to work? If so should I put the <? xml version="1.0"> before
or after?
If no, any better suggestions?
email replies to spam[at]lykoszine.co.uk if possible
replacing [at] with the usual...
I am playing around with the idea of writing a xml based cms, and would like
it to be able to be used on hostings where you do not have the ability to
password protect directories.
Would a simple permissions check at the top of the file be enough to enure
it is not read?
<?
if( ! authentication check){exit();}
?>
If I then call all my xml files say abc.xml.php they would not be able to be
viewed externally. Say I then read in the files, and replaced the
authentication with empty ''
Is that likely to work? If so should I put the <? xml version="1.0"> before
or after?
If no, any better suggestions?
email replies to spam[at]lykoszine.co.uk if possible
replacing [at] with the usual...