You are here: Re: calling binaries from PHP « PHP Programming Language « IT news, forums, messages
Re: calling binaries from PHP

Posted by CJ Llewellyn on 06/06/05 23:15

On Mon, 06 Jun 2005 10:29:11 -0700, Tefla wrote:

> i didn't really explain the app properly, but no it isn't a copy of
> websvn, but a all in one tool for development and distribution.
>
> but really my question was, how reliable is calling binaries from PHP?

As reliable as you make it.

<?php

$foo = '/dev/null; rm -rf /var/www/html';

exec("mv /tmp/a.file $foo");

?>

Warning please don't try the above code at home.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация