WebDev Masters

Web Development & Webmaster Resources

Browsing Posts tagged Using

Sometimes it’s useful to enable visitors to your site to upload content, for example, photos, which can then be displayed on the site.

Folders on a website, for example, an images folder will typically have permissions of 755, which means that normal visitors to the site will be unable to upload content into the folder. They will receive an error message if they try to do so.

In order to allow a file upload, one solution is to temporarily change the permissions on the folder to 777 before the upload is made, and then to change them back to 755 after the upload has been made.

The following PHP script shows how you can do this using PHP’s ftp_site command. This script only changes the permissions one way (to 777), it doesn’t change them back. You would need to extend the script or write another one to do this. The line that reads $mod = ’0777′; // permissions to be set is the one that determines what the permissions are going to be set to.

Note: Please note that for display purposes, I have used square brackets ‘[' instead of angle brackets for tag names. In order to use the script you will need to change the square brackets back to angle brackets.

[?php

// Set up variables
$host = 'www.xyz.com'; // host (website) that contains the folder you want to change
$user = 'username'; // username to log onto the host
$password = 'password'; // password to log onto the host
$folder = 'public_html/test/'; // folder name to change
$mod = '0777'; // permissions to be set

// connect to FTP site
$conn = ftp_connect("$host");
if (!$conn)
{
echo 'Error: Could not connect to ftp server';
exit;
}

// log in to FTP site
@ $result = ftp_login($conn, $user, $password);
if (!$result)
{
echo "Error: Could not log on as $user";
ftp_quit($conn);
exit;
}

// try to change the permissions on the directory
if (ftp_site($conn, 'CHMOD '.$mod.' '.$folder)) {
echo "Successfully changed permissions";
}
else {
echo "There was a problem changing the permissions";
ftp_quit($conn);
exit;
}

// close the connection
ftp_close($conn);

?]

The script is fairly straight forward. You initially set up a few variables for the host name and stuff like that, you then connect to the FTP site, log on to the site, change the permissions of the folder, and then finally log off.

The path to the folder (assigned to $folder) will be something like ‘public_html/…/’. Check with your ISP if you’re not sure what this is.

John Dixon is a web developer working through his own company John Dixon Technology. As well as providing web development services, John’s company also provides free open source accounting software written in PHP and MySQL.

Making millions online is something that we can all do, honest. All we need to do is learn the tricks of the trade, for example niche marketing and the power of PHP scripts online. Using niche websites to make the big bucks is the fastest way to do it not to mention the most fun.

A niche website can be anything from gall bladder disease or a special kind of car or even a single car part. Try to think of things that you have always wanted to know about but have had trouble finding info on. The more niche you go the better your chances of succeeding because the competition is nil.

Writing for niche websites is easy. You can use all kinds of sources for information. You can check out the library in your area to get some free resources or you can use the internet. The competition may not be very much but it is still there and by seeing what they have you can learn what to change or make better for your own. You can see what the weaknesses are of those sites and make sure you avoid them completely. This is a great way to make sure that you are always at the top of the heap.

Niche sites can be a lot of fun to work with. The topics can be pretty out there, you can go with something like senior dating or something as simple as how to find good car parts. Then add some Google adwords or sell and ebook or two and you are set. You will be raking in the dough all day long all week long!

The next step to making your niche website a good one is to get some good PHP scripts. These can be found online without any trouble at all, and even more important without having to pay an arm and a leg.

If you have ever had to pay a programmer to write a script for you then you know the hundreds or even thousands of dollars it can run you, it is painful! That is why getting a good PHP script package online is such a great idea.

This makes everything simple and straightforward. These packages come with all the things you need to make your niche marketing website a great one. You can find payment processors, email PHP scripts and everything else that you need to make your site one for the record books.

Niche marketing websites are the way of the future and if you want to make money fast and easy then it is high time you check them out for yourself.

Talia Phillips has been developing scripts that make life easier for people for well over 10 years. She is the powerhouse behind PHP Scripts Online .

When you make a request for a page from any Asp.Net application, it takes server some time to respond your request. During this waiting period, some server side tasks happen.

Application Life Cycle in General According to MSDN:
1-)User requests an application resource from the Web server.
2-)ASP.NET receives the first request for the application.
3-)ASP.NET core objects are created for each request.
4-)An HttpApplication object is assigned to the request.
5-)The request is processed by the HttpApplication pipeline.

