• Our Work Show Case

    Uncluttered, Simple, appealing. Keep it simple.

    Yes you need to find ways to keep it simple. Simple is not that simple. or is it?

    Read more Live in Action

  • Our Work Show Case

    Sticking to the Basics is the rule of the game.

    A live example of how images delivers the message better than words.

    Read more Live in Action

Choose your Plan

Features

Price
  • Mail ID
  • storage
  • Domain
  • Design
  • CMS
  • Responsive Design
  • SEO
Sign up now

CMS

Rs.15000/-
  • 20 Mail IDs
  • 1GB storage
  • One Free Domain
  • 10 Pages Design
  • Yes
  • No
  • No
Sign up now

CMS Premium

Rs.25000/-
  • 30 Mail IDs
  • 1GB storage
  • One Free Domain
  • 10 Pages Design
  • Yes
  • Yes
  • Yes
Sign up now

E-Commerce

Rs.50000/-
  • 50 Mail IDs
  • 5GB storage
  • One Free Domain
  • Product Catalogue
  • Yes
  • Yes/No
  • Yes
Sign up now

Welcome to MYWEB SOLUTIONS

barcode-test

Written by Super User. Posted in Uncategorised

{source}
<!-- You can place html anywhere within the source tags -->


<script language="javascript" type="text/javascript">
    // You can place JavaScript like this
    
</script>
<?php
//header('Content-Type: image/png');
   require_once 'Image/Barcode2.php';
   /* Data that will be encoded in the bar code */
   
$img= "Pendrive 16GB";
$im = $img;
$type='code128';
$newFileName = $img.".png";
 
 
  // $showText = false;
 
   /* The third parameter can accept any from the following,
    * jpg, png and gif.
    */

$bc= new Image_Barcode2();
 // $img = $barcode->draw($bar_code_data, 'code128', 'png',true,40,1,$showText);
imagepng($bc->draw($im, 'code128', 'png', false), $newFileName);
//$bc->draw($im, 'code128', 'png', true);

//return $img;
//imagepng($im,'barcode.png');
imagedestroy($im);

// We're done
echo '<img src=$newFileName />';
?>
{/source}