php to write entire pages?
Posted: Sun Apr 19, 2009 9:56 am
Hello all!
I think this is possible:
I want to write a script that will create a new webpage from a template and the document to a folder on the server. Where do I need to start to do this? I have the "template" page created which I will be using for all the subsequent pages.
This is what I think I need:
A script to insert the new page's information form the database
A script to save the template as a page in a folder on the server
And a script that will save the url into a database to be used to link to the page form another in the site.
I think all of these can be incorporated as a single script to help write the pages but I am not sure.
This is the first endeavor of mine with php so I am still learning the basics.
Thank you for any help that may be given.
I think this is possible:
I want to write a script that will create a new webpage from a template and the document to a folder on the server. Where do I need to start to do this? I have the "template" page created which I will be using for all the subsequent pages.
This is what I think I need:
A script to insert the new page's information form the database
A script to save the template as a page in a folder on the server
And a script that will save the url into a database to be used to link to the page form another in the site.
I think all of these can be incorporated as a single script to help write the pages but I am not sure.
This is the first endeavor of mine with php so I am still learning the basics.
Thank you for any help that may be given.