When a request is made to an application the first time, ASP.NET compiles application items. This first request’s response can be slow due to compiling process which is being done by ASP.NET. After this compilation process, the subsequent requests can get faster response than the first time response.

But if any of the following happens, this compilation process takes place again, in other words they will cause an application restart.

* When you modify the source code of your Web application.
* When you add, delete or modify assemblies from the application’s Bin folder.
* When you add, delete or modify localization resources from the App_GlobalResources or App_LocalResources folders.
* When you add, delete or modify application’s Global.asax file.
* When you add, delete or modify source code files in the App_Code directory.
* When you add, delete or modify Profile configuration.
* When you add, delete or modify Web service references in the App_WebReferences directory.
* When you add, delete or modify the application’s Web.config file.

Take a look at the following links to get more information about this life cycle:
http://msdn.microsoft.com/en-us/library/ms178473.aspx
http://msdn.microsoft.com/en-us/library/bb470252.aspx

All pending requests will be served by the existing application domain and the old assemblies before restarting application domain, if an application restart is required.

Other than above items, an application pool can be restarted according to its own settings.

When this application restart happens, we have to wait for some time to get response from the server if we hit it the first time. Waiting can be tolerable in some cases but not all the time. The application could be very important or just annoys us to wait to get response from the application. Furthermore, do you think the visitors are patient enough to wait?

There is a good news for this situation. If you use ASP.NET 4.0 and IIS 7.5 you can set a few variable and it is done.
“ASP.NET 4 ships with a new feature called “auto-start” that better addresses this scenario, and is available when ASP.NET 4 runs on IIS 7.5 (which ships with Windows 7 and Windows Server 2008 R2).  The auto-start feature provides a controlled approach for starting up an application worker process, initializing an ASP.NET application, and then accepting HTTP requests.”
The above line from http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx page where Scott Guthrie talks about this specific issue.

If you serve your application from shared hosting environment and do not have much control over application pool settings, moreover you can not set isolated application pool for your application and other application causes to restart the application pool you are in and as a result you have to wait after each application pool restarting in the server. There is a solution they can offer you but what if you do not want to pay extra money for this..

While I was thinking possible solution for this, I thought if I could create a request periodically to my application, I would not get a late response. Because I might be able to warm up my application without waiting the first request to hit my app.

Afterwards I started thinking about a way of creating request automatically. I thought that a windows service might be very useful. What I did was basically I built a windows service which creates a request to URL’s. The URL addresses is read from an xml file called settings.xml.

Not very efficient but you can kind of get an information about your web application up time by inspecting logs that the service keeps. If you look at the source code you will see that a status code returns from each requests. If certain code is not returned, we take them as error and wrote its code into log.

Even though the solution seems appropriate, there is one drawback. We need a machine which will run continuously with an internet connection.

Now, I am going to try to explain each step I have taken and you should as well if you want to apply this solution. All files, executables, images used in this article are downloadable and you can see those files at the end of this writing.
This settings.xml file should be at the same path where service’s executable file stays. You can write as many URL addresses as you want create request to, enable or disable logging, specify how often we should create request to URL.

All these settings can be done inside settings.xml file.

I wrote this windows service by using;
—————————————————-
Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1
on Windows Vista Home Premium Service Pack 2

Following is the settings.xml file that the service are reading from.
——————————————————————————————–
<xml version=”1.0″ encoding=”utf-8″ ?>
<MySettings>

<!– If we want to keep the log files, we should set 1 otherwise 0. –>
<EnableLogging>
<Enable>1</Enable>   
</EnableLogging>

<!– Write the web site URLs that you want to warmup periodically. –>
<WhichSites>
<WebSite>http://www.yasarmurat.com</WebSite>  
</WhichSites>

<WhichSites>
<WebSite>http://www.microsoft.com</WebSite>   
</WhichSites>

<WhichSites>
<WebSite>http://www.google.com</WebSite>
</WhichSites>

<WhichSites>
<WebSite>http://www.xyz.com</WebSite>
</WhichSites>

