I would like to know how to avoid (using PHP code) any user to read the
content of my website folder ?
as my website is hosted by and external company, i do not have access to
apache conf file.
If your server's default file is index.php, you could use the following
in an index.php file:
<?php
header('Location: /');
?>
If it's index.html, you could use the following:
<script type="text/javascript">
<!--
location.href = '/';
-->
</script>
Try the PHP version first.
--
Richard Heyes
http://www.websupportsolutions.co.uk
Knowledge Base and Helpdesk software that eases your support
burden and helps increase your sales.
** NOW OFFERING FREE ACCOUNTS TO CHARITIES AND NON-PROFITS **
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php