Tuesday, July 27, 2010

Apache wtih PHP - Ready to use Installation Package

This is a readymade PHP-Apache installation package to work with PHP on Apache Web Server on Windows. Simply download and install the setup. Your PHP development enviornment will be ready right away. This package comes with the following:
PHP Version 5.2.6
Apache Version 2.2.10 (Win32)
PHP MySQL extension

NOTE: Apache will be installed to port number 9090.

Download Setup

This setup is suitable for development environments only. Extra care/settings should be considered for production environments.

Monday, July 19, 2010

Plugin to view Adilife Profiles with Photo

Click here to download setup.

This is a plugin for Pattukottai KMV www.adilife.com. I am a registered member of adilife.com and developed this for my personal use. This plugin is a local application done using Apache and PHP (I am not a well-versed PHP programmer, so forgive me for any bugs.). I have been using this for quite a few months and is useful. This plugin will work until there are no changes or upgrades to adilife pages. (Noted as on 26/07/2010.). If you see any problems with this plugin, please drop me a message.

Advantage of this add-in:
Currently adilife.com does not display profile-photos in search results. This add-in will make the search results display photographs. This saves a lot of time and makes you visit every profile in adilife.com in a very short period of time. Also, this is not a complete application, so some adilife pages may not work as expected. In such cases, please login to www.adilife.com directly to visit such pages.

Instructions to use:
1. Download the installer and install it on your Windows machine. Install it to the location suggested by the installer to avoid possible bugs. Click here to download setup.
NOTE: Vista Users must run the application as Administrator.

2. Once the installation is over, click on "Adilife Plugin" Desktop shortcut icon.

3. You must see adilife login page. You need to login to adilife through this page.
Attention Vista Users (XP users can skip this and go to next step):
On Windows Vista, if you see any error like "Page not found", then run "cmd" (command prompt) as administrator. From command prompt, type the following and press enter:
C:\AdilifePlugin\apache-install.bat.
Now, follow from step 2.


4. After logging in, search for profiles. You must see the results getting displayed with photographs.

You can also shortlist profiles and view them all in one single page. You can even organize the profiles. See the available options here:
IconOption
Shortlist
Interest Sent
Interest Received
Rejected
Clear
Move

Use the menu displayed on top of every page to see your organized profiles.

Instructions to Uninstall:
Start Menu ==> Programs ==> Adilife Plugin ==> Uninstall Adilife Plugin

Thursday, July 8, 2010

Connecting to SQL Server from C#.NET

Download Project and Source Code

Using the above .NET 2005 Project, you can connect to your SQL Server Default Instance and  test the connection.

Possible issues:
1. Unable to connect to SQL server or MSDE 2000 from remote machine/another machine.
2. Unable to connect to SQL Server or MSDE 2000 from Code.

Resolution:
Change your firewall settings and add an exception to the port 1433. Or turn off firewall. And then follow these steps.

Step 1: Open SQL Server Configuration Manager

Step 2: Enable TCP/IP Connections

Step 3: Start Menu => Run

Step 4: Type services.msc and press OK

Step 5: Restart SQL Server