News

Php

Cara Membuat Form Pengiriman Email dengan PHP

Senin, 5 Desember 2011
Cara Membuat Form Pengiriman Email dengan PHP, Dari sebagian teman saya bertanya tentang script bagaimana membuat form pengiriman ke email dengan PHP, saya berusaha menjawab pertanyaan teman saya yang satu ini dengan santai,  karena membuat form yang berfungsi untuk mengirimkan email sebetulnya sangat mudah dan cukup hanya menggunakan 2 file saya sudah bisa di gunakan. file yang pertanya adalah file yang di gunakan untuk tampilan form itu sendiri... :) yang mana berfu...

Logging processes with PHP

Selasa, 29 November 2011
Its sometimes necessary as a developer to log and track data as it is processed either to debug or to keep a simple record of maybe who's logged in or out of your site. You could easily do this by accessing a MySQL database and adding a row, but you then have to create and maintain that database. So today I'm going to run through the steps to writing and reading a .txt log file.The Code In order to write and access our log file we will be using the php functions fopen() fwrit...

Create a URL from a string of text with PHP and mod_rewrite

Kamis, 24 November 2011
Quite often when developing big web apps you may need to use mod_rewrite to generate SEO friendly URLs from a string of text, Very similar to the way Word press generates URLs for blog posts. The Code Below is the function which will remove all the spaces and special characters from a string and convert it to lowercase making sure its formated ready to be used as a page URL. function create_slug($string){ $string = preg_replace( '/[

Country drop down list with php function

Sabtu, 19 November 2011
I had a project recently that required the user to select their country from a drop down list and store the data in a database. It was such a long process setting up the PHP switch statement that I thought someone might find it useful for a project. The code below is a snapshot of the switch statement I've setup. The download at the bottom includes 238 countries and continents. You just need to store the country code in the database then call the function below to return the ...

Pengertian dasar PHP dan MySQL

Kamis, 10 November 2011
PHP merupakan open-server source bahasa scripting. Hal ini biasanya digunakan dalam hubungannya dengan sistem database seperti MySQL, yang menyediakan fungsionalitas database back-end untuk database-driven website. MySQL adalah aplikasi database gratis yang digunakan secara luas dengan PHP sistem berbasis aplikasi Web. Untuk terhubung ke database MySQL, Anda perlu menggunakan PHP Database Connectivity Terbuka (ODBC) fungsi "odbc_connect" dalam sintaks tertentu.  
««« | « Previous | 6 | 7 | 8 | 9 | 10 | Next » | »»»