Put URL and garbage in result from PHP
Mark Schonewille
m.schonewille at economy-x-talk.com
Tue Oct 9 05:12:27 EDT 2012
Hi Monte,
I think you're right. The libURLLastRHHeaders return:
HTTP/1.1 200 OK
Date: Tue, 09 Oct 2012 08:52:49 GMT
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 mod_fastcgi/2.4.2
X-Powered-By: PHP/5.3.8
Content-Transfer-Encoding: text
Transfer-Encoding: chunked
Content-Type: text/utf8
Now I see "chunked", even if I use only one echo command.
If I add a content-length header, the problem seems to be solved, but this forced me to store all data in a variable in PHP before echoing it, which I was trying to avoid because the data can grow to several MB's.
Strange, that I didn't see this happen before.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
On 9 okt 2012, at 11:00, Monte Goulding wrote:
> Don't you want libURLLastRHHeaders?
More information about the use-livecode
mailing list