Aug 15 2010

misleading #2

Teng adalah seorang yang mengelarkan dirinya sebagai Teng Kacak. FBnya di sini.

friendsnya skrg? 3993. ramai gila kot. memang macam artis

dia ni gila suka add org (perempuan) tak tentu pasal. jangan tanya sape dalam list dia, sah-sah dia tak kenal. dan malam ni ad orang pm dia, tanya dia yang dia ni artis ke?

allbe:
thanks appproveee
:) :)
10:44pm

Teng:
no probs :D :D
10:44pm

allbe:
nak tnya boleh?
10:44pm

Teng:
yerps?
10:45pm

allbe:
betui ka asyraf ckp abg mat ni artis?
10:45pm

Teng:
erk?
sape artis?
+_+
10:46pm

allbe:
abg mat lah
betui ka?
10:46pm

Teng:
err
mane ade
lol
10:47pm

allbe:
asyraf suruh tnya
10:47pm

Teng:
ahaha
tak2 >.<
10:48pm

allbe:
betui laaaa tu
ellelelellelelele
HAHAHA
10:49pm

Teng:
err…
artis celah mane duh
ahaha
10:49pm

allbe:
tatau aaaa
HAHA
ngaku aaaa
tolong lah
HAHAHA

owh.. ape kes ni tenggggg? hahaha

(1)

adik kawan aku pn ada dalam list friend dia. – Nik Amir

(2)

trainee aku pun dia add. – Agus

fyi, ni akaun dia yang ke-2 kot. yang no.1 dah kena ban ngan FB, sebab gila-kentang-amat add orang

————–

something for us to read. read here, look at #2.

Come on. This is not high school and Facebook isn’t a popularity contest. You don’t need to be “friends” with everyone.

http://www.computerworld.com/s/article/9180642/5_tips_to_protect_yourself_on_Facebook?source=CTWNLE_nlt_security_2010-08-13

you choose what to tell and what not to tell.

Aug 14 2010

Guestbook #2

owh tak dapat tidur di malam minggu di bulan puasa yang esok tak tau lagi nak buat ape. owh..

apa dibawah ialah guestbook php + mysql yang dimod dari versi php + txt file yang tahun lepas. boleh tengok di sini untuk yang dulu.

<?php
$con = mysql_connect(“localhost”,”guestbook_user”,”password”); //ubah ikut kesusaian
mysql_select_db(“guestbook”, $con); //ubah nama db jika berkenaan.
if (!$con)
{
die(‘Could not connect: ‘ . mysql_error());
}
if (!isset($_POST['SubmitForm'])) {
} else {
echo “<span class=’mid’>”;
echo “Terima Kasih  =)”;
echo “<br>”;
echo “<br>”;
$nama = $_POST['nama'];
$msj = $_POST['msj'];

$tag = array(“<”, “>”);
$nama = str_replace($tag, “_”, $nama);
$msj = str_replace($tag, “_”, $msj);

$masa = “(“.date(“F j, Y, g:i a”).”)”;

$nama = mysql_real_escape_string($nama);
$msj = mysql_real_escape_string($msj);
$masa = mysql_real_escape_string($masa);

mysql_query(“INSERT INTO entry (masa, nama, msj) VALUES (‘$masa’,'$nama’,'$msj’)”);

}
?>
</p>
<center>
<form action’”.$_SERVER['PHP_SELF'].”‘ method=”POST”>
<span>Tinggalkan mesej/ucapan anda disini:</span><br>
<table>
<tr>
<td><span>Name</span>::</td>
<td><input type=”text” name=”nama”></td>
</tr>
<tr>
<td>Message: </td>
<td><textarea name=”msj”></textarea></td>
</tr>

</table>
<input type=”submit” name=”SubmitForm” value=”Send”>
</form><span>
- – - – - – - – - – - <br>
<?php
$entry = mysql_query(“SELECT * FROM entry”);

while($row = mysql_fetch_array($entry))
{
echo $row['nama'] . $row['masa'];
echo “<br />”;
echo $row['msj'];
echo “<br />”;
echo “———-”;
echo “<br />”;
echo “<br />”;
}
mysql_close($con);
?>
</center>

