Click to See Complete Forum and Search --> : Escape HTML


Anon
05-12-2001, 06:29 PM
Apache/1.3.19 (Win32) PHP/4.0.5 running...

/program files/apache group/apache/conf/httpd.conf: Syntax OK

THIS WORKS:)
http://localhost/

THIS WORKS:)
http://localhost/robringold_01

THIS DOES NOT WORK:(
F:\\Program Files\\Apache Group\\Apache\\htdocs\\PHP02.html

=======================================================================
File Name = PHP02.html
Contents = :


<head>
<title>Example</title>
</head>
<body>

<?php
echo \"Hi, I\'m a PHP script!\";
?>

</body>


=========================================================================
For Some Reason I cannot \"Escape HTML\" or Contrary to Apache \"Run Statement \" PHP is NOT Running.
But When I execute PHP.EXE I get the Same Results.


\\Program Files\\Apache Group\\Apache>apache -l
Compiled-in modules:
http_core.c
mod_so.c
mod_mime.c
mod_access.c
mod_auth.c
mod_negotiation.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_userdir.c
mod_alias.c
mod_env.c
mod_log_config.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_setenvif.c
mod_isapi.c

TIA George One

Anon
05-14-2001, 04:43 AM
check that you have the file types associated with apache to be sent to the php interpreter. you can send .html if you want, just use AddType to add it.

Anon
05-14-2001, 09:39 PM
change filename :php02.html -> php02.php.

Anon
05-15-2001, 07:03 PM
Thanks,

But Nothing different happens -
which is a Blank IE5.5 Screem. G.

Anon
05-15-2001, 07:17 PM
Thanks to All.

I found the Problem.

I, DumDum, was not accessing through my Apache Server/PHP/MySQL configuration.

The Correct Address is :

http://localhost/filename_php3.html

Thanks Again

George One