<!– How often warmup process will work. (In minutes) –>
<HowOftenAreWeGoingToCheck>
<HowOftenInMinutes>3</HowOftenInMinutes>  
</HowOftenAreWeGoingToCheck>

</MySettings>

You can add as many web sites as you like by adding following tags into settings.xml file.
<WhichSites>
<WebSite>http://www.yasarmurat.com</WebSite>  
</WhichSites>

Main part of this service is below. It simply creates a web request and takes response from the server.
———————————————————————————————————————————————
//WarmUpAspNetApp section.

System.Net.HttpWebRequest request = (System.Net.HttpWebRequest)System.Net.WebRequest.Create(Convert.ToString(hashWhichSitesSpecification[@"WhichSites_" + i.ToString()]));
request.Credentials = System.Net.CredentialCache.DefaultCredentials;
request.Method = @”GET”;
request.UserAgent = “Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)”;
System.Net.HttpWebResponse response = (System.Net.HttpWebResponse)request.GetResponse();

if (response == null || response.StatusCode != System.Net.HttpStatusCode.OK)
{
writeIntoEventViewer(@”The request which was made for [" + hashWhichSitesSpecification[@"WhichSites_" + i.ToString()] + @”] returned [" + response.StatusCode.ToString() + @"] as the status code.”, System.Diagnostics.EventLogEntryType.Error);
}
else
{
if (Convert.ToInt32(hashEnableLoggingSpecification["AreWeGoingToLog"]) == 1)
{
writeIntoEventViewer(@”[" + hashWhichSitesSpecification[@"WhichSites_" + i.ToString()] + @”] gave response successfully.”, EventLogEntryType.Information);
}
}

response.Close();

//WarmUpAspNetApp section.

You can download either Visual Studio Solution File or just the necessary files to install and use this service. If you want to download solution file click on WarmUpAspNetApp.rar or just want to download the necessary files click on AspNetWarmUpService.rar from the link at the end of this writing.

Before starting install the service I assume that you have copied the necessary folder into root of C drive as follows.
C:\AspNetWarmUpService
Following are the files which are needed to be inside this folder.
C:\AspNetWarmUpService\installService.bat
C:\AspNetWarmUpService\uninstallService.bat
C:\AspNetWarmUpService\WarmUpAspNetApp.exe
C:\AspNetWarmUpService\WarmUpAspNetApp.pdb
C:\AspNetWarmUpService\WarmUpAspNetApp.vshost.exe
C:\AspNetWarmUpService\WarmUpAspNetApp.vshost.exe.manifest
C:\AspNetWarmUpService\settings.xml

Now, we can install the windows service as follows:
———————————————————————–
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe C:\AspNetWarmUpService\WarmUpAspNetApp.exe

Here I assume that you have already installed .NET framework and placed the folder named AspNetWarmUpService under C drive.

In case you need to remove this service, the following is the way to do this. Uninstalling service:
————————————————————————————————————————————-
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe /u C:\AspNetWarmUpService\WarmUpAspNetApp.exe

As you can guess, this is command line where we run above lines. If you use Vista you need to open cmd.exe with Administrator privilege. If you do not, you will not be able to install or uninstall the windows service successfully. To be able to run command line with administrator privilege, you can do one of the followings:

Method A-)
1. Press the Win keyboard key or click on Vista Start button.
2. Type cmd into the Start Search textbox.
3. Press Ctrl+Shift+Enter keyboard shortcut. Ctrl-Shift-Enter is the general keyboard shortcut that triggers elevation to “Run as Administrator”.
4. Press Alt+C or press Continue to confirm the UAC elevation warning prompt.

Method B-)
1. Click on Vista Start button.
2. In the Start Search box, type in “Cmd” (without quotes).
3. Right click on the Command Prompt in the search result listing.
4. In the right click menu, click on “Run as Administrator” menu item.

After installing the windows service, we need to set up some properties of this service in order to run it properly.
* Click on Vista Start button.
* In the Start Search box, type in “services.msc” (without quotes).
* If warning prompt appears, say continue.
* Go to bottom and find WarmUpAspNet service.
* Right click on it and choose properties.
* Make sure startup type is set to Automatic. (It should be by default.)
* Go to Recovery section and choose “Restart the Service” for first, second and subsequent failures.
* Click Apply and OK.
* Right click on the service and choose “Start” for starting the service.

Setting “Restart the Service” for 3 type of failures is very important. If you do not do this, service will not be able to restart itself, if something goes wrong while it is being runned. Also every 10 hours, service is being restarted in case any memory leak.

These 3 has to be set “Restart the Service” otherwise the service will not work as it is expected.

After waiting the time you specified in settings.xml file between 3 tags, you should be able to see the log inside event viewer with the key “WarmUpAspNetApp Service”. Again I assume you have enough privilege to write into event viewer. I use Windows Event Viewer to keep log on these requests. You can implement some other mechanism while you have the source code. Writing into txt file, or sending an e-mail when an error occurs or something else you appreciate with.

If you do any changing in settings.xml file, you must restart the service manually in order to take effect those changes. Otherwise, it will take effect after the service restarted by its logic.

I have explained each step I have taken here with screenshots in the following link. You can also download the solution file, only necessary files to install the service and the screenshots from this link as well.

http://www.yasarmurat.com/Blog/33/asp-net-application-warm-up-by-using-windows-service.aspx

Have a great day.

My name is Murat Yasar.

I was born in Istanbul, in 1976 and have been living here since then.

I work as a .NET developer in a company.

http://www.yasarmurat.com

A PHP file manager is an advanced tool for managing file systems and it is available on a single file. This software is very useful for managing all kinds of directories and files, which are available on a FTP server or your web server. The same software has many features and functions. It is helpful in renaming, creating, uploading, and deleting directories. With its help you can edit, rename, download, delete, as well as search files. You can even change directory and file permissions.

A php file manager works quite well with FTP connections. However, you should bear in mind that if you fail to arrange an FTP connection in your configuration, then the php file manager would be using the local file system. If that happens then you will be able to access only the directories as well as files for which the PHP has read permission, at least. If you wish to upload, rename edit, or delete certain files, or change the file permissions then PHP will also have the write permission for the same files or directories.

You can use PHP file manager as a stand-alone software. However, you will also find that it is quite easy to integrate the file manager within your own website. When you download the manager, you can go through the usage section to find out the way in which you can do it. The updated version or the latest version of the PHP file manager has many useful features. It works properly with FTP servers, that is UNIX and Windows, and even with the local file system. It has the ability to support multiple languages. You can adapt it by modification of CSS file and configuration file, with ease. It is very easy to integrate it with your website and it can support icon view and detailed view.

The other features of the PHP file manager are also very good. The file manager has a built-in editor for all kinds of text files. It has a built-in preview with thumbnails for images. The built-in action log is also helpful. Features like integrated directory and file search make it user friendly. The file management tool has the capacity to support automatic setting of various permissions while uploading files or creating new directories. It can also support automatic modification made to lowercase or to replace spaces of filenames for different uploaded as well as downloaded files.

With the help of PHP file manager, you can upload up to 10 files at a time. It maintains automatic backup creation while uploading files. It can support password protection for login. Another thing that the file manager supports is hiding of files with arbitrary extensions and system files.

A Php File Manager is a form of modern tool that is useful for the management of file systems and you can get it on one file. The software comes very handy for managing different directories as well as files, available on either a FTP server or even your web server.

Steve Callen has been contributing to leading magazines for the past 10 years. He’s also an accredited researcher on the subject for leading research institutes in the US.

Even if you don’t know one bit of PHP, the Dreamweaver PHP buttons can help you create database functions on your webpages. Learn more in this lesson on Dreamweaver and PHP/SQL


I’ll admit that I am not a coder and I don’t know much more than a tiny bit of PHP at the time of writing this. However, I have managed to create database driven webpages, and even password protected members only areas due to the extremely easy to use PHP buttons in Dreamweaver.


If you are interested in learning to do this for yourself, this lesson will point you in the right direction so that you can experiment and see for yourself how easy it is.


The first thing you need to do is to create an SQL database on your webhost. This can be done via CPanel or if not that, then ask your host how…anyways, creating an SQL database with 1 table is not hard.


The key is, to create it, record the information and then try to log in to that database via Dreamweaver.


You can do this by creating a new database connection in the ‘Application’ window of Dreamweaver.


This is one of the most challenging parts, and you’ll need to set up the site’s testing server. At first this can be tricky, but if you stick with it and get connected to your SQL databas via Dreamweaver, you’ll soon find ways to insert records, display records, and much more!


You see, once you are connected to the database, the table names will dynamically show up in Dreamweaver, and from there it is only a short step to learn how to insert records, repeat records, and display data in the database.


Of course reading a book can help you with PHP, but it is also fun to just jump right in the Dreamweaver buttons.


Even a total PHP dunce like myself was able to start creating little PHP/SQL applications once I figured out these basic steps.


So if you want to create PHP applications, but don’t know how to hand-code PHP, create a PHP/SQL database with 1 table, figure out how to connect to it via Dreamweaver, and start messing around with the Dreamweaver PHP buttons.


In a few hours time you’ll see what creating PHP/SQL applications in Dreamweaver is all about.


For more information on Dreamweaver including step by step video tutorials, visit http://www.dreamweaverhowto.com

Jay Gilbert offers step by step guides for people who want to sell info products online. Sign up for the free Dreamweaver tips training course.

STEP 1: Open a new blank html file in Microsoft FrontPage and save it as index.html

 

STEP 2: Insert the following tag exactly after the tag.

 

 

 

STEP 3: To insert gujarati text in the body part

 

A.    Do it by knowing Unicode

 

i)     Type the code for characters that you desire to display on the html page. Here is the code-chart.

 

OR

 

B.     Use a keyboard utility that will help you to easily create content in Gujarati.

 

i)       Copy the whole content from that utility to your html page.

 

