From:             claudebreault at netscape dot ca
Operating system: WindowsXP
PHP version:      4.4.1
PHP Bug Type:     Output Control
Bug description:  echo in a called program

Description:
------------
(My setting: Apache 1.3 for Windows XP, PHP 4.3.3)
Hi,
   when I call a second program in HTML with "href", it is impossible to
"echo" something in PHP within the second program.
but anything outside PHP is fine (in the following example the "Title" is
printed). However, the second work fine by itself (Title and echo). This
simplified code doesn't work.

First Program :
<HTML>
<HEAD></HEAD>
<BODY>
   <a href="SecondProgram.HTML">SecondProgram</a>
</BODY>
</HTML>

Second Program :
<HTML>
<HEAD></HEAD>
<BODY>
    <h1>Title</h1>
    <?php echo "Printing test"; ?>
</BODY>
</HTML>

This problem arises for whatever I try to "echo" in the second program
(ex. grobal variables);

Thanks for your help
Claude


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

Reply via email to