#29945 [Opn->Csd]: simplexml_load_file URL limitation 255 char?

From: Date: Mon, 06 Sep 2004 10:20:34 +0000
Subject: #29945 [Opn->Csd]: simplexml_load_file URL limitation 255 char?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65806@lists.php.net to get a copy of this message
ID: 29945 Updated by: rrichards@php.net Reported By: hinrichs at islco dot com -Status: Open +Status: Closed Bug Type: SimpleXML related Operating System: WINNT PHP Version: 5.0.1 New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2004-09-02 05:43:23] hinrichs at islco dot com Description: ------------ Putting a long URL into simplexml_load_file: symptom: Apache does not return any data. Chopping params off the query to make it < 255 characters long, however, works. Reproduce code: --------------- simplexml_load_file('http://aws-beta.amazon.com/onca/xml?Service=AWSProductData&SubscriptionId=1WY05MXT3WM2PXMB12G2&AssociateTag=harappabazaar&ResponseGroup=Medium&Operation=ItemSearch&SearchIndex=Electronics&BrowseNode=281052&ItemPage=1&Sort=price&MaximumPrice=40000&MinimumPrice=30000'); Expected result: ---------------- For it to work same as shorter urls. Actual result: -------------- Document contains no data; apache crashes. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29945&edit=1

« previous php.bugs (#65806) next »