OR

 

C.    Install a Language Package Interface (LIP) from Microsoft site.

 

a)            Visit http://www.microsoft.com/unlimitedpotential/programs/llp.mspx

 

b)            Click on Localization Language offerings

 

c)             Select India in the image and Select Gujarati from the Asian languages List.

 

d)            Insert your download (ie. Windows vista, Windows XP, windows 2003)

 

e)            After validation of Genuine Microsoft product, it will provide a Download button.

 

f)             Download and save the file at appropriate place (by default, the name of the file will be LIP_gu-IN.mlc).

 

g)            Double click the file and go through the setup process, at the end of which Gujarati package will get installed in your computer.

 

h)            Now Click on Start->Control Panel

 

i)              Click to open Regional and Language Options.

 

j)             Click the Keyboards and Languages tab, and then click Change keyboards.

 

k)            Under Installed services, click Add.

 

l)             Click the language Gujarati (India) and then click OK.

 

m)           Now you will see a language bar in the task bar. It will show the current input language.

 

n)            Create the text part of the html page using Microsoft Word[Ensure that current keyboard language should be GU in language bar to type in gujarati]. Use the fonts that support Unicode like Arial Unicode MS, Shruti,etc. [Take help of Character Map, when needed]

 

[ To change the input language : Click the Input language button on the Language bar, and then click GU Gujarati (India) or EN English ( United States) as per your wish. If you don't see the Language bar, right-click the taskbar, point to Toolbars, and then click Language bar. ]

 

o)            Copy the content to Front page html file.

 

