Hi everybody,
Today I slapped together a neat little project. It's a forum, located at: http://www.mikeburt.net/forum (designed it myself)
It works well, the only thing is that I haven't implemented "edit" features yet.
Sign up if you want.
Hi everybody,
Today I slapped together a neat little project. It's a forum, located at: http://www.mikeburt.net/forum (designed it myself)
It works well, the only thing is that I haven't implemented "edit" features yet.
Sign up if you want.
- Mike
Your design style is very op-art. I like it.
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!
attempted to be the first person to reply and received the error below while trying to respond to the "forum is up" announcement
Not to bad thus far though
http://www.mikeburt.net/forum/?q=pos..._is_up&tid=001
Warning: fopen(structure/community/announcements/forum_is_up.php) [function.fopen]: failed to open stream: Permission denied in /home/mburt/public_html/forum/member/post.php on line 5
Warning: fwrite(): supplied argument is not a valid stream resource in /home/mburt/public_html/forum/member/post.php on line 7
Warning: fclose(): supplied argument is not a valid stream resource in /home/mburt/public_html/forum/member/post.php on line 8
Thanks guys... I know the reply is a problem. My cpanel won't let me change my folder permissions (for whatever reason) on the thread folders. It's really annoying, and I've tried practically everything.
Is there some kind of flag with fwrite I can use to automatically set the permissions to 777?
- Mike
Nope, got to use chmod.
mburt (08-21-2008)
Ahh that's just what I was looking for. Thanks man.
- Mike
This is the error I get however:
Warning: chmod() [function.chmod]: Operation not permitted in /home/mburt/public_html/forum/member/post.php on line 5
- Mike
Do I absolutely need 777 permissions to use fwrite?
- Mike
no its not mandatory. generally the permissions should be set at
751 (folders)
644 (files)
I believe thatchmod()can only be executed from the machine, not in a script... If you have a ftp login, try to use that? or possibly acliclient like PuTTy
Last edited by boogyman; 08-21-2008 at 02:42 PM. Reason: added chmod content
When you create a file with PHP, you should have writes to modify it with any other PHP script on your server.
Bookmarks