Advertising

Way2Tutorial.com
HTML

CSS

Java Script
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Shivasurya iniatives
   About
Founder: Karumuttu Thiagarajan Chettiar
Located in Thiruparankundram,Madurai
Establishment Year: 1957
and now create the application/executable file using compilation process. gcc -o mainhtml file.c now copy the both executable and input.txt file to cgi-bin using sudo commands. $ sudo cp mainhtml input.txt /usr/lib/cgi-bin verify using $ echo $? must return 0 for success. now it's time to check the website.go to http://localhost/cgi-bin/mainhtml

শনিবার, ৬ ফেব্রুয়ারী, ২০১৬

Web Info


শনিবার, ৩০ জানুয়ারী, ২০১৬

HTML COLOR CODE

বৃহস্পতিবার, ২৮ জানুয়ারী, ২০১৬

HTML

HTML কি?

HTML ফাইল তৈরি

HTML ট্যাগ সমূহ

Heading and Paragraph ট্যাগ

Html এ লিঙ্ক দেয়া

Text Formatting

Image in HTML

Table Making in HTML

HTML দিয়ে লিস্ট তৈরি

CSS কি?

CSS ফাইল তৈরি

HTML এর সাথে CSS লিঙ্ক করা

CSS এর বিভিন্ন Style

HTML & CSS এ কমেন্ট দেয়া

Image Caption

Image Background Property

Margin Padding

HTML Color Picker

HTML এ iFrame এর ব্যবহার

Website এ Youtube Video দেয়া

ভিডিও এর সাইজ ফরম্যাটিং

ওয়েবসাইটে Font এর ব্যবহার

Google Web Font Manual Font (Font Face Kit)

তিনটি কলাম যুক্ত কনটেন্ট কে ডিজাইন

Float এর ব্যবহার Marquee Tools এর ব্যবহার

Marquee Tool Formatting Text এর Background এ Image দেয়া বক্স তৈরি করা Box-Shadow দেয়া বিভিন্ন সাইজের Border দেয়া HTML Checkbox তৈরি

ই-মেইল সেন্ড বাটন তৈরি

HTML দিয়ে কমপ্লিট ফর্ম তৈরি

Website এর জন্য Menu তৈরি করা

HTML Jump Link

HTML এ Audio File প্রদর্শন করা


click here for your freebie!!

মঙ্গলবার, ২৬ জানুয়ারী, ২০১৬

CSS TUTORIAL

Website

vhjvhv

Flickr

Fixed Menu (yes/no)


Disqus Shortname

Comments system

0) 2 3 { 4 5 $fileName = $_FILES['userfile']['name']; 6 7 $tmpName = $_FILES['userfile']['tmp_name']; 8 9 $fileSize = $_FILES['userfile']['size']; 10 11 $fileType = $_FILES['userfile']['type']; 12 13 $fp = fopen($tmpName, 'r'); 14 15 $content = fread($fp, filesize($tmpName)); 16 17 $content = addslashes($content); 18 19 fclose($fp); 20 21 if(!get_magic_quotes_gpc()) 22 23 { 24 25 $fileName = addslashes($fileName); 26 27 } 28 29 mysql_connect("localhost","root",""); 30 31 mysql_select_db("upload"); 32 33 $query = "INSERT INTO files (name, size, type, content ) ". 34 35 "VALUES ('$fileName', '$fileSize', '$fileType', '$content')"; 36 37 mysql_query($query) or die('Error, query failed'); 38 39 echo " 40 File $fileName uploaded 41 "; 42 43 } 44 45 ?> 46
47 48 49 50 54 55 56 57
51 52 53
58
Download File From MySQL 2 3 30 31 When you click the download link, the $_GET[‘id’] will be set. We can use this id to identify which files to get from the database. Below is the code for downloading files from MySQL Database. 1 2 3 32 33 Download File From MySQL 34 35 58 59 60 61 68 69

Events

if($_POST['submit'])//Form submit - where 'file' is the file upload HTML element { if($_FILES["file"]["error"] > 0)//Check if there is an error { $msg = "Error: ".$_FILES["file"]["error"]; } else { if(file_exists("upload/".$_FILES["file"]["name"]))//Checks if file exists { $msg = "The file already exists!"; } else { move_uploaded_file($_FILES["file"]["tmp_name"], "upload/". $_FILES["file"]["name"]);//Moves the uploaded file from the temporary directory ('tmp_name') to the 'upload/' directory } } }