On 10 July 2011 11:38, Negin Nickparsa <nickparsa@xxxxxxxxx> wrote: > I want to make a batch file and then exec it in php You say "Batch" file. Are you using Windows? If so, try "double quotes". That is the norm for windows. And you can either use a space or change it to %20 in the URL. Make sure the URL is correct by using it in a browser. I tried http://www.snort.org/reg-rules/snortrules-snapshot-2900.tar.gz/c0e9480af637e53c7aae823a40a131edc1343db5%20-Osnortrules-snapshot-2900.tar.gz and it failed. -- Richard Quadling Twitter : EE : Zend : PHPDoc @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php