STEP 4: Now you are ready to publish the page.

 

STEP 5: Donâ??t forget to check it on different browsers like IE, FireFox, Opera,etc.

Ms. Jikitsha Sheth

Lecturer,

Shrimad Rajchandra Institute of Management and Computer Application.

Gopal Vidyanagar, Ta. Mahuva, Dist. Surat

Pin – 394 350

www.srimca.edu.in

1. Separate content from presentation. An external style sheet can contain all the styles for your web site, then if you want to change the content you only have to edit one style sheet. This is great for a web site that contains hundreds or thousands of pages.Imagine if you had to edit each page..it would take you forever.

2. Google benefits. Google gives more weight to content closer to the top of your HTML document. Search engines spider the content that comes first in your source code. With CSS you can easily structure the content to appear first with the rest of the source code following it. This will help outrank your competitors who may have their navigation appear first and their content last..

3. Fast loading pages. Tables slow down the loading of your pages because the spider has to crawl through each table. If your tables are nested inside each other your page will load even more slowly. Designing CSS-based web pages will speed up the loading of your pages considerably because the styles are all contained in one style sheet.

4. Small file size. CSS will reduce the file size of your html document. If you look at a web page that is designed with CSS you will notice that the size is very small compared to one designed with lots of tables. This also helps reduce load times.

