+91-943-185-6038 me@shashidharkumar.com

My Blog

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...

read more

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...

read more

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...

read more

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...

read more

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...

read more

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...

read more

Join My Newsletter

Contact Me

Location: Greater Noida
Email: me@shashidharkumar.com
Phone: +91-943-185-6038