Re: Rendered code disappear?!
- From: Michael Fesser <netizen@xxxxxx>
- Date: Tue, 06 May 2008 18:33:03 +0200
..oO(Jack)
I have installed IIS 5.1 and php 5
1.php
<html>
<body>
<form action="welcome.php" method="post">
Name: <input type="text" name="name" />
Age: <input type="text" name="age" />
<input type="submit" />
</form>
</body>
</html>
welcome.php
<html>
<body>
Welcome <?php echo $_POST["name"]; ?>.<br />
You are <?php echo $_POST["age"]; ?> years old!
</body>
</html>
Any thoughts? I did succeed in one try run....
But it is messed up now
No obvious errors in the code (except for the missing document type
declaration in the HTML, but this won't cause the PHP to fail).
Is the PHP executed at all? Check the source code of the second page in
your browser - do you still see unparsed PHP code there?
Then check these settings in your php.ini:
error_reporting = E_ALL|E_STRICT
display_errors = 1
Do you get any error message on either of the test pages?
Micha
.
- References:
- Rendered code disappear?!
- From: Jack
- Rendered code disappear?!
- Prev by Date: Re: Encountering attachment size limit using class htmlMimeMail
- Next by Date: Re: Rendered code disappear?!
- Previous by thread: Re: Rendered code disappear?!
- Next by thread: Re: Rendered code disappear?!
- Index(es):
Relevant Pages
|