cleary1981 Posted October 13, 2008 Share Posted October 13, 2008 Hi, I am currently using XSL to generate a pdf document using Apache FOP. I have used php to generate my XML and in order to create the pdf I must issue the following line in command line fop -xml name.xml -xsl name2fo.xsl -pdf name.pdf Is there anyway I can use php to issue this command? Link to comment https://forums.phpfreaks.com/topic/128155-solved-can-i-issue-command-line-instructions-using-php/ Share on other sites More sharing options...
waynew Posted October 13, 2008 Share Posted October 13, 2008 Maybe this article will help: http://paul-m-jones.com/?p=279 Link to comment https://forums.phpfreaks.com/topic/128155-solved-can-i-issue-command-line-instructions-using-php/#findComment-663757 Share on other sites More sharing options...
Zane Posted October 13, 2008 Share Posted October 13, 2008 look at the shell_exec() function Link to comment https://forums.phpfreaks.com/topic/128155-solved-can-i-issue-command-line-instructions-using-php/#findComment-663762 Share on other sites More sharing options...
cleary1981 Posted October 13, 2008 Author Share Posted October 13, 2008 Yeah I think thats what I waslooking for thanks Link to comment https://forums.phpfreaks.com/topic/128155-solved-can-i-issue-command-line-instructions-using-php/#findComment-663763 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.