Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Does Firefox ignore things between <?php and ?> when displaying a local file?

  • No replies
  • 1 has this problem
  • 11 views
more options

I have a '.php' file that is really HTML with PGP used within it.

When I open this local file, Firefox doesn't render the stuff between in a consistent way.

Since are not valid HTML tags, I would assumed that it would do one of the following.

   1)     it would ignore the tags, and render all the text between them, unchanged.
   2)     it would ignore everything between the tags.

What actually gets rendered, is a mixture of things. Portions of the text between the are rendered. Some things are actually parsed as valid HTML, like things that are part of a PHP echo command.

I've tried attaching a '.pdf' of the rendered page, and the source that created it, but since they're not image format file. The files can be accessed via:

   https://oscalewest.com/private/render.pdf
   https://oscalewest.com/private/verify_and_pay_2022v1.txt  (the ".pgp" file so that it doesn't get processed when fetched.)

Thanks, Tim


Thanks, Tim

I have a '.php' file that is really HTML with PGP used within it. When I open this local file, Firefox doesn't render the stuff between <?php and ?> in a consistent way. Since <?php and ?> are not valid HTML tags, I would assumed that it would do one of the following. 1) it would ignore the tags, and render all the text between them, unchanged. 2) it would ignore everything between the tags. What actually gets rendered, is a mixture of things. Portions of the text between the <?php and ?> are rendered. Some things are actually parsed as valid HTML, like things that are part of a PHP echo command. I've tried attaching a '.pdf' of the rendered page, and the source that created it, but since they're not image format file. The files can be accessed via: https://oscalewest.com/private/render.pdf https://oscalewest.com/private/verify_and_pay_2022v1.txt (the ".pgp" file so that it doesn't get processed when fetched.) Thanks, Tim Thanks, Tim