Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Problems running PHP and HTML files
Problems running PHP and HTML files [message #64282] Tue, 08 January 2008 09:48
Eclipse UserFriend
Originally posted by:


I am a newbie PDT user. I have downloaded and unzipped Eclipse PDT
all-in-one 1.0 for Windows. I have created a new project with some php
files. I can successfuly run the PHP files in Eclipse using right-click
menu "Run as > PHP Web Page" (the localhost is a XAMPP instalation). But
there are some details that do not work properly:

1. When I execute a PHP file in Eclipse using right-click menu "Run as >
PHP Web Page", a "Run PHP Web Page" window is shown. This window
contains a "Launch URL" list of all the PHP files that I have run, but
the right URL for the PHP file I have selected is shown at the end of
the list, not at the beginning.
Is there a way (using keyboard shorcuts or menus) to run the selected
PHP file without having to open the "Launch URL" list and select the
right URL?

2. My project contains some PHP files and some HTML files. I would like
to run the html files in the localhost, but I do not know how to do it.
The right-click menu "Open" and "Open with" options open a browser view,
but the URL is "C:/..." instead of "http://localhost...". The
right-click menu "Run as.." does not let me run the html file in the
localhost. Is there a way to do it?

I apologize for my English. I hope it is understandable ;-)

Thanking you in advance,
Bartolomé Sintes
Previous Topic:imported syntax highlighting
Next Topic:syntax highlighting problem with include files
Goto Forum:

Current Time: Sun Feb 05 15:36:30 GMT 2023

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

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

Back to the top