Icy Phoenix

     
 

Create A New Page In PHP

Create A New Page In PHP

Article
Reply with quote    Download Post  
Post 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

   



 
DWho - View user's profile Send private message  
DWho [ Sun 06 Jan, 2013 14:58 ]
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us


Create A New Page In PHP

Comments
Reply with quote    Download Post  
Post 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.



 
mort - View user's profile Send private message  
mort [ Sun 06 Jan, 2013 23:08 ]
Reply with quote    Download Post  
Post Re: Create A New Page In PHP 
 
Just use php.net/file_put_contents



 
Informpro - View user's profile Send private message  
Informpro [ Mon 07 Jan, 2013 12:59 ]
Reply with quote    Download Post  
Post 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..

   



 
DWho - View user's profile Send private message  
DWho [ Thu 17 Jan, 2013 10:21 ]
Display posts from previous:    

HideWas this topic useful?

Post new topic  Reply to topic  Page 1 of 1
 
 




 


 

  cron