php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54899 NO PHP CONTENT DISPLAY
Submitted: 2011-05-21 17:34 UTC Modified: 2011-05-21 18:30 UTC
From: KAPRISHi1 at yahoo dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5.3.6 OS: WINDOWS
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: KAPRISHi1 at yahoo dot com
New email:
PHP Version: OS:

 

 [2011-05-21 17:34 UTC] KAPRISHi1 at yahoo dot com
Description:
------------
Hi , I have simple html script that calls php script , when i run HTML, there is 
no output from php code, it simple paste the comeplte code. i verified, my php 
scripts all working properly.

wel_input.html
<html>
<body>

<form action="welcome.php" method="post">
Name: <input type="text" name="fname" />
<input type="submit" />
</form>

</body>
</html>

Test script:
---------------
welcome.php
<html>
<body>

Welcome <?php echo $_POST["fname"]; ?>!<br />
</body>
</html>

WHY is php not echoing the output sent from html?

Expected result:
----------------
expectation is  the outpu name type in html form

Actual result:
--------------
the php code, is coming into browser, instead of outputting the value.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-21 18:30 UTC] felipe@php.net
-Status: Open +Status: Bogus
 [2011-05-21 18:30 UTC] felipe@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Seems your Apache doesn't loaded the PHP module...
Not a PHP issue.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 23 11:00:03 2025 UTC