I have what is perhaps a stupid question, but I am willing to humiliate myself in order to resolve this problem.
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! His name is Alexander and he writes high-quality shareware. [End of plug.]
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
?>