Re: securing a script that exec()s

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 30, 2012 at 3:16 PM, Peter Bauer <php@xxxxxxxxxxxxx> wrote:

> On Fri, Mar 30, 2012 at 11:56:41AM +0200, rene7705 wrote:
> > ...
> > But unfortunately, $_SERVER['REMOTE_ADDR'] is my external IP, and
> > $_SERVER['SERVER_ADDR'] is my internal IP.
> >
> > How would I best fix this?
>
> Simply log on your box via ssh (if its a unix system) and run your script
> from console or with textmode browser lynx.
>
> But the best solution would be to secure the exec call.
>
> How would I best secure the exec call?

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux