Entries Tagged as 'Web technologies'

Add an HTML signature to my Thunderbird mail account in Linux/Ubuntu

Thunderbird does support HTML - and plain text - signatures, but the way you configure and install it is a bit more tricky than with mainstream mail programs:

You need to create a signature file. A signature file may be formatted or unformatted. Mozilla states (incorrectly) that formatted signature files will only be visible to those who can view HTML files and recommend the use of an unformatted signature if possible. My experience is that if they can’t see HTML, they’ll still see your signature file, it’ll just be formatted incorrectly.

For an unformatted signature file, create a new file in Notepad or your favorite text-only editing program. For example, you could create the file in MS Word and then select File / Save As and select type Text Only.

For a formatted signature file, create a new file in MS Word. Then select File / Save as Web Page. This will create a *.htm file. Or, if you have some experience with HTML, you can create this signature file directly. Just remember that any graphics you include will have to be hosted somewhere on the Internet, and that they’ll force your recipients to access the ‘net every time they read your email.

Once you have a file containing the signature you want, you’ll need to activate the signature file, and this is the step that’s a bit tricky:

  1. Click on Tools –> Account Settings
  2. Click on the email account in the top left corner of the screen that is your active account.
  3. Check the box on the right side of the screen labeled Attach this signature then select the new signature file you’ve just created.
  4. Click OK.

That should do it, and you should be ready to go with your new Thunderbird signature on your email messages!


Preventing MySQL Injection attacks with good PHP code- Using PHP for preventing MySQL injection attacks on your site

A Mysql injection is attack tried by site visitors/users to get/damage data in databases by taking benefit from poor programming of websites.An injection attack occurs when a visitor to your site types something into a form input with the purpose of changing the outcome of your MySQL query. For example, at a login screen someone may try this type of attack to gain access to a secure area of the website.

If your query to check the username and password entered by the user was this:

“SELECT * FROM users WHERE username = ‘”.$_POST['username'].”‘ AND password = ‘”.$_POST['password'].”‘”

Someone could login by using any username and for the password they would type ‘ OR ”=” which would be placed into your MySQL query changing it to be:

“SELECT * FROM users WHERE username = ‘anyuser’ AND password = ” OR ”=””

As you can see, MySQL injection attacks can be pretty serious depending on the information the person has access to once they are logged in. It is very important for you to secure your site against injection attacks. Luckily, PHP can aid you in preventing injection attacks.

MySQL will then return all the rows in the table and then, depending on your script’s logic, you will probably log them in because there was a match. Now, in most cases, people have magic_quotes_gpc turned on (it’s the PHP default) which will add backslashes to escape all ‘ (single-quote), ” (double quote), (backslash) and NULL characters. This is not foolproof though because there are other characters that should be escaped to be safe.

Preventing Mysql/PHP injections:-

There are php mysql functions to prevent such type of things:
into your queries. One of The function is mysql_real_escape_string().

use Like :- $value = “‘” . mysql_real_escape_string($value) . “‘”;

For integer values dont forgot to use intval() function


FTP (File Transfer Protocol) clients filezilla smartftp freeftp autoftp

 FTP (File Transfer Protocol) allows a person to transfer files between two computers,
generally connected via the Internet. If your system has FTP and is connected to the Internet,
you can access very large amounts of files available on a great number of computer systems.
If you are on Bitnet or a UUCP host, you should look for servers that work through electronic
mail (e-mail). A good source of information on archives in general, is the Usenet newsgroup comp.archives.
When using FTP, you use a program, called a 'client' to connect to a machine that holds the files, a 'server'.
  • FTP (File Transfer Protocol) is the simplest and most secure way to exchange files over the Internet. Whether you know it or not, you most likely use FTP all the time.
  • The most common use for FTP is to download files from the Internet. Because of this, FTP is the backbone of the MP3 music craze, and vital to most online auction and game enthusiasts. In addition, the ability to transfer files back-and-forth makes FTP essential for anyone creating a Web page, amateurs and professionals alike.
  • When downloading a file from the Internet you’re actually transferring the file to your computer from another computer over the Internet. This is why the T (transfer) is in FTP. You may not know where the computer is that the file is coming from but you most likely know it’s URL or Internet address.
  • An FTP address looks a lot like an HTTP, or Website, address except it uses the prefix ftp:// instead of http://.
