Thursday, February 14, 2013

PHP Developer in a Digital Media Agency.



Openings for the position of a PHP Developer in a Digital Media Agency.

Responsibilities and Duties:
Develop the programming code from scratch or by adapting existing website graphics packages and software to meet business requirements
Uploading the web site onto a server and registering it with different search engines.
Testing the website and identifying any technical problems and hitches
Establishing the purpose of the website based on its target audience
Determining any functionality that the site must support and developing PHP content based on practical approved layout
Identifying the content type the site will host and ensuring compatibility with the PHP programming requirements
Giving guidance on colors, layout and styles for the client website is very important

Skills:
Proficient in PHP, JavaScript, HTML and MySQL.
Hands-on any PHP based framework/CMS like CakePHP or Joomla.
Good to have Object Oriented Programming Skills ( PHP5 ).
Must write efficient code with documentation.
Can read code written by others.
Has experience debugging code.
Must be a team player, posses a good attitude and be self-disciplined

Experience: 1 - 5 Years
Job Location: Lower Parel (West)
Salary: As per market standards

Interested candidates can mail their resumes to wenona@adetptglobal.com or can contact on 9619846461.

Saturday, February 2, 2013

QR Code scan geolocation

QR Code scan geolocation

http://blog.qr4.nl/page/QR-Code-scan-geolocation-detection.aspx


When and where was that QR code scanned?

Valuable information for marketing companies!

Most modern mobile telephones or smart-phones have location awareness systems built into the device, like GPS (Global Positioning System). These bits of technology enable the device to know exactly where it is located on this small planet called earth at anytime and anywhere provided it has battery power to function (and a satellite or two or three it can receive information from).

If I scan a QR code do they know who I am, when and where I scaned which QR code?

Yes and no. Some factors under your control can determien the amount of information that is known by whom and when.

Lets examine a simple scenario of a mobile phone with a QR code scanner application.

 A quick look at who knrows what about your activities (very baic) on your mobile phone/tablet when you use it to scan a QR code.

  • Mobile provider (signal [voice/data] provider) knows exactly where you are as well as any and all activities undertaken on the mobile device at any time.
  • QR code scanner application you choose to use: Many (like E.T.) call home..informing the programmers of the QR reader application you are using to itell them of the activities you would like to undertake and the activities the QR code would like to undertake.
  • The QR code target: The action the QR code would like to undertake. This can brembedded information, meaning it does not rely on any service to deliver it's 'meassge' to you personally. In this case potentially, besides the QR code app devleopers, only you know what the contents of the QR code are, a message, a telephone number, vCard or what ever. If it needs an Internet or other service connection, for example to go to a web site, then the website could know your IP number, the version and type of phone used, the browser type and version, the time the request was made.
  • GPS as geolocator, to pinpoint the location of a mobile phone, has been available for some time on most modern mobile telephones are equiped with it. Despite 'G' currently in a legal battles with triangular location hardware and software development companies, geolocation has managed to achieve W3C validation and standardization and is part of the HTML5 specification at present.

Putting it to the test

If you have an iPhone, scan the QR code below and see how it deals with determining exactly where you are. If you're on this page with an iPad, clcik on the QR code.

iPhone Geolocator QR CodeAs expected it does need and ask for permission to supply your co-ordinates before undertaking to find out where you are. It found me really fast on my iPhone.

QR4 iPhone Geolocator

Using geolocation in combination with QR scanning can help determine which codes get scanned where, but because it relies on the person scanning it to allow location information to be transfered it is not a watertight solution for analysis nor statistics.

If 100% geolocation for QR code scanning is required then other resources and methods are needed.

Sunday, December 30, 2012

FPDF Library PDF Generator

FPDF Library PDF Generator

What is FPDF?

FPDF is a PHP class which allows to generate PDF files with pure PHP, that is to say without using the PDFlib library. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.

