Category Archives: Tutorial

Php web development tutorials

Websockets with php – tutorial on basics

By | February 12, 2013

Websockets Websockets is a new feature available in browsers as a part of the Html5 specs that allows javascript clients to open bi directional socket connections to a server. Currently all major desktop browsers support the api. Websocket is not an independant socket protocol, but is based on the TCP protocol just like HTTP. Therefore… Read More »

Php curl tutorial – making http requests in php

By | November 6, 2012

Curl According to the official website. curl is a command line tool for transferring data with URL syntax, supporting DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, Telnet and TFTP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload,… Read More »

Generate code39/isbn barcodes in php with mpdf

By | May 27, 2013

Barcodes Barcodes are used in various business class applications to print information in encoded format such that it can be read later by barcode reading devices. Common places to see barcodes are product covers in shops, membership cards and documents like invoices etc. As php is now increasingly being used to develop such applications, barcodes… Read More »

3 ways to serialize variables in php

By | July 14, 2012

The idea behind serializing a variable is to create a storable string format of it, such that the same variable can be recreated later when required using the string. 1. serialize and unserialize These are the traditional functions to serialize and unserialize data in PHP. $a = array(‘a’ => ‘Apple’ ,’b’ => ‘banana’ , ‘c’… Read More »