ID: 12323
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Output Control
Operating System: Mac OS X
PHP Version: 4.0.6
New Comment:

status->feedback

Previous Comments:
------------------------------------------------------------------------

[2001-12-06 14:11:37] [EMAIL PROTECTED]

As asked before by Cynic, can you view the source of the output of the PHP-file? It 
doesn't matter which browser you use. See the post of Cynic for instructions on doing 
this with IE or Netscape ;)

------------------------------------------------------------------------

[2001-07-27 13:01:35] [EMAIL PROTECTED]

status: open


------------------------------------------------------------------------

[2001-07-25 11:40:51] [EMAIL PROTECTED]

The ## works just the same as the //

Also, for those that asked I try it in Netscape.  Netscape 
does the same thing.  The php is being processed, it's just 
that any line with a "//" or a "##" will first be displayed 
up at the top of the page and then from the line after the 
comment the PHP will resume.



------------------------------------------------------------------------

[2001-07-25 02:10:02] [EMAIL PROTECTED]

could you please check the source of the output (View -> Page Source in Netscape 4.x, 
and View -> Source in IE) to check that PHP scripts get actually executed?

(Sorry if this is dumb, but the example you provided really looks like this is the 
case.)

------------------------------------------------------------------------

[2001-07-24 15:40:01] [EMAIL PROTECTED]

For those asking for an example of the script and the 
output.

Using the following:
<code>
<?php
    print("Working so far <BR>");
    print("Still working next line is going to be a 
comment<BR>");
    // This line should be a comment
    print("This is the next line past the comment<BR>");
?>
</code>

I get the following result:
<browser output>
// This line should be a comment print("This is the next 
line past the comment
"); Working so far 
Still working next line is going to be a comment
<end of browser output>

Thanking everyone for the help.  Greatly appreciate it.

Lael

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/?id=12323


Edit this bug report at http://bugs.php.net/?id=12323&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to