[Phpwm] How to create a page on a server from a browser
petegraham1 at gmail.com
Tue May 2 22:10:24 BST 2006
previous projects. It simply replaces a text area with the editor. It also
creates html so there is no need to convert \n to <br>.
It comes with some PHP scripts which if enabled can give your users the
ability to upload files, very useful if your creating a simple CMS as I was.
On 02/05/06, David Goodwin <david at codepoets.co.uk> wrote:
> Ray Masa wrote:
> > Hmmm....those are a few thinks I have not thought about. Thanks for
> > that, I would have to take these (and Rob Allen's) suggestions into
> > account.
> 1) Use prepared SQL statements; there is no chance of you then getting
> the sql sanitisation/escaping wrong :)
> 2) Consider using something like Smarty - I'll show how (at the meeting)
> it and a few helper functions can be used to remove any need to worry
> about HTML injection (cross site scripting etc etc)
> \n to a <br> is not necessary (surely they return html for you when the
> user clicks 'submit' anyway?)
> David Goodwin
> [ david at codepoets dot co dot uk ]
> [ http://www.codepoets.co.uk ]
> Phpwm mailing list
> Phpwm at mailman.lug.org.uk
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Phpwm