Posts

Showing posts with the label developement

Creating Password Protected Webpage / Website

Some time if you want your website or webpage to be displayed to selected people or you do not want other people to see what is behind the Page. That time you need to create password protected Site. So today I decide to share basic steps for the same. 1. You need to create file named - .htaccess 2. Write below code in .htaccess AuthUserFile /yourserver/fullpath/where.htpasswdresides/.htpasswd AuthGroupFile /dev/null AuthName "Whatever Name you want to displayed with Prompt " AuthType Basic require user Usernameyouwant  3.  create .htpasswd file on your linux system by typing command.  htpasswd -c .htpasswd  Usernameyouwant   4. Upload both file to server. There is also online utility available here:  http://www.tools.dynamicdrive.com/password/

YSlow - Plugin for Firefox & Website Optimization

There are tools to check the website performance. I mostly use Firebug to get overall time taken to load resource. However one another good plugin is YSlow . Take a look and try it out. Courtesy:  Firefox addon

Extract compress files on Server using PHP

Hey All, Sometimes we need to upload large files and folders to server and it takes long time to complete. To make this process faster and simpler you can uncompress the files using one line of code using PHP. <? exec("gunzip -x filename.zip"); ?> You first need to upload the zip on server, make sure to give proper path in PHP code.  You can also compress Server files using below command. <? exec("zip -x filename.zip  Foldername"); ?> Please note, execution of above code tested on PHP running on Linux / Unix Server.

PHP : Get Current Page URL

Below is the PHP code snippest to get Current page URL.need to use $_SERVER array to get the server information. $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":". $_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"] } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } echo $pageURL;

JQuery - JavaScript Library

JQuery is JavaScript Library which enables to do most of the things easily. It reduces code and time of development. Most of the functionalities can be done easily such as event handling, documnet traversingm animation and Ajax interaction. jQuery is designed to change the way that you write JavaScript. You can find more info @ http://jquery.com/

Mozilla.org - the internet should be public, open and accessible.

Mozilla.org, a global community belives that the internet should be public, open and accessible. Learn more about mozila @ http://www.mozilla.org/ Contribute to Mozilla, learn more @ http://www.mozilla.org/contribute/

Zend Studio 5.5 Blank Main Window

After installing Zend Studio 5.5 bin files, when I start the Zend it displays blank window (Gray Colored). I googled it out and found that, the issue lies with some form of Java incompatibility. To Solve the issue, Open the ZDE files placed inside Application root (your home directory Path/Zend/ZendStudio-5.5.0/bin). On line 1694 you will find below code, debugOut "" unset POSIXLY_CORRECT Add options="$options -Dawt.toolkit=sun.awt.motif.MToolkit" on line 1693. So your edited file will be looked like this. options="$options -Dawt.toolkit=sun.awt.motif.MToolkit" debugOut "" unset POSIXLY_CORRECT Your problem will be resolved.  

Resolve: Failed to access IIS metabase

After setting up IIS and ASP .Net, if you get error as below. Failed to access IIS metabase, when trying to browse to .NET 2.0 Website To solve the issue try below command, C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>aspnet_regiis -i That might solve your problem. Good Luck !

Most Popular Programming Languages

Most Popular Programming Languages Posted using ShareThis

Go - New Programming Language by Google

Google has announced the release of a new, open sourced programming language called Go. The company says that Go is experimental, and that it combines the performance and security benefits associated with using a compiled language like C++ with the speed of a dynamic language like Python. Google says, Go is .... … simple … fast … safe … concurrent … fun … open source Visit Go's official site for more info.

Times Of India Coverage

Image
Girl power puts Gujarati lexicon at your fingertips by Ashish Vashi | TNN Ahmedabad: If the online Gujarati lexicon has proved to be a boon for translators or writers, a bunch of five 20-something girls ought to take the credit. Their love for their mother tongue is phenomenal and so is their passion for language. Hence, with the help of technology they have made words available at fingertips for Gujaratis. Sumaiya Vohra, Padma Javad, Maitri Shah, Shruti Amin and Deval Vyas run an IT firm which handles jobs of researching and compiling Gujarati words. After digitizing ‘Bhagwadgomandal’—a major dictionary of Gujarati—their recent achievement was to put ‘lokkosh’, a Gujarati lexicon, online. It has been accessible to netizens from Tuesday. “Before this company, we were working at different places. We share the same wavelength and passion for Gujarati language. At present, there are various projects in our kitty, including a major one for creating a good spell-check software for Gujarati ...