PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I created a form that uploads files from one domain to another. But my problem is that the file which is uploaded has the permission of the first domain. So people surfing the uploaded file on its domain cannot view it (the permissions are set for the first domain with the form). So I figured that after uploading the file, php would set the permissions of that file for that specific domain that it exists on.
AFAIK php does not know anything about ntfs permissions but, fortunately, it can run external programs. So you can run some command line utility similar to chmod on Unices... as well as .wsf file Here is what quick google search revealed: http://66.102.9.104/search?q=cache:VI81 ... sion&hl=en