pixeltecs Posted January 8, 2004 Share Posted January 8, 2004 I have been experimenting with some code that uses a PHP/FTP connection to change file permissions. I don't like the idea of making the image directory 777 but have no choice. Since the account info is already in a protected config file, why not add FTP info so that when you upload an image, you can: 1. login to FTP automatically and change the appropriate file to writable. 2. perform image upload. 3. logoin to FTP automatically and undo the permissions for security. This could be of benefit for other PHP projects as well and the code is easy. I just am not too sure how to persue this from here. If nobody is interested, I will probably write it for myself, but the nice thing about OSS is that we can share. :) Link to comment Share on other sites More sharing options...
♥kymation Posted January 8, 2004 Share Posted January 8, 2004 Sounds useful to me. I suspect that people would use this code if it were available. If you are going to do it anyway, why not turn it into a Contribution? Announce it here, or post your preliminary code and we will help you test it (and maybe even make improvements.) Regards Jim See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Guest Posted January 8, 2004 Share Posted January 8, 2004 There is some related code in Druide's posts in this thread. Hth, Matt Link to comment Share on other sites More sharing options...
Druide Posted January 14, 2004 Share Posted January 14, 2004 There is some related code in Druide's posts in this thread. Hth, Matt some ppl have a superb memory around here where to find answers and Matt you RULE ! You amaze me each time over and over again with your replies keep UP the good work 2 thumbs UP Robert We all need to learn it once, how hard it may seem when you look at it, also you will master it someday ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.