Markpyro
01-09-2007, 11:05 PM
Would it be possible to, on my network, to host a server running php, that a computer on the same network would upload a file to, which then PHP would send a command to my computer (a print command. I would also host the server) which would in turn send a command to the network printer to print the uploaded document?
The reason being, my mother works for Cisco, which allows her to work at home, but in order to connect to the VPN she has to be behind a Cisco router. Now, since Cisco routers aren't wireless, we needed two routers, one being wireless, so that I could have internet access as well. Unfortunately, due to restrictions, she cant connect to the printer via the network.
Now, for partially my sake in learning this portion of PHP, and partially to solve the problem of not being able to print, would this be possible? What would the code look like (how to issue a system command in PHP)?
Thanks :P. I'm curious as to whether this works.
-MP
http://pyrom.net/sigs/manual/hr.png
http://pyrom.net/sigs/manual/sigimage.png
*http://pyrom.net/test/blamecountimage.php*http://pyrom.net/test/lastblameimage.php*
http://pyrom.net/test/blameclick.png (http://pyrom.net/test/blame.php)
The reason being, my mother works for Cisco, which allows her to work at home, but in order to connect to the VPN she has to be behind a Cisco router. Now, since Cisco routers aren't wireless, we needed two routers, one being wireless, so that I could have internet access as well. Unfortunately, due to restrictions, she cant connect to the printer via the network.
Now, for partially my sake in learning this portion of PHP, and partially to solve the problem of not being able to print, would this be possible? What would the code look like (how to issue a system command in PHP)?
Thanks :P. I'm curious as to whether this works.
-MP
http://pyrom.net/sigs/manual/hr.png
http://pyrom.net/sigs/manual/sigimage.png
*http://pyrom.net/test/blamecountimage.php*http://pyrom.net/test/lastblameimage.php*
http://pyrom.net/test/blameclick.png (http://pyrom.net/test/blame.php)