Can you edit a 777 chmodded file on another persons website?
If so, how?
this is for legitimate and legal reasons BTW![]()
Can you edit a 777 chmodded file on another persons website?
If so, how?
this is for legitimate and legal reasons BTW![]()
You can edit the 777 file if you have downloaded via FTP or a File Management system as long as it you get it from their server to your computer. After downloading it, or editing in a File Management system, simply either upload (or save) the file where it goes on the server, and that's it.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
You cannot edit a file on another server using PHP.
There is, however, one exception.
There are FTP functions available with PHP, that would include getting a file, editing and putting it back. (It's sorta one step from actually editing, but it does the same thing.)
You would, of course, need the username and password. chmod wouldn't matter, either, since it's just FTP.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
actually...chmod does matter, but only if the file was created using a PHP script rather than someone uploading it via FTP. I have run into this problem many times because of that.
You can edit a file if they have a File Management program (such as PHP FileNavigator). For example, I can edit files on my home server, from my work computer by browsing to my FileManager in my web browser. Other than that, you cannot edit from a different computer, or server unless using FTP.Originally Posted by djr33
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
The answer is yes, if you have access to the file normally. If you can't access it without PHP, you can't access it with PHP. FTP, SSH, HTTP should all work (although I haven't seen HTTP PUT used in a long time...), and you can automate the use of a web-based file manager, as thetestingsite said.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
I certainly have no reason to believe you are asking this with malicious intents. However, you never know who may read what on the net, and this is the kind of question with solutions that certainly can be used for evil. Due to this, closing thread.this is for legitimate and legal reasons BTW
Nonsense. If someone's stupid enough to allow the world FTP access to his/her files, s/he has bigger problems to worry about (like his/her upcoming brain transplant).
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Bookmarks