FPDF has other advantages: high level functions. Here is a list of its main features:

  • Choice of measure unit, page format and margins
  • Page header and footer management
  • Automatic page break
  • Automatic line break and text justification
  • Image support (JPEG, PNG and GIF)
  • Colors
  • Links
  • TrueType, Type1 and encoding support
  • Page compression

FPDF requires no extension (except zlib to activate compression and GD for GIF support). It works with PHP 4 and PHP 5 (the latest version requires at least PHP 4.3.10).

The tutorials will give you a quick start. The complete online documentation is here and download area is there. It is strongly advised to read the FAQ which lists the most common questions and issues.

script section is available and provides some useful extensions (such as bookmarks, rotations, tables, barcodes...).

php script to generate qr code

php script to generate qr code


Overview

PHP QR Code is open source (LGPL) library for generating QR Code, 2-dimensional barcode. Based on libqrencode C library, provides API for creating QR Code barcode images (PNG, JPEG thanks to GD2). Implemented purely in PHP, with no external dependencies (except GD2 if needed).

Some of library features includes:

  • Supports QR Code versions (size) 1-40
  • Numeric, Alphanumeric, 8-bit and Kanji encoding. (Kanji encoding was not fully tested, if you are japan-encoding enabled you can contribute by verifing it :) )
  • Implemented purely in PHP, no external dependencies except GD2
  • Exports to PNG, JPEG images, also exports as bit-table
  • TCPDF 2-D barcode API integration
  • Easy to configure
  • Data cache for calculation speed-up
  • Provided merge tool helps deploy library as a one big dependency-less file, simple to "include and do not wory"
  • Debug data dump, error logging, time benchmarking
  • 100% Open Source, LGPL Licensed

Usage

To install simply include:

  • qrlib.php for full version (also you have to provide all library files form package plus cache dir)
  • OR phpqrcode.php for merged version (only one file, but slower and less accurate code because disabled cache and quicker masking configured)

Then use it as follows: 

QRcode::png('code data text', 'filename.png'); // creates file 
QRcode::png('some othertext 1234'); // creates code image and outputs it directly into browser

Above examples show the most basic usage. For more features and customization see PHP QR Code wiki or read INSTALL file in distrribution package.

Monday, December 10, 2012

How To Mail Merge Graphics and Photos in Microsoft Word

How To Mail Merge Graphics and Photos in Microsoft Word

