To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Tools > Zend Studio

Zend Studio Looking for help with Zend Studio? This is the place.

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-14-2002, 03:56 PM   #1
m7_b5
Junior Member
 
Join Date: Sep 2002
Posts: 7
Zend Client 2.5 Question

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
m7_b5 is offline   Reply With Quote
Old 09-14-2002, 04:49 PM   #2
dalecosp
Still needs a yaller jeep
 
dalecosp's Avatar
 
Join Date: Jul 2002
Location: Accelerating Windows at 9.81 m/s....
Posts: 6,140
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
dalecosp is offline   Reply With Quote
Old 09-14-2002, 05:09 PM   #3
m7_b5
Junior Member
 
Join Date: Sep 2002
Posts: 7
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
m7_b5 is offline   Reply With Quote
Old 09-14-2002, 05:54 PM   #4
m7_b5
Junior Member
 
Join Date: Sep 2002
Posts: 7
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
m7_b5 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 06:53 AM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.