FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » approaches to PHP-based application interface?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: approaches to PHP-based application interface? [message #176716 is a reply to message #176706] Thu, 19 January 2012 15:00 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
crankypuss wrote:
> I'm not even sure how to ask the question. Maybe it's several questions.
>
> Supposing one wants to run a local apache server that supports a
> PHP-based system interface, things like file editing, file management,
> archive support, and various other applications. For some things like
> file management it may need root privileges. It also needs to be "safe"
> so that the applicable parts of it can run on a public server. Are
> there approaches to this that have been successfully used in the past?
>
> One major advantage of sticking with PHP is that my fairly large
> codebase won't need to be rewritten. The html/browser paradigm is
> perfectly adequate to all the things that I can foresee doing. On
> Windows there is this thing, http://www.zzee.com/php-gui/
> What it does is let you plug your PHP browser-based application into a
> stripped-down browser so it runs as a Windows application without any
> apache involvement. But I wish to do this on Linux.
>
> Failing both those approaches, can anyone recommend a good GUI package
> that supports PHP applications, preferrably something gtk-based?
>
> Sorry this is such a scattered question. Basically I'm working on
> building a system-independent PHP-based system front-end, parts of which
> can be made available on a public web server.

well look at webmin first, before you decide to 'go php' for everything.

There are good reasons NOT to be TOTALLY php as well.

Vis if the whole php regime has 'root access' ten you are in deep
trouble if someone hacks the php layer.

Better to write specific tools in - say C - that are expressly 'su root'
type programs designed to edit just one part of the installation.

So you might write a C program that can READ any file in /var/log with
any permissions, but not WRITE one. So as to get to your log files for
example. But not alter them.

That the way we access mysql - we cant from php access the raw data
files, but mysqld is a daemon that can, and we talk to that...


Miking this easier for yourself always makes it easier for an
incompetent or malicious person to screw things up as well.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Product page getting Redirect back to Home page - Please Fix
Next Topic: Fast/Easy way to extract a column from multi-dimensional array?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 01:26:30 GMT 2024

Total time taken to generate the page: 0.03900 seconds