php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2509 embedding functions give me an error "Document Contains No Data"
Submitted: 1999-10-13 13:32 UTC Modified: 2000-03-10 12:39 UTC
From: vince at mha dot ca Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0 Beta 2 OS: Linux and/or FreeBSD
Private report: No CVE-ID: None
 [1999-10-13 13:32 UTC] vince at mha dot ca
System Information:
Same hardware on all machines
Pentium II 400Mhz, 128 Megs RAM, IDE drives, everything compiled from source.
-
FreeBSD 3.2-RELEASE
Apache 1.3.9
MySQL 3.22.25
PHP 4.0b2 (as a module not cgi)
-
RedHat 6.0 (on two different machines)
Apache 1.3.9
MySQL 3.22.25
PHP 4.0b2 (as a module not cgi)

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

http://wolverine.mha.ca/error/ has two files in it...

doesnt-work.php:<? echo array_pop(explode("/".$PHP_SELF)); ?>

works.php: <? $asdf = explode("/",$PHP_SELF);
works.php: echo array_pop($asdf); ?>

the first one results in Document Contains no Data (in Netscape, blank page in IE)
the second produces the correct result.

These functions consistantly produce the error, I can do it with other functions to, but they don't return the error everytime, just occationally.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-10 12:39 UTC] andi at cvs dot php dot net
This should be fixed now. Please get Beta 4 (pl1) or the latest CVS and if you still have problems then open a new bug report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 12:01:27 2024 UTC