"Object not found!" with PHP, MSIE, and Apache

Problems with the Windows version of XAMPP, questions, comments, and anything related.

"Object not found!" with PHP, MSIE, and Apache

Postby DavidMD » 01. February 2003 05:29

Hello, everyone! :)

I have what is perhaps a stupid question, but I am willing to humiliate myself in order to resolve this problem. :oops:

I am using WAMPP (with its versions of PHP and Apache) and DzSoft's PHP Editor for Windows (http://www.dzsoft.com/dzphp.htm), which I highly recommend.

ASIDE: DzSoft is located in Kremenchuk, Ukraine; I have been using their software since August 2000 and, at that time, the developer and webmaster was in his teens! :D His name is Alexander and he writes high-quality shareware. [End of plug.] :wink:

I can execute PHP scripts directly within DzSoft Perl Editor, but I wanted to see what the script looks like in Internet Explorer, because the script is embedded in an HTML document.

I placed the PHP file in the Apache root directory:

C:\wampp2c\apache\bin\

I assumed that I needed to place the PHP file in the same directory as 'apache.exe'.

Internet Explorer, however, displayed the following error:

> Object not found!
>
> The requested URL was not found on this server. If you
> entered the URL manually please check your spelling and
> try again.
>
> If you think this is a server error, please contact the webmaster.
>
> Error 404
>
> localhost
> 31.01.2003 10.08.16 PM
> Apache/2.0.43 (Win32) mod_perl/1.99_08-dev Perl/v5.6.1 PHP/4.3.0

I then placed the PHP file in the following Apache directory:

C:\wampp2c\apache\

The result is the same.

Could someone please give me a bit of guidance? I would be very grateful (and I apologize for asking such a stupid question)! :(

Thank you very much, in advance! :)

Cordially,

David Dickerson
--
http://ddickerson.igc.org/

P.S. -- My simple PHP script, by the way, is as follows:

Code: Select all
<?php
$undecided = 3.14;
print gettype($undecided);      // double
print " is $undecided<br>";     // 3.14
settype($undecided, 'string');
print gettype($undecided);      // string
print " is $undecided<br>";     // 3.14
settype($undecided, 'integer');
print gettype($undecided);     // integer
print " is $undecided<br>";    // 3
settype ($undecided, 'double');
print gettype($undecided);     // double
print " is $undecided<br>";    // 3.0
settype ($undecided, 'boolean');
print gettype($undecided);     // boolean
print " is $undecided<br>";    // 1
?>
In a world of absurdity, we must
invent reason; we must create
beauty out of nothingness.

-- Elie Wiesel
User avatar
DavidMD
 
Posts: 23
Joined: 29. January 2003 02:41
Location: Hermitage, Tennessee, USA

Postby Oswald » 01. February 2003 13:03

Dear David! ;)

Place your files into the htdocs directory and Apache will find them.

Greetings,
Oswald

PS: Thanks for the hint about dzphp. Seems to be a very good PHP Editor. Just watched the screenshot on the web site and now I'm donwloading the software.
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
Operating System: Linux

Postby DavidMD » 02. February 2003 05:52

Greetings, Oswald! :)

Thank you for the information! I feel rather foolish, because I have had root access on a UNIX system since 1991 and I maintain a 70-MB personal, educational Web site there. I always FTP my Web pages to the 'htdocs' directory, and I should have stopped and thought a moment before even asking this question.

Thanks for your time, patience, and help Oswald!

Cordially,

David
--
http://ddickerson.igc.org/
http://ddickerson.igc.org/lasker-schueler.html (Else Lasker-Schüler)
http://ddickerson.igc.org/heine.html (Heinrich Heine)

P.S. -- You are welcome for the tip about DzSoft PHP Editor; the Perl editor is also very good -- and both have very reasonable licensing fees!


Kai Seidler wrote:Dear David! ;)

Place your files into the htdocs directory and Apache will find them.

Greetings,
Oswald

PS: Thanks for the hint about dzphp. Seems to be a very good PHP Editor. Just watched the screenshot on the web site and now I'm donwloading the software.
In a world of absurdity, we must
invent reason; we must create
beauty out of nothingness.

-- Elie Wiesel
User avatar
DavidMD
 
Posts: 23
Joined: 29. January 2003 02:41
Location: Hermitage, Tennessee, USA

PHP is like HTML, no science...

Postby chanio » 15. April 2003 05:48


Please, consider working with PHP as if it where HTML with some scripts that do fancy things inside of <? and ?> signs. The rest should be like any other .html page, but the page should have .php as extension to recognize these fancy things.
The PHP fans are doing a lot of noise when promoting this language. And it is realy a great thing. Some people doubts that it could be more powerful that even PERL!
For edition, just have a look at the FREE Maguma Studio Light!. And for Perl there is always the xEmacs that is said that it RULES.
Hope it helps!
Alberto
[/url]
Gallactic Firewall
User avatar
chanio
 
Posts: 72
Joined: 18. March 2003 22:05
Location: Argentina

Re: "Object not found!" with PHP, MSIE, and Apache

Postby katiebee » 06. April 2010 23:24

DavidMD. Thanks for asking your question. It's 7 years later and you helped me :)_
katiebee
 
Posts: 1
Joined: 06. April 2010 23:16


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 73 guests