Hi,
Thanks for your reply. I have allow the apache server to login as admin. Its
works and now its start executing the external program.
Thanks
Best Regards,
Muhammad Rizwan Nawaz
Email / MSN Messenger: [EMAIL PROTECTED]
Gmail: [EMAIL PROTECTED]
Yahoo IM: rizwan051
AOL IM: riznawaz
Skype: riz
On w2k3 getting exec() to work is a PITA. If you are running fastcgi
you will have to give that user permission to execute cmd.exe. Since it
will be running as a network service PHP needs to execute both the
program and cmd.exe. First I would try and figure out who is requesting
the file (who do
Here's a more efficient method: use this guy's free class file. I've
used it for similar solutions, and it's pretty easy to hack to make it
fit into whatever architecture you need. The code is fairly
straightforward.
http://www.micahcarrick.com/04-19-2005/php-zip-code-range-and-distance-calculatio
If you're going to do that you should use Google's API, otherwise when they
make a change to their HTML your code will fail.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Anthony Papillion
Sent: Saturday, December 08, 2007 2:37 AM
To: NYPHP Talk
Subjec
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'