Req #80597 [NEW]: funzione include e require
From: spagoreu at gmail dot com
Operating system: php
PHP version: 7.4.14RC1
Package: *General Issues
Bug Type: Feature/Change Request
Bug description:funzione include e require
Description:
------------
I use include to include html parts in the page.
The function adds an invisible character in the head portion (from a
check it looks like an ascii code (63) which actually graphically lowers
.
I don't know how many pixels lower than the code without the function
include...
To be clearer (I'm Italian and I may not be able to explain myself
correctly) in the code I include there is an html page header div (which
I use for each page).
If I use that code directly on the php page the display is correct, but
if I include it with the include or require function from another page,
the div is about twenty pixels lower.
Analyzing the code, an ascii character (63) is in the head which is not
actually present.
Test script:
---------------
<body>
<?php include_once 'HtmlPage.inc'; ?>
</body>
.......................................................
HtmlPage.inc:
<div style="width: 300px; height: 400px; background-color:
#FF6666;">Intestazione</div>
====================================================================
rispetto a:
<body>
<div style="width: 300px; height: 400px; background-color:
#FF6666;">Intestazione</div>
</body>
--
Edit bug report at https://bugs.php.net/bug.php?id=80597&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=80597&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=80597&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=80597&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=80597&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=80597&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=80597&r=support
Expected behavior: https://bugs.php.net/fix.php?id=80597&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=80597&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=80597&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=80597&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80597&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=80597&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=80597&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=80597&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=80597&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=80597&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=80597&r=mysqlcfg
Thread (6 messages)
- spagoreu at gmail dot com