Hello,

I have apache 2 , php5 on windows 2003 server. I want to execute the external 
command like,

system( 'c:/PHP/safedir/pdftk.exe 
C:/AppServ/www/mylegalwork/images/pdf_files/PROD-5298b6/MLW_Demo_Form_1.pdf  
dump_data_fields > 
C:/AppServ/www/mylegalwork/images/pdf_files/PROD-5298b6/rizwan')

basicaly pdftk.exe is pdf utility. I have put it in safe directory. The problem 
is when i try to access the page its not execute the command. I have try it 
with passthru, exec and with shell_command but all do nothing. Its working fine 
on my local machine and on linux server where i install pdftk but on windows 
2003 server its not working. I have found an article at 
http://bugs.php.net/bug.php?id=20951 which says there is security issue thats 
why its not allow php to execute the command. If anyone of you know anything 
about it than do let me know. I really want to run the command.



Thanks
Best Regards,
Muhammad Rizwan Nawaz
Email / MSN Messenger: [EMAIL PROTECTED]
Gmail: [EMAIL PROTECTED] 
Yahoo IM: rizwan051
AOL IM: riznawaz
Skype: rizwannawaz
ICQ: 442047681  
=============

SECURITY NOTICE

=============

    

THE INFORMATION CONTAINED IN THIS TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL.  
IT IS INTENDED FOR THE USE OF THE INDIVIDUAL OR ENTITY NAMED ABOVE.  IF THE 
READER OF THIS MESSAGE IS NOT THE INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED 
THAT ANY DISSEMINATION, DISTRIBUTION OR COPY OF THIS COMMUNICATION IS STRICTLY 
PROHIBITED.

    

IF YOU HAVE RECEIVED THIS COMMUNICATION IN ERROR, PLEASE IMMEDIATELY NOTIFY AND 
RETURN THE ORIGINAL MESSAGE TO THE SENDER AND DELETE IT. THANK YOU. 
_________________________________________________________________
Share life as it happens with the new Windows Live.Download today it's FREE!
http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_sharelife_112007
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to