|
|||
|
|
InstallationAssume you want to install the script to yourdomain.com
//MySQL database
define( "dbuser", "yourdbuser" ); define( "dbpassword", "yourdbpassword" ); define( "dbname", "storedb" ); define( "dbhost", "localhost" ); //Site HTTP URL define( "surl", "http://yourdomain.com" ); //Site HTTPS URL define( "ssurl", "http://yourdomain.com" ); //Site root. It is an empty if the script is in root directory or "/store" if the script in "/store" directory. define( "site_root", "" );
That's all! Question: What is a writable permission?
It is a permission which allows you to upload files on the server using the script. Usually you should set 777 to make a folder writable. But sometimes the server security settings require other permissions for uploading. For example well-known cpanel hosting manager very often allows to upload files into a directory when it has only 755 rights and moreover if you set 777 permissions for a folder it can be banned by server security policy. So we advise you set 777 permissions only when the instructions on yourdomain.com/install/require that. The script has been installed. Now you should configure it according to your needs. |
|
Home | About Us | Products | Buy Now | Testimonials | Contact Us | Privacy Policy | Refund Policy | Site Map Copyright © 2006-2008 PhotoStockScript.com - All rights reserved. |