Do you have a question? Post it now! No Registration Necessary. Now with pictures!
July 10, 2007, 8:49 pm
rate this thread
system(copy file.txt lpt1);
to print a file to lpt1. This works fine on an XP machine and also
works fine on the vista machine if i do it manually from a DOS prompt.
I'm guessing it has something to do with User Acess Control (UAC) and
elevating the PHP script or something.
Does anyone have a suggestion or run into similar problems running PHP
on vista ?
Re: php system command on vista
Sorry, my crystal ball is broken. What do you mean by "it doesn't
work"? What error messages do you get? Anything in your event log?
If it works from the command line, where are you calling it from when it
fails? And does the user executing the system() call have access to
cmd.exe, the file and the printer?
Remove the "x" from my email address
JDS Computer Training Corp.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum