|
salam..
sape2 kat sini.. saya nak mintak tolong sket. saya tgh mencari php code utk barcode. so far download kat internet mesti dapat
Fatal error: Call to undefined function imagefontheight()
masa run. so, kalo ade sape2 yg tau psl menda alah ni tolong ler advice eh? atau pon ade sape2 yg mmg ade code utk generate barcode ni sgt la di alu-alukan utk berkongsi code itu.
terima kasih |
|
|
|
|
|
|
|
imagefontheight() ?
hmm... kena check your PHP setup sama ada GD loaded atau tidak.
GD is PHP's library for image functions. |
|
|
|
|
|
|
|
alternatively, you can use this method, tapi ni cheating la
1. download any barcode fonts
2. suruh your client download font to ke PC diorang dan install dalam fonts folder
3. define the barcode font in your stylesheet
4. masa nak display text/barcode dalam your php page, guna la font barcode tu...
eg dalam stylesheet file
#barcode {
font-family: BarcodeFont;
}
and in your HTML or PHP file....
<div id="barcode">*0123456789*</div>
ni contoh aje la... |
|
|
|
|
|
|
|
Originally posted by shahnazz at 5-9-2007 12:12 PM
imagefontheight() ?
hmm... kena check your PHP setup sama ada GD loaded atau tidak.
GD is PHP's library for image functions.
saya dah check kat phpinfo() extension gd tu masih takde lagi. even dah buang tanda comment kat gd2.dll dlm php.ini. camane nak enablekan extension gd tu? |
|
|
|
|
|
|
|
aku ada coding tu barcode.. sapa nak PM |
|
|
|
|
|
|
| |
|