I'm trying to do something simple - use a form on a web page to create a new web page in the same directory. The user enters the new page's name and some "content" in the form, and then a php file that is the subject of the form's action creates the page, and displays an option to go to it.
I realise there may be many ways to do this, and the above is just a way that I thought might be appropriate.
I know how to construct a form and send "filename' and "content" variables and so-on, but I need some help after that!
Can someone point me to a tutorial to do this? (Or help me with the basics of the code if it really is very simple?)
Many thanks!