Create A New Page In PHP »  Show posts from    to     

Icy Phoenix


English Chit Chat - Create A New Page In PHP



DWho [ Sun 06 Jan, 2013 14:58 ]
Post subject: Create A New Page In PHP
Hi

Quick question is it possible to automatically create a new page (like you can in IP cms ) for a normal php site.

for example if I had a administrator interface is it possible to create a physical new page then add content to it..

This is for a university project so looking at research

thanks



mort [ Sun 06 Jan, 2013 23:08 ]
Post subject: Re: Create A New Page In PHP
Straight into the deep end Mike...

I thought it was an interestingly enough question, so I Googled these for a start.

php copy file contents
php write file contents

As for creating a "new" page, somehow logic is telling me that you would need to call a blank template first, because it's not an OS that you are working with.


Informpro [ Mon 07 Jan, 2013 12:59 ]
Post subject: Re: Create A New Page In PHP
Just use php.net/file_put_contents


DWho [ Thu 17 Jan, 2013 10:21 ]
Post subject: Re: Create A New Page In PHP
Hi guys

Sorry for the late reply and for the tips, I will have look as soon as I get the chance and update this post..





Powered by Icy Phoenix