Wednesday, October 12, 2011

PHP


PHP

WEB
htpp://localhost/(namafile.php)
c:\xampp\htdocs\ (namafile.php)
Namafile.php harus sama untuk memanggil browsernya

SQL
http://localhost/phpmyadmin  (untuk database)
c: \xampp\mysql\data\               (untuk database)

Untuk WEB
Contoh jika kita membuat folder baru bernama belajarguest di dalam direktori c:\xampp\htdocs\   kemudian di dalam folder belajarguest  membuat file yaitu : home_guest.php berarti kita telah membuat file .php tersebut di dalam folder belajarguest, sehingga direktorinya menjadi c:\xampp\htdocs\belajarguest\home_guest.php
Sehingga untuk memanggil di browsernya  ketik htpp://localhost/belajarguest/home_guest.php     
   
Jika         c:\xampp\htdocs\(nama folder yang dibuat harus sama )\(namafile.php harus sama)        
Maka    http://localhost / (nama folder yang dibuat harus sama)/(namafile.php harus sama)

Contoh membuat aplikasi web programming menggunakan php tools Dreamweaver 8

1.       Install XAMPP Control Panel Application, lalu jalankan
2.       Buat nama Folder baru yaitu belajarguest di direktori C:\xampp\htdocs\
Sehingga menjadi  C:\xampp\htdoc\belajarguest
3.       Buka aplikasi DREAMWEAVER 8 klik fileènewègeneralèdynamic page
èphpècreate
4.       Buat File baru .php simpan di dalam folder belajarguest yang telah di buat di
C:\xampp\htdoc\belajarguest simpan dengan nama file phpnya : save_guest.php
Pilih Save as type nya : all files
Sehingga menjadi  C:\xampp\htdoc\belajarguest\save_guest.php
5.       pilih <>code pada dreamweavernya
Copy paste coding di bawah ini pada file save_guest.php
<?php
$name=$_POST["name"];
$email=$_POST["email"];
$messege=$_POST["messege"];

echo "<h2> GUEST</h2><hr>";
echo " Name         = <font color =red> $name </font><br>";
echo " Email        = <font color =red> $email </font><br>";
echo " Message      = <font color =red> $messege </font><br>";
echo " <p> <blink> <a href='home_guest.php'> your input </a></blink>";
?>

Janga lupa save

6.       Buat 1 File baru lagi .php di dalam folder belajar guest
simpan dengan nama file phpnya : home_guest.php
7.       Pilih Design pada dreamweavernya buat design seperti di bawah ini


8.       8. Jangan lupa pilih tabelnya terlebih dahulu lalu klik <form> pilih action klik warna kuning folder pilih save_guest.php yang telah di buat untu rujukan ke file tersebut, klik save jangan lupa


9.       9. Untuk menampilkan di browsernya ketik htpp://localhost/belajarguest/home_guest.php    (harus sama sesuai dengan filephp yand dibuat) tampilan seperti di bawah ini









Tuesday, October 11, 2011

CHAPTER 2 BREAKFAS or LUNCH ?


2. BREAKFAS or LUNCH ?

It was Sunday. I never get up early on Sundays. I sometimes stay in bed until lunchtime. Last Sunday I got up very late. I looked out of the window. It was dark outside. ‘What a day!’ I thought. ‘It’s raining again.’ Just then, the telephone rang. It was my aunt Lucy. ‘I’ve just arrived by train,’ she said. ‘I’m coming to see you.’
‘But I’m still having breakfast,’ I said.
‘What are you doing?’ she asked.
‘I’m having breakfast,’ I repeated.
‘Dear me,’ she said. ‘Do you always get up so late? It’s one o’clock!’
 

Monday, October 10, 2011

Proclamation


                          PROCLAMATION

My name is …………(your name)………………………, I promise, Insya Allah,
start to day,……………(date)………….…..…………….. I want to get success in
my life specially in studying at …(your school or your study place)…….
Everything, concerning with :

        _________________________________________________________

        _________________________________________________________

        _________________________________________________________

        _________________________________________________________

        _________________________________________________________

        _________________________________________________________

        _________________________________________________________

 
Will be solved in very short time :
                                                             …….(your place). , …….(date)...……………
                                                                                     On behalf of myself,
                                                                                                          



(signature & your name)
                                                                              ___________________________
        The Director of Self Success     

PANCAVIP


PANCAVIP

Jenis-jenis kata dalam bahasa Inggris di bagi menjadi 8 (The Eight Parts of Speech) atau dengan istilah PANCAVIP (agar mudah dihafal dan dipahami), yaitu :


NO

P    A    N    C    A    V    I    P

1
P
Pronouns
(kata ganti)     
I, you, we, they, she, . . . . . .
2
A
Adjectives
(kata sifat)      
good, angry, patient, . . . . . .
3
N
Nouns
(kata benda)   
book, pen, cat, car, . . . . . . .
4
C
Conjunctions
(kata sambung)
And, or, but, while . . . . . . .
5
A
Adverbs         
(kata keterangan)
now, seriously, well, . . . . . .
6
V
Verbs
(kata kerja)
study, read, see, . . . . . . . . .
7
I
Interjections
(kata seru)      
Hello! Hi! alas! ouch! , . . . .
8
P
Prepotition
(kata depan)   
in, on, at, before, after, . . . .




Bersambung . . .

Sunday, October 9, 2011

Beautiful Sunday



DANIEL BOONE "Beautiful Sunday"
         
Sunday morning, up with the lark
I think I'll take a walk in the park
Hey, hey, hey, it's a beautiful day
I've got someonme waiting for me
When I see herI know that she'll say
Hey, hey, hey, it's a beautiful day
Hi, hi, hi, beautiful Sunday
This is my, my, my, beautiful day
When you say, say, say, say that you love me
Oh, my, my, my it's a beautiful day
Birds are singing, you by my side
Let's take a car and go for a ride
Hey, hey, hey, it's a beautiful day
We'll drive on and follow the sun
Makin' Sunday go on and on
Hey, hey, hey, it's a beautiful day
Hi, hi, hi, beautiful Sunday
This is my, my, my, beautiful day
When you say, say, say, say that you love me
Oh, my, my, my, it's a beautiful day
Hi, hi, hi, beautiful Sunday
This is my, my, my, beautiful day
When you say, say, say, say that you love me
Oh, my, my, my it's a beautiful day


Saturday, October 8, 2011

Noise


Noise
What noise annoys an oyster most ?
Any noise annoys an oyster
but a noise noise annoys an oyster most ?

Sally Speaks Spanish, But Not Very well
Sally speaks Spanish, but not very well.
When she tries to speak Spanish,
you really can’t tell
What language she’s speaking
or trying to speak.
The first time I heard her,
I thought it was Greek.

How’s English ?
His English is wonderful, He speaks very well
His accent is perfect. You really can’t tell
That he isn’t a native of United State of America
There’s only one problem, He has nothing to say.

I know I can                                        I know I can
Do what I wanna do                            Be what I wanna be
If I work hard in it                               If I work hard in it
I can do I wanna do                            I can be I wanna be

Take it easy, man! Just leave the matter to me and everything’s gonna be alright!

A Supernatural Flute