XAMPP Apache port change

1. Find httpd.conf file in the folder path C:\xampp\apache\conf\ 

2. Open httpd.conf file in your text editor.

3.Find this line:
Listen 80

change it to:
Listen 8009

4.Save and restart Apache.

http://locahost:8009 would now be your XAMPP default pages.

Read more!

Convert html page to .aspx page

step 1. Convert Html page into .aspx. for example you have index.html, open that with dreamweaver and save as index.aspx.

step 2. open ASP.NET web site. put that file into that folder.

step 3. After putting this, right click folder, you will sub menu that menu choose Add New Item. After that the new dialog box will be opend. then choose class file. if you use C#, change that name as index.aspx.cs and finally press OK.

step 4. In that class file, change the following

public partial class _index : System.Web.UI.age
{

}

step 5. Now go to index.aspx, bottom of that page, there will be source, if your press that you will get html
content

step 6. Write the following coding at top of that source

<%@ Page Language="C#" AutoEventWrireUp="true" CodeFile = "~/index.aspx.cs" Inherits="_index" %>

step 7. Finally save that file and close entire web application.

Step 8. Now you can open that web application

Step 9. After openning, press F5, the page will be executed.

The two dots .. instruct the server to move up one directory
Read more!

Remove the Label – “This site may harm your computer” : malware

google-serp.jpg



To make users feel safe when they search web, Google continuously working to identify dangerous sites and increase protection for their users. This warning message appears with search results which they identified as sites that may install malicious software on your computer:

Below is the sample SERP displaying the warning message for a website. [I got this screenshot when google affected with this malware
Read more!

What are CSS sprites?

css-sprites-lead.png


CSS sprites are a way to reduce the number of HTTP requests made for image resources referenced by your site. Images are combined into one larger image at defined X and Y coorindates. Having assigned this generated image to relevant page elements the background-position CSS property can then be used to shift the visible area to the required component image.

This technique can be very effective for improving site performance, particularly in situations where many small images, such as menu icons, are used. The Yahoo! home page, for example, employs the technique for exactly this


Further Reading

A List Apart published an article entitled CSS Sprites: Image Slicing's Kiss of Death which explains the concepts behind CSS sprites. If you're new to this technique we'd strongly suggest heading over to A List Apart and taking a look.


Read more!

Mobile-frameworks-development-tools-creating-iphone-apps

http://iphoneized.com/2009/11/18-mobile-frameworks-development-tools-creating-iphone-apps/ Read more!

Glow: Opensource Javacript Library from BBC

Glow is a BBC's JavaScript library, which aims to get working with the JavaScript and the DOM easier. It succeed by hiding cross-browser issues, abstracting common tasks and providing a series of user interface widgets. Glow is available under the Apache Licence, Version 2.0. 

This allows you to use the library in almost all circumstances, and to change it. The library is extremely well-documented & it already comes with various ready-to-use widgets like: auto suggest, carousel, overlay (light box), slider, timetable & more. 

These widgets are already there in most of the famous Javscript libraries like Jquery, UI etc. and have strong knowledge hub, community support.

Read more!

Joomla :How to move Joomla to another directory?

Many web designers prefer to build their websites in test folders and when their development is over to move their Joomla applications to the root folder of their hosting accounts.

For the purpose of this article let us presume that we have a Joomla 1.5 installed in the public_html/test folder in our account and we want to move it to the public_html directory so that it will be directly accessible through www.yourdomain.com.

This change consists of the following steps:

1. Move all of the files and folders from your Joomla folder to the new directory. In our case from public_html/test to public_html

2. Reconfigure your application. You should edit your configuration.php file and make the following changes in it:

Change: var $log_path = '/home/user/public_html/test/logs';
To: var $log_path = '/home/user/public_html/logs';

Change: var $tmp_path = '/home/user/public_html/test/tmp';
To: var $tmp_path = '/home/user/public_html/tmp';

Change: var $ftp_root = '/public_html/test';
To: var $ftp_root = '/public_html';

Change: var $live_site = 'http://www.yourdomain.com/test';
To: var $live_site = 'http://www.yourdomain.com';
 
3. Remove the content of your cache folder (public_html/cache in our case)

Now when you reload your website it should be working flawlessly from its new location.
 
Read more!