Super novice here… I have been looking for a solution to my problem and have viewed many tutorials but can’t really find the right answer. Hoping that someone here can help point me in the right direction. I maintain a simple website with static webpages, but have recently got a request to add a feature which allows the user to update the page. I have been told that this could be accomplished with PHP. After a few hours on the Internet, I think I get the basic concept, but haven’t been able to find examples of what I am trying to accomplish.
I would like to create a webpage which includes a form. The form would have multiple text fields which display the IP addresses of certain sites. The form has a submit button which would allow the user to enter addresses in the fields.
https://docs.google.com/file/d/0B9AYrMP5ZnUyc3NFd0JkTXpYbkk/edit?usp=docslist_api
What I need is for the user to view an initial set of pre-determined values in those fields, but if the user updates the fields, and hits the Submit button, the webpage will get updated, so that the next time they access the page, the new values will be displayed. Further, a hyperlink is needed for each of the entries, so that the user may click on the link and go to a webpage at the corresponding IP address.
The users will be installing the entire website on their own personal computers so there is no requirement to access to a webserver (remember, these were just static webpages at one time). I am assuming that this is possible as each user may have different entries for this page. I get an error message that there is a requirement for a site definition when I attempt to create/edit my .php file. I am hoping that there is a simple way to distribute my set of html pages without installing any additional software.
I don’t even know if this is possible, but I would appreciate any guidance on how to tackle this problem. Thanks in advance.