Install Your Apps from Android Market through web

Recently, Android’s Market come out new feature that allow you to install your Apps through web with URL of http://market.android.com.

Now, you do not need to install the Market Apps from your Android but you may directly install it through the Android’s Market.

MGe did tested several apps and below is the example step for my readers.

1. Go to Android’s Market.
2. Search any Apps that you needed.

3. Select on your device and hit on the Install button.

4. Now you will see the Apps is downloading and install to your Android’s phone without any extra step.

With the above step, be sure that you have your phone connected to the Internet.

Configure FastCGI to Host PHP from IIS 5.x and 6.x

I want to tell everybody that I am back again after last post from Jan 2011. MGe is lost after the Celebrating the Chinese New Year(I am Chinese, πŸ™‚ ), and it is very sad that 2 relative passed away during the past week. πŸ™

Somehow, I will continue sharing my post from here, :-).

Today, I want to guide my reader on how to configure PHP FastCGI for IIS 5.x and 6.x.

Prerequisite,
i) IIS5.x or 6.x installed.
ii) PHP installed.

Step:
Install FastCGI extension,
1. Download the extension from http://www.iis.net/extensions/fastcgi.
2. Install it and you will see it is installed to C:\Windows\System32\inetsrv folder.

Apply FastCGI extension,
i) Configure through command,
Run the follow command,

cscript fcgiconfig.js -add -section:"PHP" -extension:php -path:"C:\PHP\php-cgi.exe"

ii) Manually Configure it.
1) Run inetmgr.
2) Right click Web Site and select properties.
3) Click on Home Directory tab.
4) Click on the Configure button.
5) Click on the Add button.
6) In the “Add/Edit Application Extension Mapping”, add the following information,
Executable: C:\Windows\System32\inetsrv\fcgiext.dll
Extension: .php
Verbs: Limit to GET, HEAD, POST
7) Click OK.

Modify the fcgiext.ini file,
1) Add the following information to the fcgiext.ini file,
[Types]
php=PHP
[PHP]
ExePath=C:\PHP\php-cgi.exe

Set the optimal setting for FastCGI,
Set the following value to php.ini,
fastcgi.impersonate = 1
cgi.fix_pathinfo = 1
cgi.force_redirect = 0

Set the following value to fcgiext.ini, run the following script.

cscript fcgiconfig.js -set -section:"PHP" -EnvironmentVars:PHP_FCGI_MAX_REQUESTS:10000

iOS and Android

Recently MGe getting into the iOS and Android within 2 days.

The first one is the iPad as a grand prize from the ExaBytes Network Annual Dinner lucky Draw, next is the HTC WildFire with Android OS as my Birthday gift. πŸ™‚

It’s awesome to get these technology on hand within 2 days and ’em very happy with that.

MGe will share more on iOS and Android. Stay tune.

Understand ASP.Net custom error

It is very normal when you design your script in ASP.Net and getting some runtime error as attached below when you are designing your script from your local PC and uploaded to the web server.

With the above error, some programmer not even know what to do :S .

Today, MGe will guide you on what is the custom Error type and how to make it work when you are hosted to the web server that do not have the administrator privilege.

Basically custom error used to hide the real error from the script from the visitor, where it might be the sensitive information from your website such as connection string.

The ASP.Net <customErrors /> do have 3 types, such as On, Off and RemoteOnly. In short, may refer to the table as below.

Off Show everyone the detailed error message.Β  This is rarely a good idea.
On Don’t show anyone the detailed error message.
RemoteOnly Only show the detailed error message if you are testing from the local server where the site resides.

To set it, just open your web.config file and set it from the <system.web>.

Eg.

<customErrors mode="RemoteOnly" />

Apps Sharing: Google Chrome to Phone

I believe that most of your friend, even you are using SmartPhone. What is your favorite SmartPhone Internet Browser? Some will say Opera Mini, Safari, etc.

Today, MGe Would recommend Google Products named Google Chrome to Phone where this is a SmartPhone Apps used for Android System.

If you interested to get this application, download from here.