5. Reduce clutter. CSS allows you to get rid of a lot of extraneous html code therefore making your site code neater and cleaner. This makes it easy to alter the code if you need to make edits.

6. Eliminate javascript. Many people surf the web with javascript turned off because they don’t want to be vulnerable to viruses or allow pop-ups. This means that the beautiful javascript navigation you produced will not
be seen. You can often achieve the same affect with CSS navigation. These allow for rollovers and other pretty affects and are much more user friendly.

7. Accessibility. If you use CSS2′s aural properties it provides information to non-sighted users and voice-browser users. The CSS2 “media types” (used with @media rules) allow authors and users to design style sheets that will cause documents to render more appropriately for certain devices such as braille devices, speech synthesizers, or tty (text telephone) devices.

8. Save time. CSS will allow you to design your site much faster than tables because there are some styles you can use for every site. I store “often used” CSS snippets in a special file where I can easily access them for any site I design.

9. Save money. CSS will shorten the project development process and eliminate design obstacles that occur from using tables. If designing many web sites you will be able to use the same style sheets or just make a few modifications to them. You will still charge for the design project but it won’t take as long as when using tables thus making you more money in a shorter time period.

10. Flexibility of design. You can use pixel precision in your web site designs. By adjusting the margins and padding of the CSS you can easily adjust the position of your content. You can also create very modern designs that can’t be duplicated with tables. For example you can use a background image for a header then place your content over it using the H1 tag for better page optimization.

From Here You can find more usefull tips and templates regearding free css templates

Freelance Web Designer

With a rapid advancement of technologies and opportunities like web 2.0 there has been a dramatic change in web design. Earlier websites that where animated and flashy were considered to more fancy and trendy. But, if you look at the present scenario, today the accessibility and usability of a website has become more important.

Driven by web 2.0 technologies, the table design of the past has been replaced by layer-based, table-less XHTML and CSS templates which offers more flexibility in website designing together with slim and clear source code. CSS that stands for Cascading Style Sheets is a simple mechanism language that facilitates user for adding style to structured web documents. It is a new step in web design and allows web designers to systematize the style and layout of multiple web pages all at once.

Using CSS for website designing has been evolving for quite some time and today many web development companies are adopting this latest version. This tool is gaining its wide acceptance and recognition from all leading web design companies. It has actually opened the doors towards lots of powerful and rich opportunities. It even gives an edge to all those businesses and organizations who want to use the internet and their website to expand and develop their business.

If your website design requires constant changing of appearance then it can be as simple as linking a new CSS file or editing the existing CSS file. In addition to this, if you have a seasonal business and you want to design seasonal themes for your websites then you can easily create a different CSS file for each season. It facilitates any web designer to move display code out of the HTML elements in the relevant web pages, excluding the straight content and this further makes it a lot easier to implement changes to any web design. It also saves a lot of work when designing a website. As most modern browsers now support Cascading Style Sheets, so it’s safe and easy to use. Besides this, the major benefit of CSS is reducing bandwidth. Compacted code generated by CSS generally decrease the amount of bandwidth needed to host web pages, and this helps in reducing the overall fees.

Talking about some of the other great advantages of CSS is this tool even helps in making your website more search engine friendly. It separates the design and code elements of website and this in turn helps in making site more search engine friendly. Search engines always look at the amount of code on your site relative to the amount of content. Making the best use of external Cascading Style Sheets file gives you plenty of content relative to the amount of code because all of your design code is stored in a separate file. Moreover, this application also makes a website light-weight which is generally favored by major search engines. It removes junk HTML codes and keeps them well controlled that make them a favorite among the search engine spiders.

Cascade Style Sheets provide much more flexibility in terms of the website presentation. It can develop strategies for maximizing forward and backwards browser compatibility. On the face of it, CSS application provides plenty of exposure for web designer in the creation of attractive and standard web design.

