php EXEC Giving problem

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ramendra1576
Forum Newbie
Posts: 1
Joined: Thu Aug 21, 2008 2:07 am

php EXEC Giving problem

Post by ramendra1576 »

hiiiiii

i am using

exec('C:\\Progra~1\\Rpv\\Rpv.exe C:\\Progra~1\\Rpv\\reports\\data.rpv');

it not workin hanging explorer.

i use some different
exec('C:\Progra~1\Rpv\Rpv.exe C:\Progra~1\Rpv\reports\data.rpv');
it also not working
after that i use simple exec

$return = shell_exec("c:\\Program Files\\Adobe\\Reader 8.0\\Reader\\AcroRd32.exe 'C:\\temp\\test.pdf'"


result is same
i am not understanding what problem with this
plzzzzzzzzz help any one how i use exec
User avatar
jaoudestudios
DevNet Resident
Posts: 1483
Joined: Wed Jun 18, 2008 8:32 am
Location: Surrey

Re: php EXEC Giving problem

Post by jaoudestudios »

I have only used it to drop into linux command line not windows. That might be it. I am assuming you are running WAMP?
Post Reply