note 42746 added to function.exec
| From: | ezzet at op dot pl | Date: | Thu, 27 May 2004 17:29:24 +0000 |
| Subject: | note 42746 added to function.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-70201@lists.php.net to get a copy of this message | ||
hi
i`m new user [hmm 3 mounth] PHP :)
i have a FOP [XML:FO]
in
d:\usr\FOP
i have a example file blehbleh.fo
d:\usr\FOP\blehbleh.fo
if in cmd line
cd d:\usr\FOP\
fop blehbleh.fo outline_blehbleh.pdf
how to create a exec?
<?php
echo exec('cd d:\usr\FOP');
echo exec('fop blehbleh.fo outline_blehbleh.pdf');
?>
??
fop is a java program
i know about pdf library in PHP... but..:)
sorry for my english...................
----
Manual Page -- http://www.php.net/manual/en/function.exec.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+42746
Delete -- http://master.php.net/manage/user-notes.php?action=delete+42746&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+42746&report=yes
Search -- http://master.php.net/manage/user-notes.php