itsonlyme80
07-19-2011, 03:29 PM
Hi,
I need a very simple script that will do the following :
I have a HTML form.
I have an input call "title". Say I wrote "fleur-de-lys"
I have a text area call "text"
When I hit the submit button I want to do :
1. Create a HTML webpage with the name in input :
fleur-de-lys.html
2. Add the text in "text" somewhere in the body of that new file fleur-de-lys.html
3. Add a preview of that text somewhere in my index page
Basically it's like you post a new article on wordpress or whatever, but I just want something simple no database and just need help on how I do this.
Thank you very much
I need a very simple script that will do the following :
I have a HTML form.
I have an input call "title". Say I wrote "fleur-de-lys"
I have a text area call "text"
When I hit the submit button I want to do :
1. Create a HTML webpage with the name in input :
fleur-de-lys.html
2. Add the text in "text" somewhere in the body of that new file fleur-de-lys.html
3. Add a preview of that text somewhere in my index page
Basically it's like you post a new article on wordpress or whatever, but I just want something simple no database and just need help on how I do this.
Thank you very much