|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-10-23 08:18 UTC] kevin at netsmith dot ltd dot uk
[2003-10-23 22:12 UTC] iliaa@php.net
[2003-10-24 04:40 UTC] kevin at netsmith dot ltd dot uk
[2003-10-30 20:43 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 20:00:01 2025 UTC |
Description: ------------ My PHP version is 4.3.2-RC2 I have an include file which executes a bunch of PHP code and outputs HTML. I also store session variables. I noticed that if I put the following HTML tag inside the include file: <img src="" height="5" width="5"> My session data gets reset. Ok, the point here is no one should have an empty image source tag. When the src is populated, the problem does not occur. Reproduce code: --------------- <? include('/path/to/the/file.php'); ?> Expected result: ---------------- User should continue onto the next page of the website. Actual result: -------------- My error checking reports that the user is no longer logged in. This is due to the session variable being reset by this HTML code.