Securing configure.php for oscommerce on one.com

This is just a quick tip to show you how to secure oscommerce's /include/configure.php when using one.com as the hosting provider. Upload the following script to your the root of your website and call it something like chmod.php:

<?php
  chmod( $_SERVER['DOCUMENT_ROOT'] . '/includes/configure.php', 0444);
?>

Now, go to yourdomain.com/chmod.php and the configure.php file should have the correct permissions.


Written by Jannich Brendle man 12 marts 2012 In How to

tags: easywindows recovery

Related posts

social