The next step will create the mysql tables for you so the script can function properly.
If you are wanting to create password protection for your adminpanel, Continue to the next step. Otherwise
click here to login to your Admin Panel to add products to your New $name_of_site Script.
Login to Your Admin
Thank you for the Installing The $name_of_site Script. It is required to Delete this install script once done.
\n"; $submitbtn = "\n"; $go = "4"; } else { $GetResult = "You can now password protect your admin directory. By pushing the submit button, .htaccess and .htpasswd file in the admin dir will be deleted, and recreated with information given below.
You might get an error message when trying to set the protection. If this happens to you, do the following: Log into Telnet, go to your admin dir, and type chmod 755 adminpanel, and then do the below (this can also be done with cuteftp by rightclicking the admin catalog, choosing CHMOD, and typing in 777 in the box).
Afterwards, remember to set the permission back to default. Often by doing this in Telnet: chmod 755 adminpanel. Be sure to set $logintype["http"] equal to '1' in the config file or this htaccess file will not work.
Your .htaccess and .htpasswd files will be created in
echo "c:/wamp/www/phpfile/Scripts/adminpanel/"; ?>
according to your config.php file.