0

How do you edit from php like I have a form and from another php file I can edit that form but just like click it and type something like name : (then login text box) and save it.

I want that for register and login .

4
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by diafol
0

Hi,

I wrote something like this, but I am always hesitant to share it to general public, because there are some great security risks and vulnerabilties ,if not protected well enough against unauthorized entries.

0

@BadManSam, for user login form as veedeoo syas if this is not done correctly you can leave your complete system open for some very powerful attacks.

I would suggest a frame work that has been tried and tested and maintained. 2 that come to mind would be Zend_Framework found Here, or CodeIgnitor Here

Both are throughly tested for attacks, and will give you the functionality you are after

1

You seem to be referring to some sort of online php editor? If so, I'd avoid that for security's sake. Ask yourself whether you really need that functionality. i always keep a development copy of the site - either on a remote testing server (secured to the nth degree!) or more often, locally - sometimes both. I'd always suggest making changes to the dev site and testing, testing, testing. Then if all seems ok, upload changes (ftp) and then test again and again and again. Different environments can cause unexpected problems. My 2p.

PS - one command often seen with this type of functionality is eval() - whatever you do - DO NOT use this unless you REALLY know what you're doing. Personally, I wouldn't touch it with a barge pole. :)

Edited by diafol

Votes + Comments
Thanks Once Again
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.