This step-by-step explanation has been excerpted from an online article on using IncludePicture and is included here by kind permission of its author.
  1. The key to variable images is to have a collection of photo or image files in a folder on your computer or network, and to name the images files the same as the contents of a field in the database. For example, if you have a database which includes a "FirstName" field, you might name personnel photos "John.jpg," "Mary.jpg," and so forth.
  2. If you're using Word 2007 or Word 2010, Save As the document in the Word 97 - 2003 (.doc) format -- NOT the Word 2007 (.docx) format. IncludePicture does not work in .docx documents due to a bug in Word. Don't bother reporting the bug to Microsoft; they've known about it for a long time.
  3. If it's not already selected, select the data source (database) into the master document you'll be working with. Only if you're using Word 2003 or before, also make sure that the Mail Merge toolbar is visible in Word's menubar; if not, enable it with Tools + Customize, and check off the Mail Merge box.
  4. Locate where you want to position your image, and insert an image from the image collection (any of them will do for now) onto the page in the usual manner using Insert + Picture + From File. However, do not press the Insert button as usual after selecting the file. Instead, press the little triangle on the right edge of that button to get a three-line menu, and click "Link to File." Do not format or resize the picture.
  5. You're now ready to make the image into a variable image. Press the Alt + F9key combination. The picture you just inserted will become something like this on a gray background:
      { INCLUDEPICTURE "c:\\staff\\pictures\\John.jpg" \* MERGEFORMAT \d } 
    Note that copying and pasting the above text from this article into Word will not work; you must carry out this procedure as written. Notice that the backslash ("\") characters in the filename are doubled-up. This doesn't refer to the \* and \d at the end -- just the \\'s in the filename. Word requires all backslashes in filenames to be doubled. If you ever need to edit the folder names, you must double up any backslashes that you add.
  6. Select and delete the filename portion ("John: in this example), but leave the folder name(s) with doubled-up backslashes, and leave the file's "extension" (.jpg in this case, might be .gif, .bmp, .tif or other). Be sure that you do not delete the blanks after the { and before the }. In this example we'll only remove "John" and the line will now look something like:
      { INCLUDEPICTURE "c:\\staff\\pictures\\.jpg" \* MERGEFORMAT \d }
  7. Leaving the cursor where "John" used to be, select the [for Word 2007/10:Mailings, Insert Merge Field] or [for Word 2003 and before: Insert Merge Fields button from the Mail Merge toolbar (typically the fifth button from the left)], and select the database field you need. In this example, you'd get:
      { INCLUDEPICTURE "c:\\staff\\pictures\\{ MERGEFIELD "FirstName" }.jpg" \* MERGEFORMAT \d }
  8. Press Alt + F9 again to go back to Picture View so that you can view your handiwork.
  9. Run the [for Word 2007/10: Mailings, Finish & Merge, Edit Individual Documentsor [for Word 2003 and before: Merge to New Document] (not to a printer, fax or e-mail).
  10. Don't miss this step, it's very important: Select the new document; PressCtrl + A; Press F9.

How To Create QR Codes in Java & Servlet By Viral Patel

How To Create QR Codes in Java & Servlet




Hello World QR Code in Java

Zebra Crossing (ZXing) is an awesome open source library that one can use to generate / parse QR Codes in almost all the platforms (Android, JavaSE, IPhone, RIM, Symbian etc). But if you have to generate simple QR Codes, I found it a bit clumsy to implement.

However QRGen is a good library that creates a layer on top of ZXing and makes QR Code generation in Java a piece of cake. It has a dependency on ZXing, so you would need ZXing jar files along with QRGen to create QR Codes in Java.

On the download page of ZXing, you will not find the JAR files. Instead we have to create JAR files using the source code. I have already generated these JAR files. Here are the links:

zxing-core-1.7.jar (346 KB)
zxing-javase-1.7.jar (21 KB)

Also download the QRGen JAR File from their download page.


package net.viralpatel.qrcode;
 
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
 
import net.glxn.qrgen.QRCode;
import net.glxn.qrgen.image.ImageType;
 
public class Main {
    public static void main(String[] args) {
        ByteArrayOutputStream out = QRCode.from("Hello World")
                                        .to(ImageType.PNG).stream();
 
        try {
            FileOutputStream fout = new FileOutputStream(new File(
                    "C:\\QR_Code.JPG"));
 
            fout.write(out.toByteArray());
 
            fout.flush();
            fout.close();
 
        } catch (FileNotFoundException e) {
            // Do Logging
        } catch (IOException e) {
            // Do Logging
        }
    }
}

Friday, December 7, 2012

How do I create a fillable pdf form?

http://answers.yahoo.com/question/index?qid=20080228102209AAtV4Sk

How do I create a fillable pdf form?

Acrobat or Adobe Acrobat is intended for reading or viewing purpose, not for editing your pdf file.
www.adobe.com/products/acrobatpro/

T do so, you need Acrobat Professional with Adobe Designer installed but it will cost inside your wallet. 

You can use Scribus, a free opensource desktop publishing with support for OPenoffice document, Open document and pdf. Ghostscript need to download and installed so that PDF could run in Scribus. Use this to edit your pdf file.
www.scribus.net/ 

You also need either PDFCreator or PrimoPDF to convert your documents to pdf within Excel or Word or any programs.

http://www.pdfforge.org/products/pdfcrea…
http://www.primopdf.com/

"you can create high-quality PDFs by converting from Word, Excel, and virtually any other printable file type".

Ht2Ø

Source(s):

www.adobe.com/products/acrobatpro/
www.scribus.net/ 
http://www.pdfforge.org/products/pdfcrea…
http://www.primopdf.com/