Senin, 28 Desember 2009

Pertemuan 11

pertemuan 11 mempelajari tentang perintah HIT..

HIT biasa digunakan untuk mengetahui jumlah pengunjung yang mengakses web kita. tadi kita sempat berlatih membuat web modular sederhana disertai upload file (browse) dan juga HIT, upload file dapat digunakan Insert Form File Upload pada Microsoft Frontpage..

dalam pengerjaan nya tidak begitu sulit, penuh logika.. tapi mungkin tidak demikian bagi yang lain
karena LCD Proyektornya tidak ada, jadi scriptnya di tulis lewat white board.. ^^
Sekarang masih dalam pengerjaan tugas web modular pemograman Internet 2.. sudah selesai, tinggal
menata tata letak saja, serta penambahan Multi Laguage..

udah aja deh.. kita bertemu lagi minggu depan.. tadi materi na sedikit.. ^^

Minggu, 20 Desember 2009

Pertemuan 10

Hore.. pertemuan 10.. langsung aja akh..


pelajaran yang di dapet ne.. :

Fungsi pemrosesan File :

  1. Fopen = untuk membuka file, yang di maksud dengan file adalah data dengan eksitensi, doc, .xls, .txt, .php, .htm, .html, dan lain-lain.
  2. fputs = untuk menuliskan ke dalam file dengan perintah r (read), w (write), a (add).

A = hasil ada di belakang.

W= yang lama di hapus, diganti baru.

R = hasil ada di belakang.

R+ = mengganti yang ada di depan

  1. fclose = untuk menutup perintah fopen.
  2. file_exists = untuk mengecek keberadaan file (ada ga file dalam data itu?)
  3. rename = untuk mengganti nama file.
  4. unlink = untuk menghapus file.
  5. copy = untuk mengcopy file dari client ke server.

Perbedaan antara Client Server dan Server Side :

Client server = masing-masing komputer ada program nya sendiri.

Server side = programnya hanya ada di server


Rabu, 09 Desember 2009

Pertemuan 9

Huff.. resumed the struggle.. 9th meeting, after the UTS..
Learn about the standard PHP function for processing text consist of Ucwords, Ucfirst, Strtoupper, Strtolower, Substr, Str_Replace, Ereg_Replace, Base64_Encode, Base64_Decode, MD5.

The following conclusions can I draw from this lesson about the utility function PHP for the category of text processing :
1. Ucwords ==> to make a capital letter in front of each word as title, name.
2. Ucfirst ==> to make a capital letter in front of each sentences.
3. Strtoupper ==> make all letters to be great.
4. Strolower ==> make all the letters become small.
5. Substr ==> to cut unnecessary words.
6. Str_Replace ==> to replace the word, ussualy to link menu.
7. Ereg_Replace ==> same with the Str_Replace to replace the word.
8. Base64_Encode ==> to randomize a word that can not be read.
9. Base64_Decode ==> to restore the word to be read.

Seems to be here, we go next week.. =)