by Shashi Dhar Kumar | Nov 10, 2009 | PHP, Programming
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...
by Shashi Dhar Kumar | Sep 4, 2009 | PHP, Project
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
by Shashi Dhar Kumar | Sep 4, 2009 | PHP, Project
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...
by Shashi Dhar Kumar | May 8, 2009 | PHP, Programming
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...
by Shashi Dhar Kumar | May 8, 2009 | PHP, Programming
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...
by Shashi Dhar Kumar | May 8, 2009 | PHP, Programming
The WHILE Loop The WHILE loop is one of the most useful commands in PHP. It is also quite easy to set up and use. A WHILE loop will, as the name suggests, execute a piece of code until a certain condition is met. Repeating A Set Number Of Times If you have a piece of...