May 17

Sometimes you may prefer to send information as an e-mail attachment rather
than as an e-mail message. For example, you may want to send the 30-page
service contract to all your customers as an attachment, rather than as a
30-page e-mail message.
To send a message as an attachment, you send a mail header instructing that
the e-mail be sent as an attachment. The header is as follows:
Content-disposition: attachment; filename=test.txt
The header tells the e-mail software to send the message as an attachment
with the filename of test.txt. The following example shows how to send a
short message as an attachment, although it’s very unlikely that you’d actually
want to do this: Selengkapnya »

May 14

ini update-an data yang terbaru, dan sudah bisa seperti tagsclouds

<?
/*
// mulai copy

– Struktur dari tabel `berita`

CREATE TABLE `berita` (
`id` int(3) NOT NULL auto_increment,
`text` text collate latin1_general_ci NOT NULL,
`tags` varchar(255) collate latin1_general_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=19 ;
Selengkapnya »