php and html nugget plugins - why two plugins?

Creating and modifying plugins.
Post Reply
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

php and html nugget plugins - why two plugins?

Post by gwilsonmail »

Out of curiosity why do we need to have both plugins?

php can generate html code and html code can contain php directives.
gw
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

html cannot contain php.... There is no way (in the standard client server relationship) the client can execute any php on the server other then by a web request, which is controlled execution.

As to why there are two different plugins, the php nugget is a serious security risk. It would allow anyone who has sufficient login privileges or database access to run any piece of code on your server.

It should not be used unless you know what risk you are assuming.

However, the html nugget is safe for a wide deployment...
gwilsonmail
Regular
Posts: 146
Joined: Tue Jul 12, 2005 9:12 pm
Location: Ottawa, Canada
Contact:

Post by gwilsonmail »

thanks
gw
Post Reply