From:             jbeduya at gmail dot com
Operating system: Windows XP
PHP version:      5.0.5
PHP Bug Type:     *General Issues
Bug description:  Does not parse php content inside html

Description:
------------
When I try to run my old script under PHP 5.0.4 to the one that I have
newly installed, it did not parse the code that I embed in html.

Reproduce code:
---------------
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
<?php $username='username'; ?>
<input type="text" name="test" value="<?=$username?>" />
</body>
</html>

Expected result:
----------------
The textbox field should have the value of the variable.


-- 
Edit bug report at http://bugs.php.net/?id=35165&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=35165&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=35165&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=35165&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=35165&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=35165&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=35165&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=35165&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=35165&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=35165&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=35165&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=35165&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=35165&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=35165&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=35165&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=35165&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=35165&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=35165&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=35165&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=35165&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=35165&r=mysqlcfg

Reply via email to