India Designers is a leading web design company specialization in web 2.0 design, ecommerce web development, social media marketing, internet marketing, social media optimization and search engine optimization

Internet business owners are by now very well familiar with the importance of link building. In a nutshell, more backlinks a site has, higher it ranks on search engines. Link building therefore is the most sought after off-page promotional activity for most site owners. But with so many people online and so many competition sites, how do you build enough backlinks to outrank your competition?

It is hard these days but not impossible. You just need to use link building methods that are not totally traditional and not being used by just about all average Joes. Link building using CSS Galleries is one of the not so common methods that can give you some really high PR backlinks that your competitor is most likely not using.

Just for those who are not familiar with backlinks and link building, a backlinks is a link that is pointing to “your” site from “other” site. Google and other search engines consider that link as a vote and more backlinks you have, higher your site ranks on search engines.

Now regarding CSS Galleries, they are online image galleries showcasing screenshot images of sites that are designed using CSS template. A god number of sites these days are being designed using CSS due to its ease of use and scalability. It is very easy to change the layout or content around the site without changing the entire template or major site overhaul. Due to it’s user friendly coding and flexibility, CSS designed sites are getting more and more popular.

There is a very good chance that your site is also designed using CSS. If you are not sure, then just look at your site files and see there is a CSS file there or not. If your site has a custom design, then you can submit your site to many CSS galleries available out there. Some CSS galleries where you can submit your site to is as high as a PR7 site so you know you are getting a strong backlinks form your submissions.

The way CSS gallery submission works is that you submit your site URL, title, and in some cases screenshot or thumbnail to these CSS galleries sites. If approved, you will have your screenshot displayed on the galleries that will also link to your site. You therefore are not only getting a backlink but may also get some traffic to your site.

How to find those CSS galleries to submit to? Just Google CSS Galleries or CSS gallery and you will find dozens of sites where you can submit to. Take charge of your link building campaign and utilize this method to take advantage of it before your competitors do.

Secret to success is to learn about SEO and stay on the top of it. Even just the traditional promotional methods can help you rank higher if you stay focused and just keep working on it. Most people give up after building a few backlinks thinking that they are not going anywhere. It takes time to get a site ranked and if you keep building backlinks, success is just a matter of time.

To learn about other methods of building backlinks, visit the author’s SEO Blog or the Link Building Service site

I’ll tell you something straight up. I’ve used Kompozer, a free html editor that I’m sure you know, to build myself some nice little websites that, without fail, sell a bunch of my products every month. And the funny thing is that I’m no expert whatsoever with using html, which means you can easily do a similar thing! This article will show you how to get started…

The first thing you need to know is that I started from the basics, and the second is that a website doesn’t have to be a beautiful work of art in order to make sales. As long as it gives the viewer what the viewer needs then you’re starting on the right foot.

Okay, now let’s talk about the basics, because you really DO need to know this stuff. It’ll just make your life easier. I never set out to be a html expert, or coder, or whatever you call it, but I’m glad I learned the basics. That means I can now create a really simple website in Kompozer and edit it myself, without having to get someone in to do it. And that saves a LOT of time, believe me.

So what are the basics then? Well, let’s keep things real simple. The basics are just knowing how to make a website page look alive and easy on the eyes. You don’t need to know much, but you’ll want to understand how to do these things… make text bold, italic, bring in images, make links work, make simple tables, keep stuff lined up and centered, know how headlines work, and the rest you can learn as you go.

If that all sounds like too much hard work then there’s a few things that might help. Firstly, remember that all things are hard before they’re easy, and secondly there’s hundreds of really helpful html know-how websites around the place that’ll show you exactly how to do what we just talked about. :)

But probably the best way though is to open Kompozer and just start playing around with some sample website templates, and see what happens. That’s what I did, and what I still do… Look ‘under the hood’ to see how it’s done, and learn from that. If you want to create profitable websites then that’s your first step – know the basics.

Martin Hurley helps Kompozer newbies become instant experts at http://kompozervideosclub.com Visit now to start building great looking websites using a brand new range of Kompozer how to videos and get a 5 lesson quick start coaching session thrown in!