Summary | HTTP_Request related |
Queue | Kronolith |
Queue Version | 2.1-RC3 |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | asa (at) isac (dot) gov (dot) in |
Created | 02/15/2006 (7052 days ago) |
Due | |
Updated | 03/10/2006 (7029 days ago) |
Assigned | 02/15/2006 (7052 days ago) |
Resolved | 03/10/2006 (7029 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Not A Bug
State ⇒ Feedback
Priority ⇒ 1. Low
different PHP version works?
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ HTTP_Request related
Queue ⇒ Kronolith
HTTP_Request in the kronolith/lib/Kronolith.php has four parameters. 1st one
being URL. if it is $url, i get the error. But, if i replace $url with actual
url and write in single quotes, i get proper output.
To be more clear:
The following is the part of the Kronolith.php code:
if (!empty($url)) {
require_once 'HTTP/Request.php';
echo $url;
$http = &new HTTP_Request($url, array('method' => 'GET',
'timeout' => 5,
'allowRedirects' => true));
in this code, i have added echo $url, which gives me correct output.
But, it looks like HTTP_Request function is not understanding the contents of
that variable. If I replace $url with what I get out of "echo $url" and write
it in single quotes, I don't get any error and freebusy graph is getting
plotted properly.
Is this problem related to any specific version of PHP?
I am using PHP 4.3.9.