[Tickets #3484] NEW: HTTP_Request related

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Feb 15 02:30:16 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3484
-----------------------------------------------------------------------
 Ticket             | 3484
 Created By         | asa at isac.gov.in
 Summary            | HTTP_Request related
 Queue              | Kronolith
 Version            | 2.1-RC3
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


asa at isac.gov.in (2006-02-15 02:30) wrote:

i get error retrieving information for an e-mail id.

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.





More information about the bugs mailing list