Page 1 of 1

Passthru issues

Posted: Tue May 23, 2006 5:19 pm
by kingconnections
I am running apache on a windows 2003 machine and I am trying to code a some wmi calls.

I am doing it like so :

Code: Select all

passthru(wmic bios get serialnumber);



When I run this the cmd box pops up but never populates with data. If i test with dir it comes back in my web page displayed.

Any ideas?

Thanks in advanced!

Posted: Wed May 24, 2006 1:11 am
by timvw
Probably the user that is running IIS is different than the one you log in with at the win2003 machine... My first guess is that it's a permissions issue..