untuk yang ni, instead of simpan msj dalam txt file, msj semuanya disimpan dalam MySQL db. code sedikit pendek, tapi memerlukan MySQL server untuk berfungsi.

utk db, bleh dump ape yang ad dibawah:

CREATE TABLE IF NOT EXISTS `entry` (
`no` int(11) NOT NULL AUTO_INCREMENT,
`masa` text NOT NULL,
`nama` text NOT NULL,
`msj` text NOT NULL,
PRIMARY KEY (`no`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=11 ;

INSERT INTO `entry` (`no`, `masa`, `nama`, `msj`) VALUES
(10, ‘(August 13, 2010, 7:10 pm)’, ‘gsbgse’, ‘brstbrtsn’),
(4, ‘(August 13, 2010, 6:59 pm)’, ‘aebgerbewt’, ‘hbtwbryn’),
(5, ‘(August 13, 2010, 7:00 pm)’, ‘faeger’, ‘gergwe4h35′),
(6, ‘(August 13, 2010, 7:01 pm)’, ‘faeger’, ‘gergwe4h35′),
(7, ‘(August 13, 2010, 7:01 pm)’, ‘gaergera’, ‘gergreh3′),
(8, ‘(August 13, 2010, 7:01 pm)’, ‘fwef3qwrhgw354′, ‘gbw45gw34hgw354th’),
(9, ‘(August 13, 2010, 7:08 pm)’, ‘gseb’, ‘esbb’);

db kat atas ni dh ada testing data yang tah paper. feel free to create a new one, fresh one.

camne nak guna? pastikan httpserver (eg: apache) dan MySQL up and running.

copy the code, paste kedalam .php file.

create database nama guestbook (kalau nak guna nama lain pun boleh, tapi pastikan ubah db pada msql_select_db. da create db, boleh dump sql kat atas. ataupun create sendiri table.

do comments kalau ada bug, comments, critics n etc.

selamat testing2 dan selamat berpuasa =)

—–

and for unknown reason, I smileeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee =)

Aug 12 2010

a smile

how do i (or you) know if it is a fake one?

A warm, friendly, excepting smile can go a long way and is also part of the healing process.

http://www.crystalinks.com/smile.html

hey smile, do heal me laaaaaaaaaaaaaaaaaaaaaaaaaa. =)

This movie requires Flash Player 9

——

my other smile, is here

Aug 10 2010

Selamat Berpuasa

Aug 08 2010

the what-to-do

i should know the what-to-do and what-not-to-do.

not only know, but do and don’t do.

sigh~

Aug 05 2010

Packaging

Packaging somehow misleading. haha

this two, FREE and exclusive pack of Breeze are the example. well, the yellow one is lemon flavor. and the red one is chocolate. no it is not. it’s original flavor. ok, itu karut.


ape ada hal.. dapat free..

untuk yang handwash:
sesuai tak guna untuk handwash neh?
ke handwash nak kena guna sabun debu ngan sabun buku je? =)

btw, ini bukan product photoshoot.

Jul 30 2010

superstar

Project Pop – Bukan Superstar

Andai aku Pasha Ungu
semua wanita kan memburuku
Bila aku Ariel Peterpan
kau yakin ngefans karena gua keren
Haa haa haaa… Haa haa haaa…

Sexy badannya.. Mulan Jameela
cantiknya dia seperti aku
Giring Nidji sahabat aku
dekat denganku.. dialah aku..

Tapi kenyataan aku bukan siapa-siapa
kuingin engkau mencintaiku apa adanya

Ku bukan superstar kaya dan terkenal
Ku bukan saudagar yang punya banyak kapal
Ku bukan bangsawan, ku bukan priyayi
Ku hanyalah orang yang ingin dicintai

Haa haa haaa… Haa haa haaa…

Andai ku Letto wis pasti aku wong jowo
Tapi kenyataan aku bukan siapa-siapa
kuingin engkau mencintaiku apa adanya

