CUrl On Wamp … [ php ]

cURL stands for “Client URLs”, and was developed by Daniel Stenberg in 1998 as a command line tool. libcurl is a portable library that provides an easy interface to the cURL functionality. It is thread safe, IPv6 compatible, and supports persistent connections. The libcurl PHP binding was added by Sterling Hughes.

Both cURL and libcurl can transfer files using a wide variety of protocols, including HTTP, HTTPS, FTP, FTPS, GOPHER, LDAP, DICT, TELNET and FILE. The libraries run on practically any *NIX operating system, as well as Windows, OS/2, BeOS, and many more. The cURL libraries are truly open source, with an MIT/X derivative license. This license is very liberal, allowing the use of cURL for whatever you want, commercial or not. You can use libcurl for free, and even include and distribute it with your own application, whether commercial or closedsource. cURL should not to be confused with the Curl Corporation, which is the commercial producer of the client side programming language, Curl.

And now how install CUrl on WAMP webserver.

  • Download the Library on http://curl.haxx.se/download.html
  • Find for your operating system [ i use Win32 2000/XP ] and download.
  • Extract on Wamp Folder [ wamp\bin\apache\apache2.2.8\ ]
  • and then find PHP.ini [ \wamp\bin\php\php5.2.6 ] and open it
  • find line ;extension=php_curl.dll
  • Uncomment that line [ erase the sign ; ] so apache will run that line [ extension=php_curl.dll ]
  • Restart your Apache [ ENJOY (o^_^o) ]

is that work ? lol :D

Read more…

Paypal Monitoring Tool… [ Perl ]

Last night i try to make some simple application from WWW::Mechanize library using perl. and then i think, how to monitoring our paypal balance and see the history of our account transaction… so, i try to make it bassed on perl.

Requirment :

  1. ActivePerl [ I use ActivePerl 5.10 ]
  2. Library WWW::Mechanize [ make temporary browser ]
  3. Library HTTP::Cookies [ keep our login cookies ]
  4. Library Crypt::SSLeay and Net::SSleay [ open HTTPS ]

yup let’s start :

Source [ Just Copy Paste on text editor ] :

Read more…

Installing WWW::Mechanize in MCPAN [ Perl ]

There are many kind how to install library on perl, i like use ActivePerl 5.1. last night i try to install library on perl with MCPAN. i use windows XP as My Operating SYstem.

STEP 1

you must download and install nmake.exe. to compile make command. you can download here . make usually use n linux, and now i use windows. so with that tool i can compile command make which only can do in linux shell.

STEP 2

to install WWW::Mechanize, you need YAML on cpan.on command prompt, type this :

perl MCPAN -e shell ==> to enter shell command on CPAN.

CPAN

and then type this :

install WWW::YAML

and then try to download and install the YAML automatically.

STEP 3

install WWW::Mechanize, just type

install WWW::Mechanize

then process installation begin. if appears confirmation to compile right now, just type  y and enter. and then compile will be continued soon.

finish the installation WWW::Mechanze.

next we’ll try to use that library.

Kisah Seorang Bijak

Alkisah pada sebuah daerah hiduplah seorang bijak yang terus berkelana untuk mencari jati diri. Sebenernya dia adalah seorang manusia biasa yang selalu penuh dengan kebingungan dalam hatinya. akan tetapi dengan kebingungan tersebut, dia mencoba untuk mencari jawaban atas semua pertanyaan dalam hatinya tersebut.

Pada suatu ketika, ketika sang bijak sedang berjalan di tepi laut utnuk menuju ke kota tempat tujuannya, dia menemukan sosok seorang gadis. dengan tertunduk lemas dia duduk di pinggir pantai sedang terlihat meratapi nasib yang melandanya. wajahnya yang sendu menutupi kecantikan yang redup akibat kesedihan yang berkepanjangan. terlihat air mata yang terus mengalir di pipinya.

kemudian sang bijak menghampiri kepada sang gadis tersebut dan bertanya kepada dia.

Read more…

Graphical User Interface On Java [ Part. 4 ]

GUI atau yang lebih dikenal dengan Graphical User Interface sangat membantu bagi user untuk dapat berinteraksi dengan program aplikasi yang kita buat, sehingga salah satu komponen penting yang digunakan untuk mempercantik design dari aplikasi tersebut. Jadi GUI ini merupakan visualisasi dari program aplikasi yang kita buat untuk membantu user dalam pemakaian program aplikasi yang kita buat.

Dalam pemrograman java GUI ini menggunakan component Abstract Windowing Toolkit dan … . itu digunakan tergantung dari kebutuhan sang programer [ intinya suka-suka yang buat aja :-p xixixixi... ]. Tapi selain itu untuk AWT merupakan bersumber pada operating system, jadi dapat memberatkan kinerja dari operating system yang digunakan. berbeda dengan komponen SWING, SWING sendiri bersumber dari java murni dan bukan dari operating system yang digunakan, jadi tidak memberatkan dari operating system. Untuk visualisasi dapat kita lihat langsung melalui script dibawah ini :

AWT Component :

import java.awt.*;
public class gui

Read more…