My Blog
HTML & JavaScript Loader
In this program just change the source of iframe and your loading.gif will show upto that time when page will not upload finally. For Demo Click Here Download Script Click Here
50+ PHP tips and tricks
echo is faster than print. Wrap your string in single quotes (’) instead of double quotes (”) is faster because PHP searches for variables inside “…” and not in ‘…’, use this when you’re not using variables you need evaluating in your string. Use sprintf instead of...
Companies Using PHP
Often the question is asked by those who wish to convince a CEO or or some company heavy weight when the question is asked "What large sites are using PHP". Well here is a list of large comapnies and sites known to using PHP. Like many enterprises, PHP is not always...
Difference between isset empty is null
I have come across code that checks for empty or null values, or if a variable is set. Many of these checks fail as the wrong function is being used to assert the correct value. While it is important to be checking values, it is equally important to understand the...
PHP Type Casting
Contents Types Casting Cast to string Cast to int Cast to binary (PHP6) Cast to unicode (PHP6) Cast to boolean Cast to object Cast to float Check for Type Check String Check INT Check Array Check Object Check Float Check Double Check Real Check Bool Check Buffer Check...
Simple email script in php
This chapter explains how to send email in php. We will upload advanced mailing script in php soon. Download the script : Simple email script in PHP
Convert xml to html
This chapter explains how to display XML data as HTML. In the example below, we loop through an XML file (test.xml), and display each element as an HTML table row: <script type="text/javascript"> var xmlDoc; if (window.XMLHttpRequest) { xmlDoc=new...
JavaScript – Agree Before Entry -Source Code
Save this code as external JavaScript file named: agree.js var agree=0; // 0 = 'no', 1 = 'yes' function agree2() { if (!document.getElementById) return false; agree=1; document.getElementById('box').style.background='#fff000'; if (agree) {...
PHP Tutorial – Part VI
Introduction In this part I will continue this and also show you how to use PHP and forms together to make your PHP scripts useful. Setting Up Your Form Setting up a form for use with a PHP script is exactly the same as normal in HTML. As this is a PHP tutorial I will...
PHP Tutorial – Part V
Introduction One of the major uses of a server side scripting language is to provide a way of sending e-mail from the server and, in particular, to take form input and output it to an e-mail address. The Mail Command Mail is extremely easy to send from PHP, unlike...
Join My Newsletter
Like Us
Follow Us
Contact Me
Email: me@shashidharkumar.com
Phone: +91-943-185-6038