Contoh Gambar animasi bergerak ada dibawah ini ,, selamat mencoba ya,.. Gbu.. :)
1.
<center><a href=”http://www.zwani.com/graphics/animated/”><img src=”http://images.zwani.com/graphics/animated/images/2animated234.gif” alt=”zwani.com myspace graphic comments” border=0></a><br><a href=”http://www.zwani.com/graphics/animated/” target=”_blank”>Animated Graphic Comments</a></center>
2.
<center><a href=”http://www.zwani.com/graphics/animated/”><img src=”http://images.zwani.com/graphics/animated/images/animated16.gif” alt=”zwani.com myspace graphic comments” border=0></a><br><a href=”http://www.zwani.com/graphics/animated/” target=”_blank”>Myspace Animated Comments & Graphics</a></center>
3.
<center><a href=”http://www.zwani.com/graphics/animated/”><img src=”http://images.zwani.com/graphics/animated/images/animated80.gif” alt=”zwani.com myspace graphic comments” border=0></a><br><a href=”http://www.twitterbackgrounds.org/” target=”_blank”>Twitter Backgrounds</a></center>
First I give thanks to my Lord Jesus for giving me the opportunity to make this blog. Within this blog I will discuss in especially those about the PHP programming language. I hope my blog can be helpful for beginners who want to be PHP.You can also know who the maker PHP, and knowing the database supported by PHP.Thank you:D GBU
Selasa, 11 Oktober 2011
Jumat, 22 Juli 2011
login dan logout
Di sini kita akan mencoba membuat script PHP untuk membuat login dan logout. Pertama buka aplikasi dreamweaver (Macromedia,MX). Kemudian create new dokumen PHP. Buat 3 file, beri nama misal file yang pertama coba_login.php, file kedua file.php, dan file terakhir logout.php.
Code :
<head><title>coba login</title></head>
<body>
<form name="form1" method="post" acrtion="file.php?coba_login.php">
<table width="200" border="0">
<tr>
<td colspan="3"><div align="center"><font size="+5">Login</font></div></td>
</tr>
<tr>
<td><br/>username</td>
<td><br/><input type="text" name="user"></td>
</tr>
<tr>
<td><br/>password</td>
<td><br/><input type="password" name="pass"></td>
</tr>
<tr>
<td><br/><input type="submit" name="Submit" value="login"></td>
</tr>
</table>
</form>
<br /><font color="#FF0000">masukkan username dan password Anda dengan benar!!</font>
</body>
</html>
session_start();
?>
<?php
?>
Code :
- coba_login.php
<head><title>coba login</title></head>
<body>
<form name="form1" method="post" acrtion="file.php?coba_login.php">
<table width="200" border="0">
<tr>
<td colspan="3"><div align="center"><font size="+5">Login</font></div></td>
</tr>
<tr>
<td><br/>username</td>
<td><br/><input type="text" name="user"></td>
</tr>
<tr>
<td><br/>password</td>
<td><br/><input type="password" name="pass"></td>
</tr>
<tr>
<td><br/><input type="submit" name="Submit" value="login"></td>
</tr>
</table>
</form>
<br /><font color="#FF0000">masukkan username dan password Anda dengan benar!!</font>
</body>
</html>
- file.php
session_start();
?>
<?php
?>
Kamis, 21 Juli 2011
contoh script
- Contoh simpel, menampilkan teks "Hello World" berjalan dengan tulisan warna biru.
<head><title>php</title></head>
<body>
<h1><marquee><b><font color="blue">Hello World</font></b></marquee></h1>
</body>
</html>Maka akan tampil di browser seperti ini : Hello World (bergerak)
- Contoh menghitung luas persegi panjang:
<head><title>luas persegi panjang</title></head>
<body>
<h3><b><center>Menghitung Luas Persegi Panjang</center></b></h3>
<form action="<?php $_SERVER['PHP_SELF'];?>" method="post">
<table border="1" cellpadding="2" cellspacing="2">
<tr>
<td width="150">Panjang</td>
<td width="10" align="center">:</td>
<td><input type="text" name="panjang"></td>
</tr>
<tr>
<td width="150">Lebar</td>
<td width="10" align="center">:</td>
<td><input type="text" name="lebar"></td>
</tr>
<tr>
<td colspan="3"><input type="submit" value="Hitung"></td>
</tr>
</table>
<?php
$aa=$_POST['panjang'];
$bb=$_POST['lebar'];
$luas=$aa*$bb;
echo $luas;
?>
</body>
?>
</body>
</html>
Rabu, 20 Juli 2011
PHP
PHP merupakan salah satu bahasa pemograman yang membatu para programer web membuat aplikasi yang dinamis dan cepat. PHP singkatan dari PHP Hypertext Preprocessor. PHP pertama dikeluarkan sekitar tahun 1994-1995 oleh Rasmus Lerdrof, yang dibuat untuk membantunya mengetahui siapa saja yang mengakses ringkasan onlinenya.
Gmbr 1.1 Rasmus Lerdorf
Berikut adalah profile beliau :
Adapun database yang didukung untuk PHP, diantaranya adalah Oracle, Sybase, Adabas-D, FilePro, mSQL, Velocis, MySQL, Informix, Solid, dBase, ODBC, Unix dbm, dan PostgreSQL.
Gmbr 1.2 Logo database MySQL
Gmbr 1.3 Logo Database Oracle
Gmbr 1.3 Logo Database PostgreSQL
Gmbr 1.4 Logo Database Velocis
Gmbr 1.5 Logo Database Sybase
Langganan:
Postingan (Atom)
