PHP->IMAGE UPLOAD : (UPLOAD IMAGES using Move upload function)

PHP->IMAGE UPLOAD : (UPLOAD IMAGES using Move upload function) 

 



$c1 = rand(0,9);$c2 = rand(0,9);$c3 = rand(0,9);$c4 = rand(0,9);

$rand = $c1.$c2.$c3.$c4;

$date = mktime();

if($image_file1!='') {

move_uploaded_file($_FILES['fileupload1']['tmp_name'],'thumb/'.$rand.$_FILES['fileupload1']['name']);

}

if($image_file1!='') { $path1 = 'thumb/'.$rand.$_FILES['fileupload1']['name']; } php?>


PHP->JAVASCRIPT VALIDATION : (for listbox checked)

var Item=form.template.selectedIndex;
var Result=form.template.options[Item].value;
if(Result=="")
{
alert("select anyone of the template");form.template.focus();return false;
}

[Google Ads Section]

POPULAR POSTS ::

Free Forum Listings

Discussion about "How to optimize a home page ?"

Free Video Publishing sites:

Which way should i follow to to improve search engine ranking?

Article Submission Sites

How to redirect the robot engine from your page?