| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Senior Member Join Date: Aug 2005 Location: East Yorkshire, England
Posts: 2,689
![]() ![]() ![]() ![]() ![]() ![]() ![]() | FWrite I cant get it to work, heres the code, what am I doing wrong? PHP Code: |
| |
| | #2 (permalink) |
| Senior Member Join Date: Mar 2005
Posts: 4,948
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | PHP Code: |
| |
| | #4 (permalink) | ||||
| Senior Member Join Date: Mar 2005
Posts: 4,948
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
And the only thing i noticed was wrong is that the w was not in '' quotes hehe... make sure your file is writable and try the changes.. should work.. | ||||
| |
| | #5 (permalink) |
| Eating Pie Join Date: Nov 2004 Location: Canada
Posts: 2,272
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | To chamod you can use ftp or file manager in cpanel and select the file then either right click of select chmod action. Regards,
__________________ I feel old.
Last edited by iNod; 08-11-2005 at 02:40 PM.
|
| |
| | #8 (permalink) |
| NamePros Regular Join Date: Jun 2004
Posts: 587
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | This: PHP Code: PHP Code: And as others have said, your file need to be writable. Usually what I do is create a file of 1 byte on my hard drive, upload it, then change the permissions in ftp. You can do it at the shell prompt too. -Bob
__________________ Can't wait to be out of this forsaken business. Getting close! :) |
| |
| | #9 (permalink) | ||||||||
| Senior Member Join Date: Mar 2005
Posts: 4,948
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||||||
| |
| | THREAD STARTER #10 (permalink) | ||||
| Senior Member Join Date: Aug 2005 Location: East Yorkshire, England
Posts: 2,689
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
hmm ive got smartFTP but when i right-click/properties it dosnt give me a CHMOD option. | ||||
| |
| | #11 (permalink) | ||||||||
| Senior Member Join Date: Mar 2005
Posts: 4,948
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Select "Properties/CHMOD" You'll see a box labeled "Permissions" Type in 777 Click "Ok" ![]()
Remember, that PHP Code: PHP Code: | ||||||||
| |
| | THREAD STARTER #12 (permalink) | ||||
| Senior Member Join Date: Aug 2005 Location: East Yorkshire, England
Posts: 2,689
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| |
| | THREAD STARTER #14 (permalink) |
| Senior Member Join Date: Aug 2005 Location: East Yorkshire, England
Posts: 2,689
![]() ![]() ![]() ![]() ![]() ![]() ![]() | where did you get yours from? I went to www.smartftp.com |
| |
| | #16 (permalink) | ||||
| Senior Member Join Date: Mar 2005
Posts: 4,948
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| ||||
| |
| | #17 (permalink) |
| NamePros Regular Join Date: Mar 2005
Posts: 912
![]() ![]() ![]() ![]() ![]() | well. if your on a unix os then you could set the attributes from the os by using 'chmod 666;
__________________ Live Support : Zubair11 [at] hotmail.com Free SEO Directory! || Free Online TV || Tech Blog Web Design & Web Development Services || Reliable Web Hosting |
| |