|
|
|
แนะนำทีครับผมมีปัญหาเกี่ยว barcode ใช้ร่วมกับโค้ออื่นไม่ได้เลยคับ |
|
|
|
|
|
|
|
ตอนนี้มันแสดงเป็นยังไงครับ ?
|
|
|
|
|
Date :
2012-11-02 16:11:26 |
By :
mr.win |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code (PHP)
<?php
include("php-barcode.php");
function getvar($name){
global $_GET, $_POST;
if (isset($_GET[$name])) return $_GET[$name];
else if (isset($_POST[$name])) return $_POST[$name];
else return false;
}
if (get_magic_quotes_gpc()){
$code=stripslashes(getvar('code'));
} else {
$code=getvar('code');
}
if (!$code)
{}
$code="1234567890123";
barcode_print($code,getvar('encoding'),getvar('scale'),getvar('mode'));
echo "Hello word";
?>
-------------------------------------------------------------------------------------------------------------------------------------------------------
Code (PHP)
<?php
include("php-barcode.php");
echo "Hello word";
function getvar($name){
global $_GET, $_POST;
if (isset($_GET[$name])) return $_GET[$name];
else if (isset($_POST[$name])) return $_POST[$name];
else return false;
}
if (get_magic_quotes_gpc()){
$code=stripslashes(getvar('code'));
} else {
$code=getvar('code');
}
if (!$code)
{}
$code="1234567890123";
barcode_print($code,getvar('encoding'),getvar('scale'),getvar('mode'));
?>
-------------------------------------------------------------------------------------------------------------------------------------------------------
Code (PHP)
<?php
include("php-barcode.php");
function getvar($name){
global $_GET, $_POST;
if (isset($_GET[$name])) return $_GET[$name];
else if (isset($_POST[$name])) return $_POST[$name];
else return false;
}
if (get_magic_quotes_gpc()){
$code=stripslashes(getvar('code'));
} else {
$code=getvar('code');
}
if (!$code)
{}
$code="1234567890123";
barcode_print($code,getvar('encoding'),getvar('scale'),getvar('mode'));
echo "Hello word";
?>
|
|
|
|
|
Date :
2012-11-02 16:22:49 |
By :
Mr 007 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<? ob_start(); ?> ไว้บนสุด
|
|
|
|
|
Date :
2012-11-02 16:31:20 |
By :
Krungsri |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ก็ยังไม่ได้อะคับ
|
|
|
|
|
Date :
2012-11-02 16:51:52 |
By :
Mr 007 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 03
|