FTP CLients:-
There are many ftp clients
  • FileZilla Client (also referred to as FileZilla) is a free, open source, cross-platform FTP client. Binaries are available for Windows, Linux, and Mac OS X. It supports FTP, SFTP, and FTPS (FTP over SSL/TLS). As of June 20, 2008, it was the 10th most popular download of all time from SourceForge.net.FileZilla Server is a sister product of FileZilla Client. It is an FTP server supported by the same project and features support for FTP and FTP over SSL/TLS.FileZilla’s source code is hosted on SourceForge. The project was featured as Project of the Month in November 2003.
  • What is SmartFTP?( SMARTFTP)

    SmartFTP is an FTP (File Transfer Protocol) client which allows you to transfer files between your local computer and a server on the Internet. With its many basic and advanced features SmartFTP also offers secure, reliable and efficient transfers that make it a powerful tool. Click here to Download our ftp software.

    • Windows XP / IE like user interface. XP Theme Support SSL (Implicit/Explicit), Drag & Drop within internal windows and from Explorer, Multi Connections (remote and local), FXP support and more. Free for personal use. (5.2MB)

      HOMEPAGE | | DOWNLOAD added Jun 6 ‘02

  • WS_FTP LE

    Free for non-commercial use. The best FTP client on the market. I use it to upload my pages. (547KB)

    DOWNLOAD updated Mar 30


    AUTO FTP

    Another good FTP client. The free one is ad supported. (1.3MB)

    DOWNLOAD updated June 3


    WAR FTP BETA

    The only battles you’ll have is which FTP client to use. Another FTP client. (1.21MB)

    DOWNLOAD


    W3FILER

    Standard features. Upload, download. You know the routine. (809KB)

    DOWNLOAD added Sept 1


    FREEFTP

    Just drag and drop your files to and from the ftp sites. Multiple drag & drop file transfers. (1.4MB)

    HOMEPAGE | | DOWNLOAD added Oct 22 ‘00


    FUNFTP

    Fun ftp is an ftp program that supports multiple languages and skins. (920KB)

    DOWNLOAD added Oct 30 ‘00



    FTP PASSWORD RECOVERY

    FTP Password Recovery emulates a local FTP server and thereby allows you to recover the FTP login password for any FTP account you may have, as long as it is cached inside an FTP client program. FTP passwords are commonly cached by FTP programs (WSFTP, CuteFTP etc.), so you don’t have to enter them each time, but they are usually masked by asterisk or not shown at all. To recover those passwords, you can use the client, that holds the cached password, and connect to FTP Password Recovery, which will then reveal the password it receives from the FTP program. The program can only recover the passwords that are stored on your computer. (9KB)

    HOMEPAGE | | DOWNLOAD updated Feb 10 ‘04


    RIGHT FTP

    RightFTP features: multi-threaded data transfers, firewall support, ability to change remote file/directory attributes, passive data transfer and more. (768KB)

    HOMEPAGE | | DOWNLOAD added Dec 2 ‘02


    CORE FTP

    FTP Client with SSL/TLS, site to site transfers, drag & drop browser integration, and many other advanced features. Free for non-commercial use. (1.5MB)

    HOMEPAGE | | DOWNLOAD updated Apr 30 ‘08


    FILEZILLA

    FileZilla is a fast FTP client for Windows with a lot of features. FileZilla Server is a reliable FTP server. (1.9MB)

    HOMEPAGE | | DOWNLOAD updated Jul 3 ‘06


    JFTP

    JFTP is written entirely in Java. Graphical FTP (File Transfer Protocol) client application for transferring files between your PC and an FTP site. Requires JVM installed on your computer. (3MB)

    HOMEPAGE | | DOWNLOAD updated Apr 10 ‘04


    BLADE FTP

    It allows you browse several FTP site at the same time, you can also create a task and add the files into it, the task can execute automatically, it makes the updating and backuping very easy. Another new feature is History Manage, it can record the detail of uploading and downloading every time, when you are going to update your web site, you can re-execute the history simply. (2MB)

    HOMEPAGE | | DOWNLOAD updated Aug 15 ‘05


    RCFTP

    With rcFTP you can rightclick on any file in your Windows Explorer, and choose Send To - Upload with rcFTP. It works fast and easy, without the need of a full blown FTP client like WS_FTP. It supports multiple file selections. (200KB)

    HOMEPAGE | | DOWNLOAD added Aug 25 ‘04


    WINSCP

    Its main function is the secure file transfer between a local and a remote computer. Beyond this, WinSCP offers basic file manager functionality. It uses Secure Shell (SSH) and supports, in addition to Secure FTP, also legacy SCP protocol. (1.4MB)

    HOMEPAGE | | DOWNLOAD added May 31 ‘05


    ACEFTP 3

    Ability to store and configure your connections using the explorer-style advanced site management. Ability to make server-to-server file transfers. Ability to open several FTP sites easily. Ability to execute multiple file transfers concurrently. (3MB)

    HOMEPAGE | | DOWNLOAD added April 26 ‘06


    CROSS FTP

    CrossFTP is a versatile, user friendly GUI FTP client for multiple-platforms. Offers daily functionalities for general FTP tasks. Java based. (927KB)

    HOMEPAGE | | DOWNLOAD added Mar 8 ‘07


    STAFF-FTP

    FTP-Client with unique features (ftp, fxp, tls, ssl, full glftpd support…). (1.6MB)

    HOMEPAGE | | DOWNLOAD added May 2 ‘07


    RED DRIVE FILE TRANSFER

    Red Drive is a free file transfer extension that integrates with your Windows Explorer environment allowing you to drag, drop, open and edit files on remote servers without launching a separate file transfer client. Red Drive supports various file transfer protocols including FTP, FTPS (FTP over SSL), SFTP (FTP over SSH) and WebDAV. (914KB)

    HOMEPAGE | | DOWNLOAD added Aug 25 ‘07


    ALFTP

    The convenient Client Explorer and Server Explorer in ALFTP have easy to use “tree views” so you can browse, move, and transfer files on FTP servers just like you already do on your own PC. Free for non-commercial use. (6.5MB)

    HOMEPAGE | | DOWNLOAD added Oct 28 ‘07


    M2FTP

    m2ftp is a so-called FTP-client - a software which is used to establish a connection to an FTP-server. m2ftp can be used to easily up and download as well as administer data files and directories, without users having to know the functionalities of FTP (File Transfer Protocol). Free for non-commercial use. (5.4MB)

    HOMEPAGE | | DOWNLOAD added Mar 10 ‘08


