Author Topic: PHP help?  (Read 21044 times)

0 Members and 1 Guest are viewing this topic.

Munerift

  • Full Member
  • ***
  • Posts: 217
    • View Profile
    • http://munerift.xepher.net/
PHP help?
« Reply #15 on: June 16, 2006, 01:50:40 pm »
Is there a way Xeph to mayhap HAVE THE OPTION for us unadvanced people who dont custom tweak the permissions, to like click a checkbox somewhere and have the server fix permissions AUTOMATICLY each time you reupload a PHP file???? Hmmmmm?
I'm Home!
MuneRift - DeviantArt - Etsy

Xepher

  • Techsmith
  • Administrator
  • *****
  • Posts: 4,334
  • Illegitimis non carborundum!
    • View Profile
    • Xepher.net
PHP help?
« Reply #16 on: June 17, 2006, 04:39:20 am »
Hmmm... Not that I can think of offhand. At least, not a way that wouldn't be a huge load on the server. The script I have right now, basically scans all your files, and then changes the permissions on all of them. That's fine to do once in a while when people push the button for it, but I couldn't just have that running full time, or it would chew up all the cpu's go-juice. :-)

The problem is that there isn't an easy way to trigger it or "know" when a file has been changed or uploaded without just scanning all the time. I will keep it in mind though, and see if I can't figure something out. For now though, I'd say use winscp, as it's actually AWARE of file permissions, and I believe it lets you pick default permissions for uploads.

golden-crystals

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • http://golden-crystals.xepher.net
PHP help?
« Reply #17 on: June 17, 2006, 07:36:47 pm »
I don't mind having to go in and push something. It's kind of gratifying, lol 'There, I'm done!'
'In case of stupid, throw a brick'

Golden Crystals - Your journey is before you.