Im using a basic phpnuke site, with a few extra blocks/module. One of the blocks i am using is a Screenshot Uploader, which lets registered users upload ss's and then a random thumbnail is shown on the home page of the site.
The problem im having with it is that even though i have chmod'd the correct folder so that the ss's actually show up, any new ones that are uploaded wont automatically chmod correctly and will not show up until i go back into the ftp and re-chmod it.
Is there anything on the host side of things that is making this happen? I've tried just about everything i can think of to get the files to upload with the correct permissions but still can't get it to work correctly.
Thanks a ton for your time.
Webserver file permissions..
-
- New to forums
- Posts: 3
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Fri Sep 08, 2006 9:17 am
The only way of fixing that in an automated fashion would be to edit the uploader script so that it sets the permissions after the file is saved. It shouldn't be too difficult, but you'd need to know a little PHP to find the correct spot to put it in and know the correct command to use.
If you email me the exact location of the file, I can take a look at it for you.
If you email me the exact location of the file, I can take a look at it for you.
Ya, thats what i was thinking. I was looking through the code to try and get an idea where it would go but couldn't find the right place to put a chmod command. (knowing nothing about php coding didnt help lol).
Either im being dumb or i just cant find your email address. But, i do have the module script hosted so you can take a look at it if you wouldn't mind.
http://members.cox.net/laxnkio/index.php
Any help would be greatly appreciated
Either im being dumb or i just cant find your email address. But, i do have the module script hosted so you can take a look at it if you wouldn't mind.
http://members.cox.net/laxnkio/index.php
Any help would be greatly appreciated