Login   Register  
PHP Classes
elePHPant
Icontem

can you help me for your php-barcode ?

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Barcode PHP  >  All threads  >  can you help me for your php-barcode ?  >  (Un) Subscribe thread alerts  
Subject:can you help me for your php-barcode ?
Summary:error unexpected T_FUNCTION
Messages:5
Author:Alessandro
Date:2013-05-10 17:05:43
Update:2014-07-07 14:57:06
 

  1. can you help me for your php-barcode ?   Reply   Report abuse  
Picture of Alessandro
Alessandro
2013-05-10 17:05:43
I would like to use your php-barcode, but in the server at the fallow link i see this error:

Parse error: syntax error, unexpected T_FUNCTION in /hsphere/local/home/alessand/multisede.it/admin/barcode2/php/php-barcode.php on line 166

at the line 166, there is this code:

$fn = function($points) use ($gd, $color) {
imagefilledpolygon($gd, $points, 4, $color);
};
return self::digitToRenderer($fn, $xi, $yi, $angle, $mw, $mh, $digit);

when I use this code in my local computer in windows all work fine.
the server is in linux from ixwebhosting.com

can you help me please ?

Alessandro Cusumano
PROGEST INFORMATICA
ITALY

  2. Re: can you help me for your php-barcode ?   Reply   Report abuse  
Picture of mariahsharp
mariahsharp
2013-09-04 04:06:45 - In reply to message 1 from Alessandro
well,i 've used another php barcode generator script,which you may have a look to find the clue
http://www.keepautomation.com/products/php_generator_script/

  3. Re: can you help me for your php-barcode ?   Reply   Report abuse  
Picture of makaveiljojo
makaveiljojo
2014-01-14 07:13:18 - In reply to message 1 from Alessandro
Here is a detailed PHP Barcode Generator Script Tutorial which might be helpful in ur case. Good luck!
http://www.keepautomation.com/guide/php_barcode_generator_sc ...

  4. Re: can you help me for your php-barcode ?   Reply   Report abuse  
Picture of sin
sin
2014-07-07 14:57:06 - In reply to message 1 from Alessandro
You need update your php version in 5.3

  5. Re: can you help me for your php-barcode ?   Reply   Report abuse  
Picture of jorge osvaldo
jorge osvaldo
2014-09-01 02:24:30 - In reply to message 1 from Alessandro
ícomo inserto este codigo en una pagina html, gracias....