How to open Named Anchor links in flash actionscript

Writing 70-536 and 70-642 is not a big issue for a 642-642 professional, especially since they all have done 350-018 as well as 70-647 and 640-816 earlier in their careers.

About anchor links

In html you can link to a speciffic area of a html page by adding anchors, for example this link will point you to the “solution” area of this page; you link to an area of a page (to an anchor) by adding # after file name followed by the anchor name, e.g: products.php#product4 or just #product4 if destination is on same page.

The ‘namedanchor’ (destination) is written like this in the html code.


The flash issue

When you want a flash button to open a Named Anchor inside the html page normally you would think that the link can be open by something like this:

getURL(’products.php#product4′);

but the above will not work because of some flash limitations
Solution

Write a really short javascript in the html page and set the getURL from flash to trigger that JavaScript.

Write this function in … area of html code:

Modify getURL actions from flash to call the above JavaScript:
getURL(”javascript:openNewWindow(’anchor_test.html#title2′,’_parent’)”;

This solution was tested and worked in both Internet Explorer and Mozilla Firefox type browsers.


Using SEO,Common SEO facts and Myths Starting with SEO

After 1Y0-259 and EX0-101, all those PMI-001 professionals who wrote 642-825 say that they could not have done it without credits like 642-436 and 642-845.

SEO common facts

The Internet has many SEO myths flying around, many of which only survive as nobody acknowledges them as being wrong, Until now. I have plucked out 5 of the Internets best SEO myths to share with you today.

Here are 5 SEO Myths of my choice:

  1. You have to submit your website URL to Google in order to be ranked in the Search Engine Results Pages (SERP). - This has not been the case for many years.
  2. You have to update your website regularly in order to rank well. - This may only serve to increase your crawl rate but will have no effect on how your pages rank in the SERP.
  3. H1 tags are mandatory to reach top spot in SERP. - This is one of the myths that I have checked out alot, and it seems if your check alot of sites that rank highly on the SERP’s they do not contain H1 tags. But I believe that you should use them anyway as they do not hurt your site.
  4. You need to use a Google Sitemap to rank well. - I believe that if you have built your site correctly and it can be crawled then the Google Sitemap is only of use if you wish to use the Google Webmaster Tools.
  5. You have to use the META Keywords in your pages content. - The META Keywords were designed to add extra keywords to your site that were not mentioned in the content. The fact is that Google ignores this attribute anyway so it makes no difference.

If u want to add more or want to have suggestions then feel free to post your reply.


SEO defination Explaination and HElp for SEO terms

Utilizing free web hosting is alright to the extent that one makes use of adsl as well related jobs, particularly when associated with advertising agencies.

Few Questions:-

Do you run a website and often hear other website owners talking about their SEO tactics and realise that you have no idea what SEO is, or how you go about it? Well you have come to the right place, we will give you all the information you need to understand what other website owners are talking about and help you to get a good understanding of Search Engine Optimization (SEO).
What is SEO?

Search Engine Optimization is a practice under taken by website owners who wish increase the amount of traffic they receive from search engines. It works by improving internal and external factors in order to achieve a higher position in search engine results pages (SERPs). By achieving a higher ranking in SERPs you can obtain more traffic for the keyword searched. As you can imagine there are usually hundreds of sites fighting it out for the top search engine rankings, so website owners compete with each other to optimise their site so that they can gain the advantage over their competitors.

Do You Need To Use SEO?

SEO can often be a time consuming process and I have heard many webmasters ask the question ‘Do I Really Need SEO?’. The real question that should be asked is ‘Do I Want People To Visit My Website?’. You could have a great website and spend all your time adding to it, but if no-one is visiting it, is it worth it?

The fact is that when people what to find something on the Internet, they will search for it on search engines. If your website is not listed or is low on the SERPs then it is likely that you are not getting the most from your website.

The bottom line is, search engine traffic can make or break your site, so investing time or money in SEO is a must for anyone wishing to have a successful website.

As you should now understand SEO should be done by any website owner who wants to receive high levels of high quality traffic.

It is possible to receive traffic from search engines without performing any SEO, but by performing some of the basic SEO tips you can vastly increase your websites traffic.

We hope you now understand what SEO is and the impact it can have on your site.


Developing web sites Getting started with web Developement

Requirements before getting started with development or web programming

Any one who want to develop a web application must have the following systems:

1. A web server.
2. An editor to develop the web pages.
3. A browser to view the web page you develop.
4. A database program like MS Access, SQL Server etc, if your web site need to save data into a database.

In the real world situation, a web server will be hosted on a secure server, located in a safe place and will be always connected to high speed internet. However, to develop a web application, you don’t need to worry about security and internet connectivity. You can use your own development computer as the ‘Web Server’.

So, your development computer must have all the 4 program’s mentioned above running well.

Since this tutorial is guiding you to develop web sites using ASP.NET, all the tools we are going to talk here will be the ASP.NET specific tools.

Web Server

There are several types of web servers. But if you like to develop ASP.NET web applications, you need a specific web server called ‘Internet Information Server’ (IIS). And if you like to develop your web site using PHP then i will prefer you to use apache web server.

IIS comes as part of Windows. But it is not installed by default, when you install Windows. Please see the chapter ‘Installing IIS‘ to find more about installing IIS. IIS can be configured to work with PHP.But for PHP technologies Apache with LINUX is prefered.

Editor to develop web pages

Ideally, you do not need any special editor to develop a web application. If you are an expert, you can simply use ntoepad to type HTML and the code for the web pages.

You don’t need to work too on basics so Microsoft gives a tool called ‘Visual Studio .NET’ to edit web pages and write code for ASP.NET.

In case of other technologies then you can get EditPlus,Nusphere PHPed, Dreamweawear etc.You can just search on google for free programming editor and you will get a list :)

Visual Studio .NET (VS.NET)

Visual Studio .NET allows to easily create web pages. Some of the benefits in using Visual Studio .NEt are:

  • You can simply drag and drop html controls to the web page and VS.NET will automatically write the HTML tags for you.
  • Start typing an HTML tag and VS.NET will complete it! When you start typing a tag, VS.NET will show you the HTML tags starting with the characters you typed. So, you don’t need to even remember all the tags.
  • If you type any HTML tags wrong, VS.NET will highlight the errors and tell you how to correct it.

So, even if you are not an expert, VS.NET can help you develop great web pages.

Browser

You need a browser to view the web pages you create. If you have any windows operating system in your computer, you will already have a free browser (called ‘Internet Explorer’).You can also download and install other web browsers like Mozilla Firefox and Netscape navigator or Opera.Just search for any of keyword like Opera,Firefox and you will get a long listing.I will prefer you to have at least three browsers but having Mozilla’s and IE6 is better combination for testing and development purpose.

Database program

A database program like MS Access or SQL Server or SQL Express is required only if you need to save data into database. It is not mandatory that all web sites need a database program.But if you want to have a nice dynamic site then i will prefer to make use of databases.It greatly can reduce your file system load by keeping most of data in database and so will result interactive and dynamic web sites.Most of web sites these days are database driven.

For PHP users the suggested database is MySQL. You can get this free from mysql.com web site.

Downloading Required Softwares:-(PHP users)

In case you want to use PHP for web development then you can easily download You required softwares from internet.You can choose any of pref red one fromhere:-

  • WAMP (Window Apache MySQL PHP) combination of all of Window Apache MySQL PHP.Freely can be downloaded from internet.Search for WAMP and download this.
  • XAMP Same like WAMP integrates all tools like MYsql Apache into a common space.
  • Download Apache from apache.net,Mysql from mysql.com and install them seperatly.

What is a Web browser? Understanding and explaining term “Web Browser”

Few Definitions for browser:-

  • Browser is an application, which helps us to view the Web sites and the web content.
  • Web sites are located in some remote systems, which needs a special kind of program or an application to access them, such an application is called browser.
  • A browser is an application which you can use to retrieve web pages from web sites and view.
  • When you type a URL in the browser, the browser will convert it into a web request which web server can understand. Browser will send the request to web server using the HTTP protocol.
  • When a web server returns a web page as a Response, the browser will understand the response and display the body of the response to the user in browser.
  • In simple terms a browser can be defined as “A software application used to locate and display Web pages”
  • You can create your own simple browser application using C++, C#, VB.NET or any other language you like. All you need to know is, how to compose a request which web server can understand, how to parse and display the response from web server and communicate with webserver using HTTP protocol.
  • Even though the basic job of browser is just send requests to web server and receive response from the server, modern browser provide several other enhanced features including Back/Forward buttons, save viewed files to disk so that they can be viewed later, cache images so that the same images need not be downloaded again and again etc.
  • Internet Explorer, Netspace, Mozilla are some of the popular web browsers currently available in the market.
  • Netscape was the most popular web browser till 4-5 years back, but currently more than 90% of the internet users use “Internet Explorer” to browse the websites.

Understanding web server and its workings

For search engine optimization, every thing counts, from the clarity of web design, to the relevance of email marketing as well as the quality and reliability of hosting.

What is a web server?

A Web server is a software program which serves web pages to web users (browsers).

A web server delivers requested web pages to users who enter the URL in a web browser. Every computer on the Internet that contains a web site must have a web server program.

The computer in which a web server program runs is also usually called a “web server”. So, the term “web server” is used to represent both the server program and the computer in which the server program runs.

Characteristics of web servers

A web server computer is just like any other computer. The basic characteristics of web servers are:

- It is always connected to the internet so that clients can access the web pages hosted by the web server.
- It has an application called ‘web server’ running always.

In short, a ‘web server’ is a computer which is connected to the internet/intranet and has a software called ‘web server’. The web server program will be always running in the computer. When any user try to access a website hosted by the web server, it is actually the web server program which delivers the web page which client asks for.

All web sites in the internet are hosted in some web servers sitting in different parts of the world.

Web Server is a hardware or a software ?

From the above definition, you must have landed up in confusion “Web server is a hardware or a software”

Mostly, Web server refers to the software program, which serves the clients request. But as we mentioned earlier in this chapter, the computer in which the web server program is also called ‘web server”.

Web Server – Behind the Scene

Now that you are reading this page, have you ever had a thought how the page is made available to the browser?

Your answer would be, “I typed in the URL http://www.aspspider.com and clicked on some link, I dropped into this page.”

But what happed behind the scenes to bring you to this page and make you read this line of text.

So now, lets see what is actually happening behind the scene. The first you did is, you typed the URL http://www.aspspider.com in the address bar of your browser and pressed your return key.

We could break this URL into two parts,

  1. The protocol we are going to use to connect to the server (http)
  2. The server name (www.aspspider.com)

The browser breaks up the URL into these parts and then it tries to communicate with the server looking up for the server name. Actually, server is identified through an IP address but the alias for the IP address is maintained in the DNS Server or the Naming server. The browser looks up these naming servers, identifies the IP address of the server requested and gets the site and gets the HTML tags for the web page. Finally it displays the HTML Content in the browser.

Where is my web server ?

When you try to access a web site, you don’t really need to know where the web server is located. The web server may be located in another city or country, but all you need to do is, type the URL of the web site you want to access in a web browser. The web browser will send this information to the internet and find the web server. Once the web server is located, it will request the specific web page from the webserver program running in the server. Web server program will process your request and send the resulting web page to your browser. It is the responsibility of your browser to format and display the webpage to you.

How many web servers are needed for a web site?

Typically, there is only one web server required for a web site. But large web sites like Yahoo, Google, MSN etc will have millions of visitors every minute. One computer cannot process such huge numbers of requests. So, they will have hundreds of servers deployed in different parts of the world so that can provide a faster response.

How many websites can be hosted in one server?

A web server can hosted hundreds of web sites. Most of the small web sites in the internet are hosted on shared web servers. There are several web hosting companies who offer shared web hosting. If you buy a shared web hosting from a web hosting company, they will host your web site in their web server along with several other web sites for a Fee.

Examples of web server applications

1. IIS
2. Apache

Find definition for ‘Web Server’ in Google:

http://www.google.com/search?hl=en&lr=&rls=GGLD,GGLD:2005-08,GGLD:en&oi=defmore&q=define:Web+Server