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 have a java applet script that uploads files and keeps the directory structure intact.
It puts the directory permissions to 755. No write permission for the group or public.
I read my files but then wish to delete them. I cannot delete them because of permission problems with the directory (which I also want to delete).
It won't let me chmod the directory (using a php script) so I can delete.
I can chmod using ftp but this doesn't help me.
What is the solution?
This is an admin fuction that I am doing. It keeps talking about permissions. Can I somehow put in some username and/or password somewhere in the script so it knows that I have permission?
I not sure how to do that. The script is a browser ftp script that ftps files and can create directories. It then redirects you to another page. thats where I put my code to process the files, then try to delete them.
How would I make the script the owner? Please advise. Assume I am stupid.