I need to take a file and move it to a windows machine on a specific folder where it is then to be printed automatically. How would I accomplish something like this? Is it possible with PHP?
A:
Have the user upload the file using a POST form, then use move_uploaded_file to put it into the right folder.
MiffTheFox
2010-04-28 13:25:16
A:
It is possible with PHP. You can upload the file using POST (there are many examples online), and then use - for example - move_uploaded_file to move the file to the appropriate location.
However, you will need to make sure the folder has the appropriate permissions to allow the web server to move files into it.
Justin Ethier
2010-04-28 13:26:37
A:
it is possible with PHP.
but it's also possible with simple copy
console command
To have another answer, you need to provide much more information.
Col. Shrapnel
2010-04-28 13:53:47