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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: vince at mha dot ca
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 22:01:31 2025 UTC