I’m very, very new to PHP, so please bear with me. I’d like to configure my current website (whose files I’ve already converted to .php, and which I work on in Dreamweaver), so that every time I upload a new file to my server, the upload date will automatically be displayed in the article (WordPress and other CMSs do this, but I don’t have the time to make a WordPress template similar to my current site layout).
The problem with the database is that it’s hosted at 1and1, where remote access (i.e. via Dreamweaver) isn’t permitted, and I have to use phpMyAdmin at my host’s website, which is ridiculously slow. Whenever I want to, for example, create a table, I have to go through a ton of slow-loading pages.
Is there any way to automate this process, at least to some degree?
You could always build a simple PHP script which connects to your database and runs an SQL query. You could then just visit the page and the query would be executed.
Here’s a tutorial on writing SQL and running it with PHP if you’re not sure: http://www.tizag.com/mysqlTutorial/