Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » A little help with running as PHP Script
A little help with running as PHP Script [message #95430] Thu, 19 March 2009 15:48
Adam is currently offline AdamFriend
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?
Previous Topic:[Announce] PDT 2.1.0 I200903190933 is available
Next Topic:Debugger DLTK Problem produces syntax error
Goto Forum:
  


Current Time: Sat Apr 20 03:42:59 GMT 2024

Powered by FUDForum. Page generated in 0.02790 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top