PHP Classes

qrcode problem

Recommend this page to a friend!

      QR code generator  >  All threads  >  qrcode problem  >  (Un) Subscribe thread alerts  
Subject:qrcode problem
Summary:error message when running
Messages:2
Author:Jim
Date:2011-08-02 04:14:09
Update:2011-08-02 08:15:39
 

  1. qrcode problem   Reply   Report abuse  
Picture of Jim Jim - 2011-08-02 04:14:09
Installed all 3 files in the same directory, qrcode.php qrcode.png, and example.php

Ran example.php and receive the following error message:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/m/public_html/c/qrcode.php on line 18

  2. Re: qrcode problem   Reply   Report abuse  
Picture of Arturs Sosins Arturs Sosins - 2011-08-02 08:15:41 - In reply to message 1 from Jim
Hi,
it seems, that you are running php4. QR code class requires php5+ version.