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

Home » Imported messages » comp.lang.php » Exec Security
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Exec Security [message #179008 is a reply to message #179006] Mon, 03 September 2012 03:43 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 9/2/2012 11:35 PM, Ryan wrote:
> Not to mention all the overhead of reading from a DB every 5 seconds to see if anything needs processed. I am not trying to DOS my DB.
>

Yes, TNP has no idea how the real world works. He's very good at
quoting things, but not so much at understanding them.

If you use a cron job with a database you'll have to check on every
wakeup. Not a tremendous overhead, but a lot more than TNP thinks. And
if the database is remote, the overhead is even more significant.

Alternatively you could use a daemon which monitors a UNIX (or TCP/IP)
socket and send it a message when you need to do something. That
wouldn't have a lot of overhead.

But since you need to use CGI anyway, you might as well just enable
exec() via a php.ini that only you use.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[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
Read Message
Read Message
Previous Topic: Is PDO an abstraction layer?
Next Topic: Net Connect API -php
Goto Forum:
  

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

Current Time: Sun Nov 24 14:01:24 GMT 2024

Total time taken to generate the page: 0.03717 seconds