[linux] exec() niekedy vrati vystup prikazu, inokedy nie?

Matus UHLAR - fantomas uhlar na fantomas.sk
Neděle Červen 29 19:56:21 CEST 2008


On 29.06.08 18:42, Stefan Huska wrote:
> system() som skusal tiez, ale na dany parameter mi tiez vracia
> prazdnotu... Samozrejme mi prikaz normalne ide, len cez php ne.

zrejme pri spusteni z PHP nie su nastavene premenne ako HOME, PATH pripadne
UID pouzivatela je iny ako ten, pod ktorym bezia torrenty ci co...
-- 
Matus UHLAR - fantomas, uhlar na fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
There's a long-standing bug relating to the x86 architecture that
allows you to install Windows.   -- Matthew D. Fuller


Další informace o konferenci linux