1
Kaustik
Re: Cannot write to mainfile.php
  • 2004/5/5 1:11

  • Kaustik

  • Just popping in

  • Posts: 1

  • Since: 2004/5/1 1


Hey,

I'm having the same problem as Amgeex, running the same IIS with PHP 4 and MySQL 4 on a local computer. The file is definitely writable; in fact everything is writable in my website. And yet the thing still isn't working. I think I've given IUSR modify rights, but I'm not sure where I can access the rights of IUSR directly.

Anyway, I am guessing that it either has something to do with the fact that IIS has extra security measures that don't allow someone to modify a file from within another file, or open a stream from another file. Either that, or there is something that IIS doesn't like about the paths that mainfilemanager.php uses for its copy command:

     var $path = '../mainfile.php';
     var $distfile = '../mainfile.dist.php';

      ...

      function copyDistFile(){
            if ( ! copy($this->distfile, $this->path) ) {

I suppose the third problem could be that the copy command is for some reason rejected by IIS (as too risky?).

Has anyone else found copy() a problem with IIS? Does anyone know how to get around this and still use IIS?

Thanks,

Matt




TopTop



Login

Who's Online

115 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 115


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits