ID: 10301
Updated by: hholzgra
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Bogus
Bug Type: Filesystem function related
PHP Version: Earlier? Upgrade first!
Assigned To: 
Comments:

system(), exec(), the backtick operator `...`
and popen() should all do the job

when dealing with shell functions like output
redirection you should use system() as it
will first start a shell to run the command in

AND YOU SHOULD DEFINETLY CLICK THE DO'S AND DON'TS
LINK ON TOP OF THE ERROR SUBMISSION FORM NEXT TIME

THIS IS NOT A SUPPORT FORUM! ASK THE php-general
MAILING LIST IF YOU HAVE QUESTIONS LIKE THIS!

Previous Comments:
---------------------------------------------------------------------------

[2001-04-12 09:51:44] [EMAIL PROTECTED]
For example : 'tail -n 10 test.txt > test2.txt'
I tryed use the exec() function, but without success.

thanks

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10301&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to