PHP Classes

about [BaseApp_class.php'

Recommend this page to a friend!

      HTML Bar Codes  >  All threads  >  about [BaseApp_class.php'  >  (Un) Subscribe thread alerts  
Subject:about [BaseApp_class.php'
Summary:My Question
Messages:4
Author:brandes
Date:2007-01-05 14:08:25
Update:2007-01-05 16:36:20
 

  1. about [BaseApp_class.php'   Reply   Report abuse  
Picture of brandes brandes - 2007-01-05 14:08:25
May I know where to get "BaseApp_class.php"?

Thanks

  2. Re: about [BaseApp_class.php'   Reply   Report abuse  
Picture of Mark W Ryan Mark W Ryan - 2007-01-05 15:59:53 - In reply to message 1 from brandes
BaseApp_class was a cut and paste accedent it sould of been baseBarcode_class

but it is not needed since it is included in the extened classes. Therefore you can remove it from your test script.

  3. Re: about [BaseApp_class.php'   Reply   Report abuse  
Picture of Mark W Ryan Mark W Ryan - 2007-01-05 16:17:10 - In reply to message 1 from brandes
The demo script should read:




include_once("I25Barcode_class.php");
include_once("C39Barcode_class.php");
// many thanks to www.barcodeisland.com for their barcode specs

//------------------------------------------------
$bc1 = new I25Barcode('bcx','1234567');
echo $bc1->getBarcode(); // squirts out style & htlm in one string
echo '<br>';

//-----------------------------------------------
$bc2 = new c39Barcode('bcx','TEST8052');
//$bc2->setFactor(2.5); // default is 1, optional enlarge or decrease barcode size
echo $bc2->getBarcode(); // squirts out style & htlm in one string

//
echo '<br>Just print and scan.';
// have fun

  4. Re: about [BaseApp_class.php'   Reply   Report abuse  
Picture of brandes brandes - 2007-01-05 16:36:20 - In reply to message 3 from Mark W Ryan
HI! Dear Mark:
Appreciate for your kindly giving me direction.
Maybe there something I miss!

After following your message.
I still got the wrong message below:
-----------------------------------------------------------------------
Fatal error: Call to a member function addHTML() on a non-object in /var/www/html/tctax/Temp/htmlbarcodes/BaseBarcode_class.php on line 40
-----------------------------------------------------------------------

My web server environment is:PHP Version 5.1.6 / Apache 2.0
Should I add some other extension module for php?

I'm sorry to bother you.

Brandes