Posts

generate QR code with Google API

<?php          $size           = $_REQUEST [ 'size' ];      $content        = $_REQUEST [ 'content' ];      $correction     = strtoupper ( $_REQUEST [ 'correction' ]);      $encoding       = $_REQUEST [ 'encoding' ];                $rootUrl = " https://chart.googleapis.com/chart?cht=qr&chs= $size&chl=$content&choe=$encoding&chld=$correction" ;               echo '<img src="' . $rootUrl . '">' ; ?>

How Web Pages Work

Image
 In order to talk about Web pages and how they work, you will want to understand four simple terms (and if some of this sounds like technical mumbo-jumbo the first time you read it, don't worry): Web page - A Web page is a simple text file that contains not only text, but also a set of HTML tags that describe how the text should be formatted when a browser displays it on the screen. The tags are simple instructions that tell the Web browser how the page should look when it is displayed. The tags tell the browser to do things like change the font size or color, or arrange things in columns. The Web browser interprets these tags to decide how to format the text onto the screen. HTML - HTML stands for Hyper Text Markup Language . A "markup language" is a computer language that describes how a page should be formatted. If all you want to do is display a long string of black and white text with no formatting, then you don't need HTML. But if you want

Encryption and Decryption in PHP

Please visit MyGlobalTalks.blogtspot.in for more details

Data Encryption Techniques.

Introduction Often there has been a need to protect information from 'prying eyes'. In the electronic age, information that could otherwise benefit or educate a group or individual can also be used against such groups or individuals. Industrial espionage among highly competitive businesses often requires that extensive security measures be put into place. And, those who wish to exercise their personal freedom, outside of the oppressive nature of governments, may also wish to encrypt certain information to avoid suffering the penalties of going against the wishes of those who attempt to control. Still, the methods of data encryption and decryption are relatively straightforward, and easily mastered. I have been doing data encryption since my college days, when I used an encryption algorithm to store game programs and system information files on the university mini-computer, safe from 'prying eyes'. These were files that raised eyebrows amongst those who d

What is SSL and what are Certificates?

The Secure Socket Layer protocol was created by Netscape to ensure secure transactions between web servers and browsers. The protocol uses a third party, a Certificate Authority (CA), to identify one end or both end of the transactions. This is in short how it works. A browser requests a secure page (usually https://). The web server sends its public key with its certificate. The browser checks that the certificate was issued by a trusted party (usually a trusted root CA), that the certificate is still valid and that the certificate is related to the site contacted. The browser then uses the public key, to encrypt a random symmetric encryption key and sends it to the server with the encrypted URL required as well as other encrypted http data. The web server decrypts the symmetric encryption key using its private key and uses the symmetric key to decrypt the URL and http data. The web server sends back the requested html document and http data encry

DND service status

How to check which mobile have DND service activated or not. Open given URL, change "PHONE NUMBER" instead of 1234567890 and press enter... http://cbsserver.zni.in/dnd/?phone=1234567890&apikey=0f54c00ca7b20cbdc7c64bca71374329 if you get output 0 it mean No DND service on that mobile number . if you get output 1 it mean DND service activated on that mobile number.

How to remove Extra Space between line in Dreamwever

1)Open Your code in Dreamwever 2)Press CTRL + F or open find box from menu bar. 3)in Search box Type [\r\n]{2,} and in replace box type \n 4)Mark regular expresion box at bottum of search box. 5)Click on Replace all. 6)Your extra space will removed....Enjoy.. :)