From: hinrichs at islco dot com Operating system: WINNT PHP version: 5.0.1 PHP Bug Type: SimpleXML related Bug description: simplexml_load_file URL limitation 255 char?
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 bug report at http://bugs.php.net/?id=29945&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29945&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29945&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29945&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=29945&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29945&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29945&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29945&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29945&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29945&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29945&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29945&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29945&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29945&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29945&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29945&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29945&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29945&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29945&r=float
