This is a discussion on "Easybe music store" within the Databases section. This forum, and the thread "Easybe music store are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Easybe music store
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Easybe music store
I am trying to install a music store for a DJ in the united kingdom and I was given the software. During the installation I can get it to connect to the database but it can't find the proper folders.
The instructions tell you to put one folder in public folder, and to put another folder in a private folder. It has a problem finding the one that is supposed to be in a private folder because I don't know what that means. If anyone knows what I might be doing wrong, let me know. |
|
|
|
#2
|
||||
|
||||
|
Re: Easybe music store
AFAIK, putting a file in a "private folder" means putting it higher in the directory path than your index.
On my servers, the index is in a folder named "public_html". So files that I don't want a user to be able to access, such as a database connection, don't go in the "public_html" folder. Instead, they are stored in the same directory as the public_html folder, if that makes sense -- one level higher than the publicly-accessible files. Go to your server's file manager and look around. Or ask your server's support service to help you, if you are still having trouble. So your homepage is say root/public_html/index.html; then you can store private files at a location like "root/private.inc" or "root/my_database_connection.php" or whatever. This is the easiest way. To access the file from your homepage (index.html) or any other page in your public_html directory (such as www.mydomain.com/getmusic.html), you would use the path "../my_database_connection.php". Then your homepage (or your file manager on your server, of course) can access the file, but the public cannot. The server will not allow a web browser to access files above the domain. You can also password-protect files located in the public_html directory, but this is less secure. Last edited by masonbarge; Jan 6th, 2007 at 19:48. |
|
#3
|
|||
|
|||
|
Re: Easybe music store
how do I make a private folder? On my control panel I have something that says "public_html" but the guy who I'm trying to set this up for has one that looks like this
![]() |
|
#4
|
|||
|
|||
|
Re: Easybe music store
I'm guessing but it looks like the start of your public folder(s) will be the folder called 'web'.
If that's the case, then create a new folder at the same level you show here and put the private stuff in there. Of course anything running in the public area will need to know where the private stuff is located. You should restrict access to this folder from within your .htaccess file, shown in your screen shot. You could also make it password protected. this won't stop files running from within the server from getting where they need to be but it should stop anyone from outside. |
|
#5
|
|||
|
|||
|
Re: Easybe music store
the public folder is the "web" folder
So what I have to do is create a folder in the directory shown that is a private folder. Should I call it "private"? I'm trying to install it now on my own site and I can't remember the name to the MySQL server there. |
|
#6
|
|||
|
|||
|
Re: Easybe music store
You can call it anything you want.
|
![]() |
| Tags |
| script installation |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Demo Store for review | computerpeople | Free Web Site Critique | 4 | Jun 12th, 2008 04:31 |
| Add Store to my Website | SawkaWorld | Scripts and Online Services | 3 | Aug 16th, 2007 02:11 |
| how to store cookies | selphie08 | Flash & Multimedia Forum | 3 | Sep 20th, 2006 01:54 |
| flash music player that plays music throughtout | saxy46 | Flash & Multimedia Forum | 5 | Aug 23rd, 2006 14:24 |
| timothy-clark.com/store | timmytots | Free Web Site Critique | 5 | Jul 23rd, 2006 08:53 |