cuongpd / gapi-google-analytics-php-interface

Automatically exported from code.google.com/p/gapi-google-analytics-php-interface
0 stars 0 forks source link

Running in a PHP 4 Enviroment #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hey,

Is there a possibility that this code could run in php 4 ? 

I need to run it on a webserver that is running PGP Version 4.3.9 
I just want to ask if it possible because if its not then i will need to
step over to google java code.

I tried it already just get a blank page back without errors even. 

And curl support is enabled : 

CURL support    enabled
CURL Information    libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6 

Greets,

Hans

Original issue reported on code.google.com by hansahr...@gmail.com on 16 Jun 2009 at 9:01

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I am getting an error now : 

Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or 
T_FUNCTION
or T_VAR or '}' in C:\xampp\htdocs\gapi-1.3\gapi.class.php on line 29

I installed xamp localy to test it further out with php version 4.4.9

Original comment by hansahr...@gmail.com on 16 Jun 2009 at 9:38

GoogleCodeExporter commented 9 years ago
Hi Hans,

Thank you for your interest in the GAPI interface class.

The GAPI class is designed to be Object Oriented and makes use of PHP5 Object
Oriented programming. The class would require a pretty significant rewrite to 
work in
PHP4.

PHP4 is no longer supported by the PHP project, with no releases since 
2007-12-31.
Security updates for PHP4 stopped on 2008-08-08, so I strongly suggest moving 
web
hosting to PHP5 or use the Java code. See 
http://php.net/archive/2007.php#2007-07-13-1

There is no plan to make GAPI backwards compatible with PHP4 at this stage.

Cheers,
Stig

Original comment by stigmann...@gmail.com on 16 Jun 2009 at 10:06