Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » $_SERVER['PHP_SELF']; Problem(Server not found: error)
$_SERVER['PHP_SELF']; Problem [message #656314] Fri, 25 February 2011 04:42 Go to next message
Andy  is currently offline Andy Friend
Messages: 1
Registered: February 2011
Junior Member
Hello,

I'm a newbie to Eclipse and have just started programming in PHP5 after taking a six year break from developing. All of my previous experience was in procedural programming so I'm just getting used to the whole OOP concept. I'm trying to build a fairly simple Registration script but the self submit I used so many times in the past is throwing an error on Eclipse. The error reads:

Page load failed with error: "A server with the specified hostname could not be found."

Does anyone know if this a bug with Eclipse or is it a difference in PHP5?

Thanks for your help.

Andy
Re: $_SERVER['PHP_SELF']; Problem [message #656735 is a reply to message #656314] Mon, 28 February 2011 10:31 Go to previous message
dominik is currently offline dominikFriend
Messages: 122
Registered: July 2009
Senior Member
On 2011-02-25 05:43, Andy wrote:
> Hello,
>
> I'm a newbie to Eclipse and have just started programming in PHP5 after taking a
> six year break from developing. All of my previous experience was in procedural
> programming so I'm just getting used to the whole OOP concept. I'm trying to
> build a fairly simple Registration script but the self submit I used so many
> times in the past is throwing an error on Eclipse. The error reads:
> Page load failed with error: "A server with the specified hostname could not be
> found."

Probably You have this error because You trying to run script through eclipse
without web server configured correctly. By default it have "localhost" as
hostname. HAve You web server on that name?


> Does anyone know if this a bug with Eclipse or is it a difference in PHP5?

It's nothing about PHP version. Try some helloWorld example first.

/dmc
Previous Topic:PHP Project Import to Eclipse ?
Next Topic:progress
Goto Forum:
  


Current Time: Mon Dec 22 07:04:07 GMT 2014

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

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