A little help with running as PHP Script [message #95430] |
Thu, 19 March 2009 15:48 |
Adam![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=adam704a%40hotmail.com) Messages: 1 Registered: July 2009 |
Junior Member |
|
|
I read through all of the stuff and I am still left with a couple of
questions. I have this PHP application that I have in my workspace and am
attempting to run as a PHP script using PDT 2.0 using the all in one
download. The page is coming up and its resolving all of the absolute
paths just fine:
include("c:\workspace\workspaceName\application\file.php");
The problem is its not resolving any of the reletive paths, like the ones
for my images and stylesheets:
<img src="/application/images/logo.gif" alt="" border="0">
When I run this on the webserver specifying my workspace as my document
root everything is fine.
C:\Program Files\Apache Group\Apache2\bin>apache -c "DocumentRoot
"C:/workspace/workspaceName"
Any ideas?
|
|
|
Powered by
FUDForum. Page generated in 0.04724 seconds