This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Monday, 14 May 2012

How to write a php script for file downloading

In this tutorials you will learn how to write a php script for file downloading.If you want to see how to upload a file into a server click here. <?php  // Give the path here where your file is located and make a hyper link like <a href='www.yoursite.com?fname=youpic.jpg'>Download image</a>//$_GET['fname']; will...

Wednesday, 9 May 2012

Upload image into folder and save its name into database

This tutorial tell you how to Upload image into folder and save its name into database. You should follow these two steps: Creat a database named 'olympic' and a table named 'acc_images'. CREATE TABLE IF NOT EXISTS `acc_images` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `acc_id` int(11) unsigned NOT NULL, `image` varchar(255) NOT NULL, `status`...

Tuesday, 8 May 2012

Create a comma separated csv from sql query

<?php $select = "SELECT * FROM Your_table"; $export = mysql_query ( $select ) or die ( "Sql error : " . mysql_error( ) ); $fields = mysql_num_fields ( $export ); for ( $i = 0; $i < $fields; $i++ ) {     $header .= '"'.mysql_field_name( $export , $i ).'"';  if($i != $fields-1)  $header .= ","; } while( $row = mysql_fetch_row(...

Sunday, 6 May 2012

Make a Sign in form and store data in session

This tutorial tell you how to match username and password entered by user with stored records in database. Then store username in session variable. You can see sing up form here You should follow these two points: Creat a database named 'olympic' and a table named 'user'. CREATE TABLE IF NOT EXISTS `user` ( `username` varchar(255) NOT NULL, `email`...

How to save form data in database and send activation key

In this tutorial you will learn how to save signup form data in database and send activation key to user's email. I am not including validation code here if you want to validate your form submission code click here to see. For looking the sign in form click here You should follow these two points: Creat a database named 'olympic' and a table named...