I'm Evaluating the Zend client 2.5 product to develop in PHP. So far, it works well. However, there is one annoying thing that there must be a way to fix, I'm just not seeing it. Here's the problem:

(Using Windows 2000)

I pull open a php page that has HTML in it, and I run it and display it in a new browser window. It generates the HTML exactly the way that it should. The problem is that it puts the temporary .html file that it generates in C:\documents and settings\administrator\etc. My web site files are on another drive with another path. So any document baesd references I have to images, etc. get broken. ../images doesn't work because it's not located in c:\documents and settings\administrator\etc. it's in D:\web sites\etc.

Anyone know of a way to get Zend to put the temp .html file in the proper place?

Thanks,

M7_B5

    um, use Unix and apache instead? 🙂

    Seriously, your configuration, for example, the path assigned when you installed the ZE, a user option in the program, a setting in an .ini file ?

    A workaround.... create a link in /etc to d:\website\?

    Not too smart, I guess, if you're showing the page to the
    world....

    Sorry, I'm not too familiar with Win2k or the Zend engine...
    nonetheless, I often "work around" such issues in the
    manner described....

    dalecosp

      Hehe no doubt.

      I would definitely prefer to use the linux envrionment but it's a client project that requires DreamWeaver in order to complete (because of their web templating.) I'm trying to get it to work so it's a two stop deal. Develop HTML in dreamweaver, jump over to Zend to do the PHP and most importantly for debugging.

      I tired most of those avenues already. No .ini mod, nothing in internet explorer that can be set, etc. Unfortunately you can't make a link directory in Windows otherwise I would do that.

      The only configuration in Zend that I can find that would control this is the configuration setting for the command to start the browser, which looks like this:

      rundll32 url.dll,FileProtocolHandler

      The problem being that I don't know anything about url.dll or the FileProtocolHandler. It's possible I can pass it a paramater for the path but god knows where I can find that documentation.... I was hoping someone else out there had this same problem and had fixed it.

      Thanks,

      M7_B5

        Well I found the command reference for Run32dll.exe and there isn't much I can do with it to change the reference to path. The format is pretty simple Run32dll.exe url.dll, FileOpenHandler %1 where %1 is the path to the file you are going to open up with your browser. I guess when they built Zend Client 2.5 they built it to automatically create the temporary internet files in your Windows Temp folder.

        Can't imagine why they did that.

        M7_B5

          Write a Reply...