Copy link to clipboard
Copied
Hey guys,
So i have created a site. It is a simple Car Dismantlers site with 4 pages in a front end section for visitors to the site. The pages are index.php, contact.php, search.php and directions.php. I have a back end section in an admin folder where an administrator can add, update and delete records from a database which is password protected. The whole site is working fine locally but now i want to upload it and dont know where to start. I have domain name set up with Lime Domains, it is PHP and MySql ready. This is the first php site i have created and I dont really know where to start to get it up and running now.
Thanks in advance.
Copy link to clipboard
Copied
You must have received an FTP server address, FTP username and FTP password from your webhost. If not, ask them to send it to you again.
In Dreamweaver you must have created a Site. Go to Site menu > Manage Sites > select your site and click Edit. Under the Advanced tab you'll see Remote Info. For Access select FTP. Fill in the other fields using the FTP information given by your webhost. Check Passive FTP. Click OK then Done and you should be back in your site.
Select the files you want to upload to your remote site. Select Site menu and click on Put. That will upload the files to your remote server.
Uploading the MySQL database depends on your webhost's set up. They can advise you how to do that. If you don't have a database yet then the host probably has phpAdmin which you can use to create and manage your database.
J.S.
Copy link to clipboard
Copied
Hey J.S,
Do you think its a bad idea to have Database admin over them web? How could i make my db admin into a program to run on a certain computer. i.e on the car breaker yard where there is no dreamweaver.
Thanks J.S
Copy link to clipboard
Copied
I believe that as long as the site is https then you should be fine. You will have to perform database admin through a web browser
with phpmyAdmin. Unless your provider is actually giving your a SSH session and you perform database management with command line.
However, phpMYadmin is still much easier to use. If your host does not give you phpmyadmin, you can download it and upload it in your site. You will just need the database name and password. I suggest you talk with your web hosting company and they should be able to get you going on your database management.
Copy link to clipboard
Copied
Running on a certain computer, very hard if not impossible. Even with a DSL and fixed IP you still can not guarantee it.
Standard suggestion is to upload the database to the server and to write simple php pages to do all the data manipulation - adding, deleting, modifying. That way you can be sure that nothing bad is being done to the database, unintentionally or not. You do NOT want to allow an end-user, no matter how qualified or trustworthy to had PHPmyAdmin access.
On the other point of access, set up a secure, password-protected directory on the server and put all the admin pages there. Your host can set that up or can provide the means using Cpanel or Plesk.
Barry
Find more inspiration, events, and resources on the new Adobe Community
Explore Now