Create A New Page In PHP


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

:mrgreen: :mrgreen:

Subject: Re: Create A New Page In PHP
Straight into the deep end Mike... :LOL:

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

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. :(

Profile PM  
Subject: Re: Create A New Page In PHP
Just use php.net/file_put_contents

Profile PM  
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..

:mrgreen: :mrgreen:


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.311s (PHP: 7% SQL: 93%)
SQL queries: 16 - Debug Off - GZIP Enabled