PHP Indonesia - Facebook | PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ | |
 | Shop Tervis tumblers.
Create a one of a kind personalized gift. It's fun and easy to design!  | From our sponsors | | |
[ask] saya sudah memakai opendir(); tapi jika ingi... Nov 15th 2013, 10:13, by Krisna Madani | [ask] saya sudah memakai opendir(); tapi jika ingin menambah aksi edit terhadap sebuah page gimana ?? |
| | jelaskan kepada pembaca hubungan antara memakai opendir() yg anda maksud dengan menambah aksi edit pada sebuah halaman?
mau buat listing directori? trus masing2 file nya ada menu/link edit nya? |
| | Waktu l;ooping perulangan hasil opendir atau scandir, sekalian tambahkan link untuk pengeditannya. |
| | cara / link edit nya gimana ?? misal sebuah tabel kan ada id nya kalau file mengarah kemana untuk edit file nya ?? |
| | ya ngarah ke form editan file lah.. link atw button edit tsb membuka sebuah form textarea, isinya adalah isi file yg mau kamu edit. pake file_get_contents() ambilnya misalnya.
lalu diform tsb ada button save atau save as. kl diklik buka lg halaman (atau proses background via ajax) menghandle penulisan file (overwrite) yg sudah dibuka td. bisa pake file_put_contents(). | | |
|
Tidak ada komentar:
Posting Komentar