> $url = escapeshellcmd($url);
Brug
http://dk.php.net/escapeshellarg i stedet, den er beregnet til
shell argumenter :)
> exec("wget -nc $url 2>&1>/dev/null");
Du kunne også:
exec("cd /sti/til/mappe;wget -nc $url 2>&1>/dev/null");
--
---
Lars
http://wshlman.moons.dk/ - Say goodbye to GameSpy - Free alternative to
Half-Life users!
http://coder.dk/sohofaq.php - Uofficiel Tiscali SOHO FAQ
..: when mailing me, remember, there is no truth in my mail :.