Re: Newbie Issue blank result for .php correct display for .html version
| From: | Ray Hunter | Date: | Wed, 20 Nov 2002 01:18:47 +0000 |
| Subject: | Re: Newbie Issue blank result for .php correct display for .html version | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-6896@lists.php.net to get a copy of this message | ||
This is really not the list for these types of questions...
I put this on the php-general list where you will get faster response.
list: php-general@lists.php.net
On Fri, 2002-11-15 at 17:08, Easystreet.com wrote:
> I'm going through a tutorial and results are when the file extension is .php
> it returns a blank display in IE 6 when the file extension is .html I get
> the correct display. This is on a Win2K system with IIS disabled,
> Apache/1.3.27 (Win32) PHP/4.2.3
>
> The following added to httpd.conf at the end of the file
>
> LoadModule php4_module c:/php/sapi/php4apache.dll
> AddModule mod_php4.c
> AddType application/x-httpd-php .php
>
> Other .php tests I have been working on which start out with <? work with no
> difficulty
> as a .php it displays an empty browser with no errors, if I change the
> extension to .html it displays as I think it should. Any ideas?
>
> and here is the start of what I have:
>
> <html>
> <head>
> <title>Guestbook</title>
> </head>
> <body>
> <center>
> <form action="<?php echo $_SERVER[PHP_SELF]; ?>" method="POST">
> <font face="arial" size="1">
> Name: <input type="text" name="txt_name">
> Email: <input type="text"
> name="txt_email"><br><br>
> Comment:<br>
> <textarea style="width: 75%" rows="10"
> name="txt_comment"></textarea>
> <center><input type="submit"
> value="Submit"></center>
> </font>
> </form>
> </center>
> </body>
> </html>
--
Ray Hunter
email: bigdog@venticon.com
www: http://venticon.com