Looking for a hosted bug/issue tracker? Try our hosted development tools.

PHP

Moderators: None (Apply to moderate this forum)
Number of threads: 1646
Number of posts: 4652

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
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




 
Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2010 Programmersheaven.com - 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.
bootstrapLabs Logo A BootstrapLabs project.