Opened 12 years ago
Closed 12 years ago
#401 closed defect (fixed)
curl_exec outputs content with php 5.2
Reported by: | adube | Owned by: | adube |
---|---|---|---|
Priority: | critical | Milestone: | 1.2.0 |
Component: | server | Version: | trunk |
Keywords: | Cc: |
Description
Issue
While setuping geoprisma on the new linux server which has php 5.2, I noticed that the curl_exec() calls sometimes outputs the response, thus resulting in having unwanted text at the beginning of the page.
Solution
Setting CURLOPT_RETURNTRANSFER to 1 and use the response from curl_exec() instead of using ob_get_contents().
Note:
See TracTickets
for help on using tickets.
Fixed in r1283.