News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Total PHP:
Browser based template editor
September 04, 2008 @ 14:34:36

On the Total PHP blog today, there's a new tutorial showing how to make a very basic template editing form to update the templates for your site.

A common feature to CMS scripts is a browser based means of editing your templates. This can be helpful if you manage your site remotely or on the move quite often. In this tutorial we walk through how to create a simple template editor in PHP.

The process is pretty simple - a form that allows you to either create or edit a current template file and some PHP that handles the submit. It takes in the data from the textarea and pushed it out to the correctly named file. It's a pretty simple setup and it requires that the web server user can write to the files, but it can be a big help when you can't get into the machine otherwise.

0 comments voice your opinion now!
tutorial template editor form browser


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: 10 PHP Tricks for Associative Array Manipulation

Stefan Mischook's Blog: Video Tutorial: Processing forms with PHP, Part 3

SitePoint: Build a Photo Gallery Using CakePHP and Flickr

SitePoint PHP Blog: IronMQ and Laravel: Delays and Retries

DevShed: Validating URL Protocols, Hosts and Paths with Filters in PHP 5


Community Events





Don't see your event here?
Let us know!


composer release artisanfiles voicesoftheelephpant interview library opinion tool introduction framework podcast conference list security symfony language series community laravel version

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework