Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #6936

Re: Exec Security

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: Exec Security
Date 2012-09-02 23:43 -0400
Organization A noiseless patient Spider
Message-ID <k2190s$lai$1@dont-email.me> (permalink)
References (7 earlier) <k1u4sl$4h4$1@dont-email.me> <8d2e25ff-acb0-4224-bb40-8d078409d771@googlegroups.com> <aagfvjF1r0U2@mid.individual.net> <58ce539e-4061-47b7-a024-9ef09811513f@googlegroups.com> <4e02c3d0-efaa-4b1d-a9f3-3f4a92faab6b@googlegroups.com>

Show all headers | View raw


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@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Exec Security Ryan <rbilesky@gmail.com> - 2012-08-31 18:49 -0700
  Re: Exec Security Jerry Stuckle <jstucklex@attglobal.net> - 2012-08-31 22:12 -0400
  Re: Exec Security "J.O. Aho" <user@example.net> - 2012-09-01 08:54 +0200
  Re: Exec Security Ryan <rbilesky@gmail.com> - 2012-09-01 02:51 -0700
    Re: Exec Security "J.O. Aho" <user@example.net> - 2012-09-01 13:19 +0200
      Re: Exec Security Ryan <rbilesky@gmail.com> - 2012-09-01 11:50 -0700
        Re: Exec Security Ryan <rbilesky@gmail.com> - 2012-09-01 13:19 -0700
          Re: Exec Security Jerry Stuckle <jstucklex@attglobal.net> - 2012-09-01 16:26 -0400
            Re: Exec Security Ryan <rbilesky@gmail.com> - 2012-09-01 14:11 -0700
              Re: Exec Security Jerry Stuckle <jstucklex@attglobal.net> - 2012-09-01 19:14 -0400
                Re: Exec Security Ryan <rbilesky@gmail.com> - 2012-09-01 17:17 -0700
                Re: Exec Security "J.O. Aho" <user@example.net> - 2012-09-02 09:25 +0200
                Re: Exec Security The Natural Philosopher <tnp@invalid.invalid> - 2012-09-02 12:02 +0100
                Re: Exec Security Ryan <rbilesky@gmail.com> - 2012-09-02 20:32 -0700
                Re: Exec Security Jerry Stuckle <jstucklex@attglobal.net> - 2012-09-02 23:43 -0400
                Re: Exec Security Ryan <rbilesky@gmail.com> - 2012-09-02 20:53 -0700
                Re: Exec Security "J.O. Aho" <user@example.net> - 2012-09-03 06:55 +0200
        Re: Exec Security "J.O. Aho" <user@example.net> - 2012-09-01 23:23 +0200

csiph-web