Ku bukan superstar kaya dan terkenal
Ku bukan saudagar yang punya banyak kapal
Ku bukan bangsawan, ku bukan priyayi
Ku hanyalah orang yang ingin dicintai

Kata orang ku mirip Glenn Fredly
suara merdu, wanita jatuh hati
Namun semua itu hanya mimpi bagimu woohoo~

Jadi… semua itu hanya mimpi?
Ya iya laah… masya ya iya dong
duren aja dibelah bukan dibedong

Ku bukan superstar kaya dan terkenal
Ku bukan saudagar yang punya banyak kapal
Ku bukan bangsawan, ku bukan priyayi
Ku hanyalah orang yang ingin dicintai

Kamu bukan super, kamu bukan setar
Kalo digabungin kamu bukan supersetarr..
Ku bukan bangsawan, ku bukan priyayi
Ku hanyalah orang yang ingin dicintai
Haa haa haaa… Haa haa haaa…

lirik dari: http://liriklaguindonesia.net/p/project-pop/project-pop-bukan-superstar/

Jul 27 2010

not-to-do

Told you, do not expect too much.
But, it’s me that put a high hope.

btw, I’m aware of it. so do you.

again, Wikileaks hits US. The Afghan Diary, 2004-2010. Read here. and don’t forget to visit the dedicated page, here.

and, just in case you forgot or missed. The Collateral Murder on Wikileaks is here.

aku x nak bukak post baru. jadi, tambah saje disini. jadi post title adalah tidak relevan untuk content post ini.

EFF’s counsel, Fred von Lohmann, countered Apple’s argument in part by saying: “I have a Toyota. Toyota would, of course, prefer that I use nothing but authentic Toyota parts and Toyota dealers for service, and that they would also prefer that I not modify my Toyota in ways that might be dangerous to me. I appreciate all that, but it is my automobile at the end of the day.”

ayat tu nice. haha. it was a part of an article from theregister.co.uk. (read here)

but it’s mine at the end of the day. nice one.

Jul 24 2010

those days

i used to run irc almost 24/7 those days. thus, i just put some lines into the remote instead of writing something that runs independently. plus, i don’t even know how to do that. =)

alias testing {
;;/timerkill off
inc %word.count
inc %lines
if ($read(word1.txt,%lines) == $null) { .echo dh abis word | .set %lines 1 }
else { set %text1 $read(word1.txt,%lines) }
timer 1 $rand(1,600) run iexplore http://#######.co.uk/do###search.asp?CID=48046&q= $+ %text1 $+ &pic1.x=41&pic1.y=1
;;run iexplore http://#######.blogspot.com
/timerkill 1 $rand(400,500) .run kill.bat
}

i wrote this to so-called automatically perform the search-and-get-paid…

and it works =)

haha.. those days.

Jul 23 2010

Why 160 chars

how many of us really cares about the only 160 chars allocated sms? actually the 160 is more or less?

… that postcards often contained fewer than 150 characters.

http://teck.in/why-sms-messages-are-limited-to-160-characters-only.html

it’s fun to know why and how the inventor comes to the 160.

read here:

http://teck.in/why-sms-messages-are-limited-to-160-characters-only.html

http://latimesblogs.latimes.com/technology/2009/05/invented-text-messaging.html

Jul 22 2010

ascii-art

convert image to ascii, convert text to ascii art and bla bla bla.

that was those days. and suddenly i come across this one site offering those things.

you can find many on google. it was fun. grab the one that convert image to ascii. it helps to kill so-called free-time. hahaha

try here: http://patorjk.com/software/taag/

Jul 21 2010

will-not-work-this-way

var uname = gost(crc32(md4(sha1(md5(username,salt1),salt2),salt3,salt4,salt5)
var passwd = md5(crc32(gost(sha1(md4(password,salt6),salt7),salt8),salt9),salt10)

var passhash = pilih passwd dari tbl_admin dimana uname adalah $uname

kalu $passhash = $passwd {
.echo granted
}

tapi-kalu $passhhash != $passwd {
.echo denied
}

owh baharambang.

read Who cares about encryption? in theregister. click here.