On Fri, Sep 02, 2005 at 12:08:54PM -0000, parlin wrote:
> ####################################################
> //<?
> //mysql_connect("203.130.192.186","pai","passwd");
> //mysql_select_db("pai");
> //echo("Sukses");
> //?>
> ####################################################
>
> Pertanyaan saya...
> 1. Apakah script saya salah? Kalau salah tolong dong buat sesepuh
> sekalian mengkoreksinya...
tidak salah, tapi seharusnya koneksi database diclose sebelum akhir script.
> 2. Sebenarnya nama Host-nya apa?
cukup localhost
> 3. Apakah perlu saya sedikit mengedit php.ini yang ada directory saya?
> Kasih petunjuknya..
edit ~/etc/php.ini, contohnya ada di file /etc/skel/etc/php.ini,
tambahkan baris-baris berikut di section [PHP]:
extension_dir = "/usr/lib/php/modules"
extension = mysql.so
Wardi
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/0XFolB/TM
--------------------------------------------------------------------~->
==================================================
- Kunjungi [ http://medan.linux.or.id/ ]
webserver didukung oleh PT. Media Antar Nusa
http://www.nusa.net.id/
- Untuk keluar dari milis ini silahkan kirim ke:
[EMAIL PROTECTED]
==================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/medan-linux/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/