php Simple Sending Mail

<?php
// the message
$msg = “First line of text\nSecond line of text”;

// use wordwrap() if lines are longer than 70 characters
$msg = wordwrap($msg,70);

// send email
mail(“yulinurachman@localhost”,”My subject”,$msg);
?>

This entry was posted in Uncategorized. Bookmark the permalink.

Driver Lenovo G400 Win Xp

Untuk mengistall VGA driver lenovo G400 dengan menggunakan OS Win Xp saya menggunakan driver Intel winxp_145111 versi Zip. kemudia saya Extract file yang ada, untuk melakukan install pada hardware saya melakukan browse manual pada folder graphics.

This entry was posted in Uncategorized. Bookmark the permalink.

showing google maps in your html tag

<!DOCTYPE html>
<html>

   <head>
       src = "http://maps.googleapis.com/maps/api/js">
      
      
         function loadMap() {
			
            var mapOptions = {
               center:new google.maps.LatLng(20.593684, 78.96288), zoom:12,
               mapTypeId:google.maps.MapTypeId.ROADMAP
            };
				
            var map = new google.maps.Map(document.getElementById("sample"),mapOptions);
         }
      
      
   </head>
   
   <body onload = "loadMap()">
      
id = "sample" style = "width:570px; height:580px;">
</body> </html>
This entry was posted in Uncategorized. Bookmark the permalink.

Delphi 7 Idftp

To Manipulate FTP you can using IdFTP componen in delphi 7

 

Simple Ex : Using IdFTP

IdFTP1.Username:=’localhost’;
IdFTP1.Username := ‘local’;
IdFTP1.Password :=’local’;

IdFTP1.Connect();

IdFTP1.Disconnect;

 

To List Folder Only Using IdFTP

StrList := TStringList.Create;
IdFTP1.List( StrList ,’*.’,False);
Memo1.Lines := StrList;
StrList.Free;

 

To List File Only IdFTP

 

 

 

 

 

This entry was posted in Uncategorized. Bookmark the permalink.