Posted by M on 01/03/06 18:58
PHP Superman wrote:
> Hey everyone, i'm on a windows box with PHP 5 on Apache 2 and I have a
> strange problem. When i try to access a page it seems to be blank, before it
> always worked but now it sudenly stopped. I am not a big computer techy but
> i cleared IE's cache and it still doesen't work.
you should turn display_errors on on your development box. Turn it on,
or check your logs, if you log php errors
>
>
> Source Code in IE for requested Page:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META http-equiv=Content-Type content="text/html;
> charset=windows-1252"></HEAD>
> <BODY></BODY></HTML>
>
>
>
>
> Code in requested page:
>
>
> <?php
> require_once("Include.php");
> Init(1);
> ?>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <?php
> Init(2);
> ?>
> <title>Register for an account</title>
> </head>
> <body>
> <?php
> Init(3);
> ?>
> <form action="RegisterP.php" name="Register" method="post">
> Username: <input type="text" name="Username" />
> <br />
> Password: <input type="password" name="Password" />
> <br />
> Confirm your password: <input type="password" name="PasswordCheck">
> <br />
> E-mail Address: <input type="text" name="EMail" />
> <br />
>
> <input type="submit" value="Submit">
>
> </form>
>
>
>
> <?php
> Init(4);
> ?>
> </body>
> </html>
>
[Back to original message]
|