Get the contents of an entire .html page, and display it in an editable html form? So once it's saved/submitted, it will save these changes in the original .html document?
Basically I'm designing a website as a personal project - I'm trying to learn more advanced things like php and I can't just read books and tutorials, I have to actually try and do things... but here I am stumped! At the moment the website it's all hard coded, but I've got the body content parts stored away in separate files, but I'm wondering if there's a way to get those files displayed in a text box and then allow them to be edited.
I'm just wondering if it's possible. I know there are CMS's like WordPress which will give me everything I need in that respect, but it's not really worth all the effort of re-writing everything and trying to implement how I've designed it into that sort of thing - which I doubt I'd be able to do anyway at this stage.
The other thing would be securing the whole thing down as well... I know it'd be a massive security risk and make spam and maliciousness incredibly easy but yeah... It's all part of this incredibly steep learning curve. :p
Thanks for any advice! If it's that much of a bother though, I'll just teach who I'm handing it over to how to edit things with FTP. :p
Question
+jamesyfx Subscriber²
Get the contents of an entire .html page, and display it in an editable html form? So once it's saved/submitted, it will save these changes in the original .html document?
Basically I'm designing a website as a personal project - I'm trying to learn more advanced things like php and I can't just read books and tutorials, I have to actually try and do things... but here I am stumped! At the moment the website it's all hard coded, but I've got the body content parts stored away in separate files, but I'm wondering if there's a way to get those files displayed in a text box and then allow them to be edited.
I'm just wondering if it's possible. I know there are CMS's like WordPress which will give me everything I need in that respect, but it's not really worth all the effort of re-writing everything and trying to implement how I've designed it into that sort of thing - which I doubt I'd be able to do anyway at this stage.
The other thing would be securing the whole thing down as well... I know it'd be a massive security risk and make spam and maliciousness incredibly easy but yeah... It's all part of this incredibly steep learning curve. :p
Thanks for any advice! If it's that much of a bother though, I'll just teach who I'm handing it over to how to edit things with FTP. :p
Link to comment
Share on other sites
33 answers to this question
Recommended Posts