Know a good article or link that we're missing? Submit it!

Read Post

PHP

Moderators: None (Apply to moderate this forum)
Number of threads: 1443
Number of posts: 4243

This Forum Only
Post New Thread

Report
exec not working Posted by whitepaint on 1 Mar 2004 at 5:54 PM
I am trying to use the exec command:

$cmd = "find ../ \\( -name '*.php4' \\) > FileList.txt";
exec($cmd);

this does not work using the exec. It works fine at the unix prompt: find ../ \( -name '*.php4' \) > FileList.txt

If anyone could advise me as to why the php call does not work I would be very grateful

Thanx
Reply
Report
Re: exec not working Posted by skylar on 2 Mar 2004 at 1:12 PM
i can't help you much but you can check here for some reference.. goto bottom and see if anyone else has an answer for you:


http://us2.php.net/manual/en/function.exec.php
Snoochie Boochies

Reply




corner
© 1996-2008. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Publisher: Lars Hagelin.
bootstrapLabs Logo A bootstrapLabs project.