php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16293 string returned from functions mismatch with variable
Submitted: 2002-03-26 15:59 UTC Modified: 2002-08-15 01:00 UTC
From: nickv at shift2solutions dot com Assigned:
Status: No Feedback Package: Strings related
PHP Version: 4.1.1 OS: Slackware Linux 2.4.17
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: nickv at shift2solutions dot com
New email:
PHP Version: OS:

 

 [2002-03-26 15:59 UTC] nickv at shift2solutions dot com
Writing a script that POSTed XML query to a java servlet, the servlet would crash, saying that the XML document didn't follow the DTD...  the call went something like this:

echo htmlspecialchars(td_msg_query($blah->MsgXML()));

This would always give an error.

However, whenever we did this:

$test = $blah->MsgXML();
echo htmlspecialchars(td_msg_query($test));

It would work just fine.

$blah is an XML string builder class and td_msg_query does HTTP POSTs via php sockets.  a string is returned from MsgXML containing an entire XML document.  td_msg_query returns the response from the server after the POST.

System Linux major 2.4.17 #60 SMP Thu Jan 24 17:41:40 CST 2002 i686 unknown 
Build Date Mar  6 2002 
Configure Command  './configure' '--prefix=/usr/local/php' '--with-dom=/usr/local/libxml' '--with-apache=../apache_1.3.20' '--with-openssl=/usr/local/ssl' '--enable-dbase' '--enable-ftp' '--with-zlib-dir' '--with-mysql=/usr/local/mysql' 
Server API Apache 
Virtual Directory Support disabled 
Configuration File (php.ini) Path /usr/local/php/lib/php.ini 
ZEND_DEBUG disabled 
Thread Safety disabled 
Zend Optimizer 1.2.0

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-07 13:12 UTC] derick@php.net
Please try the latest snapshot (http://snaps.php.net/php4-latest.tar.gz) and report back if this is still an issue.

Derick
 [2002-08-15 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 01:01:30 2024 UTC