Try:
Once you run this, run my 2nd code, and tell me the output.Code:chmod("guestbook.php", 777); // decimal; probably incorrect
Try:
Once you run this, run my 2nd code, and tell me the output.Code:chmod("guestbook.php", 777); // decimal; probably incorrect
Jeremy | jfein.net
Where do I run this? do I put this in guest_book.php?
Oh, sorry the code should be:
And put it in the same file as guestbook.txt.Code:chmod("guestbook.txt", 777); // decimal; probably incorrect
Once you upload the file - and Go to it. Then put this in(overwrite it):
And tell me/bluewalrus the output.Code:echo substr(decoct(fileperms("thanks.php")),3);
Jeremy | jfein.net
Ok I put the first line of code in the txt file. How do I overwrite it? This is what I see when I look at the properties.
![]()
What does the error message say and is it through godaddy, the ftp, or the site when accessing the txt file? If its though the ftp try going into godaddy and into your control panel and changing it there (not sure where there but somewhere hah).
oo check all the blocks or type in 777 at the bottom
yea I checked the boxes and thats when I get the error
Error -142: remote chmod failed
It's the ftp that pops up the error..
Try this http://help.godaddy.com/article/2323
Thanks Chris,
I don't think it's a godaddy thing. I looked into it. My server is a windows server.
I looked into the transmit(ftp) settings and took off the auto set permissions and the file still uploads as 644 and gets an error when I change to 777
there might be another work around using php to change the permissions i'll post that in a bit i'm going out right now check back around midnight or tomorrow
Bookmarks