Skip to main content

Posts

Showing posts with the label PHP

Aplikasi Isi Pulsa Dengan Koneksi Soket

Pada pengerjaan tugas akhir ini akan dipelajari bagaimana merancang dan membangun aplikasi client – server dengan menggunakan beberapa teknologi yaitu : PHP, MySQL, dan J2ME. Secara garis besar, arsitektur aplikasi yang akan dibangun dapat digambarkan sebagai berikut: - koneksi database setelah terkoneksi ke database engine MySQL, perintah – perintah yang ada di MySQL dapat dijalankan secara remote / lokal dengan PHP. - Fungsi Internal Fungsi internal ini diantaranya meliputi fitur utama dari aplikasi pengisian pulsa mobile. yaitu : cek saldo, tambah saldo, transfer saldo antar akun, dan tentunya transaksi pembelian pulsa. - Fungsi H2H (Host to Host) Aplikasi ini dibangun dengan membeli stok pulsa dari 3rd party supplier yang menyediakan layanan host to host (h2h). Layanan h2h adalah layanan yang menawarkan transaksi pembelian pulsa melalui jaringan tcp/ip. - Soket Servis & Koneksi Soket Di sisi server, soket servis selalu standby menunggu client yang mengirimkan sejumlah paket d...

Cara Setup sebuah Dedicated Web Server Ubuntu

All great websites have a great server behind them. In this tutorial, I’ll show you how to set up a dedicated web server (with Apache, MySQL, and PHP) using that old computer you have lying around the house and some free software. http://net.tutsplus.com/tutorials/php/how-to-setup-a-dedicated-web-server-for-free/

PHPSESSID: FireFox Didn't destroy PHP SESSION on browser close

Now i know: PHPSESSID Cookie isn't destroyed with Firefox browser when it's closed. Sessions are supposed to be destroyed when the browser application is closed. Users assume that if they close the browser, the next person to open it will not be able to view web applications they may have authenticated to. A sample php web page is included in 'Troubleshooting' section. To duplicate the problem publish the example code, load the page in FireFox. On first load, session is reported as not there. On reload, it's reported as intact. Then close the browser (choose 'Save & Close'). Open FireFox again. You will see the session has been maintained through a browser restart. This may be handy, but is rather dangerous, as many web applications assume that after the browser is closed, sessionID's are destroyed.