Hi people, ive got a web server running at my home and am using exec() to execute a .bat file which in turn runs a program called 'magic', it send s magic packet to one of the pcs in my house and turns them on with the wake-on-lan capability they have. When it comes to shutting them down i want to use psshutdown.exe to do it, now the .bat file runs no problem when i physically double click it on the webserver, but if i try to run it via my webpage (using the exec() command) it doesnt run?!
Have searched already for this on this forum but not found what im after.
EDIT:: figured you may want the environment im running also lol: WinXP pro(SP2), Apache 2.0, php 5, mysql 4.1.