Categories
PHP

Distributing PHP-GTK Applications on Windows

I am one of those few people who want to do everything with a single tool/utility. I have been curious enough to learn bits of every language but I am even more reluctant to memorize curves of every language. From the day I started programming, I have been looking for a single language to do everything. My quest has not completed. I know it will never be possible to find a “all-in-one” language. So, I minimized my requirements. I want to be able to develop web sites, write shell scripts and develop desktop GUI applications. With php-gtk, the last of the problems gets solved and I have chosen php to be my core language.

php-gtk is a php extension that uses the GTK (GIMP Tool Kit) to let developers build cool GUI apps which run on Linux, Windows, MacOS, BeOS and other platforms. I am currently studying the curves of building GUI software with php-gtk. It was going on fine. But the first problem I faced while distributing my php-gtk apps is that I need to port php, gtk and some other dependencies on the target machine. That hurts. So, I was searching on the internet if I can find a good solution to this problem. Luckily, I found one.

The following ZIP package contains a tool kit for deploying php-gtk apps on windows. Download and unzip the package. Then modify and compile the NSIS script that comes in with the package to build a installation package for your own app.

Download Link:
http://www.dreadsoft.org/php-gtk/pgsk.zip

This package requires the NSIS utility from Nullsoft. Get it from the following address:

Download Link:
http://nsis.sourceforge.net

You must first install NSIS to build the setup files.

Categories
Personal

My University Life Starts Tomorrow

Finally, I have prepared myself for the studies of Business Administration, leaving behind Computer Science. Yeah, it’s more than true that I have never loved anything/anyone more than I loved my programming environment. I have been a tech freak for a long time. I have adored programming more than anything. I remember I wanted to go for BBA before I came in touch with a guy from InfoRev. He made me believe that CSE would have been better for me. My parents and many others started to believe that I would make a better Computer Scientist than a good Business Administrator. But, may be The Almighty had a different plan for me.

Time passed and here I am, a student of BBA in Khulna University. I have completed the admission procedure already. It’s the course registration tomorrow. On 30th March, is the Orientation class. I think my classes would start the following day, 31st March.

I would request every reader of this blog to pray for me and wish me luck.

Categories
Uncategorized

Cracking Admin Account in XP

This trick allows a limited user to crack into an admin account. This works for most cases. Here’s a step by step tutorial:

  • Run Command Prompt (Go to Run > Type “cmd.exe” > Hit enter).
  • On the prompt, type: AT (time) /interactive “cmd.exe” [Instead of (time), type a time in 24 hour format. Eg. 17:00 for 5pm].
  • A new command prompt will pop up with the specified time.
  • On this new prompt, type: net [space] user.
  • This command will retrieve the accounts on the network.
  • Notice the name of an admin account.
  • Now, type: “net user [admin_account] *” (Don’t forget the: “*” at the end of the command)
  • You will now be asked for a new password for that account.
  • Type a password and you are done J

NOTE: This will not work in Vista.