![]() (I decided not to retain my 1and1 php serving opportunities.) In 2017, I'm afraid I replaced that with simulations of what the php used to generate. Once upon a time, this page had "real" php in it. Not easy! But easier than some alternatives!! Oh! Out of place, but you need to know: I would, if I were you, if you are new to all of this, SET UP your MySQL database, with it's simple first table, and a few test records, with phpMyAdmin, which you can use via your 1&1 control panel. Without me making any changes to the html which you use!) ![]() (If I were to change what is in the table, then, if you revisited this page, you would see different records below. (I've presented it below, tweaked, by other means.) "The magic" of PHP takes my page, at the server (at 1&1) and dynamically replaces the code with the "stuff" that gives rise to the table's contents. ?<īut, even if you examine the page source, you won't see that code. There's an extra character in on, at the second position in the name.Īt the server, there now follows a block of code enclosed in ">?php. Note that the 1&1 assigned names for the database and the user are very similar, but not the same. The "database name", needed for MYSQL_SELECT_DB is found in the same place. Refresh the "MySQL Database Set Up and Configuration" page until it shows the database as "ready". Note that it can take a minute or two for any change to "be live". The database password can be set with the "Edit" button at the right hand end of the database's line on the page just mentioned. The server(host) name and user name (1st and second parameters for MYSQL_CONNECT) are found on the "MySQL Database Set Up and Configuration" page of your 1&1 control panel. The first parameter for the MYSQL_CONNECT command, the host server parameter, should be filled with what 1&1 call the database's "Host Name". The PHP script is given below the table, with my database's details (host server, user ID, and passwords need to be replaced with YOUR details.) For the details for YOUR database, go along to the "MySQL Database Set Up and Configuration" page of your 1&1 control panel. The little table below is generated from the data in a MySQL table which resides on a 1and1 server. How do you know? If MySQL databases are part of your package, it is a Linux package. You can only do (exactly) what I've done if your 1&1 package is a Linux package. But they have, many times, been very helpful to me when I have DONE MY HOMEWORK FIRST, and got to the point that I could ask an intelligent question. Please, please, please do not abuse the 1&1 help-lines: Call them AFTER trying Google, etc. The EXCELLENT people at 1&1 for their fine service, and their excellent "Help" team. for a post that, when he made it was probably right, and did not need MUCH tweaking, and to. Problems with Open Office (rare even back in 2013, VERY rare today (2017)) prompting me to "attack" MySQL. after YEARS of struggle to get to the point where I had ALL the bits learned and in place. You'd be amazed how much excitement the following line gave me when some php in a page written by me created it, at the time stated. The "Ran for first time." line below has been done "by hand" with "basic" HTML to duplicated the result obtained with some php I had in my code back in 2013. the stuff on the screen is much different from the stuff in the HTML. In a nutshell, you put "stuff" in the HTML behind a web page, and "stuff" appears on the screens of anyone accessing the page. I don't, of course, know how much you know about php. Be sure you know enough to be safe before going down that path. set up a WAMP server on a PC that you control directly, as in you can walk across the room and unplug it. And I don't think you can do what is set out here without. AN EXCELLENT EMAIL- and WEB-HOSTING SERVICE *in general* I got into expensive difficulties because I couldn't be bothered to keep my. The relentless march of "updates" has ghastly consequences, sometimes. The URL you pulled up is the correct home page, so hopefully we aren’t too far off from getting this working.This paragraph only: 19 May 20. htaccess file at the root level of the site. This variable allows you to hard-code the URI type.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |