Filed Under ([+] About Life) by Junkiest`Jr on 26-09-2008
What is mysql_error() ?
It’s a simple function that helps developers debug their code. A piece of code may look like this:
:query
$query = “SELECT * FROM randomTable WHERE id=’”. $_GET['id'] .”‘;
mysql_query($query);
echo mysql_error();
Obviously this code is vulnerable to SQL injection because $_GET['id'] is not sanitized at all.
One could inject SQL code directly into the id variable.
Thus the programmer will sanitize the variable:
:Query on PHP
$query = “SELECT * FROM randomTable WHERE id=’”. mysql_real_escape_string($_GET['id']) .”‘;
mysql_query($query);
echo mysql_error();
Read the rest of this entry »
Filed Under ([+] About Life) by Junkiest`Jr on 08-09-2008
hahahahah….. present for our friendship [ presembahan untuk persahabatan ], gak pengin macem-macem sih, cuma pengin mengucapkan terima kasih banyak buat smua temen-temenkuw dimana saja. tanpa kalian semua diriku yang sekarang ini gak bakalan seperti ini. temen-temen game, underground, my best friend and the other.
pikiran tertekan enaknya ngapain? jawabnya kumpul bareng temen-temen… wkwkkwkw.. ntah itu maen game, ngoprek programing, ngerumpi, ngocol or shoping-shoping. huehuehuehue……
Read the rest of this entry »
Filed Under ([+] About Life) by Junkiest`Jr on 24-07-2008
hufff….12 hour since arrive on Malang, i’ve rest with spypark. and then someone knock the dor. i supprise when two girl say to me “Maap mas mo ngecek jaringan di kamar ini !.. ” hueeeeeee… !@#$%^&*(. for first time i find technician girl :D. yup… they are student on VEDC Malang… but i think that’s cool [ a girl to be an techinician network? ] wow….xixixixi
Read the rest of this entry »
Filed Under ([+] About Life) by Junkiest`Jr on 22-07-2008
Sometime we thing so much time we have a day, even spent the time with sleep or something else which that’s wasting our time. but, i believe we’ll someday we’ll thing it’s so little time we have a day. so, how the way to us to provide or make our little time usefull [ hahahaha... like the scientist, make our time to live together with other people. huff thank's to prof. Dito to make me realize about that. ]. yup we can work with usefully and eficiency, why? because with that, we have more much time a day. but, Read the rest of this entry »
Filed Under ([+] About Life) by Junkiest`Jr on 08-07-2008
The Internet Crime Compalaint Center [ IC3 ] began their operation on 8 May 2000 as the Internet Complain Fraud Center and change into IC3. It Estabilished a partnership with NW3C and FBI as a vehicle to receive, develop, and refer criminal complain regarding rapidly expanding arena of cybercrime. IC3 Give the victim convenient and easy to use reporting that alert authorities of suspect criminal or civil violation.
Read the rest of this entry »