A little more news:
I'm using cURL for the Mediawiki plugin to Zen, and have got this:
Code:
$cr = curl_init('http://'. $wgZenD .':8080/zport/portal_skins/' . $wgZenLog.
'/');
curl_setopt($cr, CURLOPT_RETURNTRANSFER, true); // Get returned value as
string (donât put to screen)
curl_setopt($cr, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); // Spoof the
user agent
curl_setopt($cr, CURLOPT_COOKIEFILE, 'cookie.txt'); // Use cookie.txt for
READING cookies
$output = curl_exec($cr);
curl_close($cr);
It's not working as planned, though. I can force the URL for the reports, but
it's still not displaying the output. The cURL session works. The report
images, using REST, are structurally correct.
Am I meant to be grabbing the cookie or getting a session variable for
validation ?
-------------------- m2f --------------------
Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=30003#30003
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users