Saturday, January 5, 2008

5 Ways to Create More Money in RSS


RSS stands for Rich Site Summary or Really Simple Syndication, and it is now attracting serious money. RSS is a format used to publish someone’s content on another person’s website. It allows you to receive free feeds from innumerable number of blogs and news services. Thus, RSS keeps your website up-to-date for the public’s consumption. RSS is allowing people to earn money on information.

I have listed five simple and easy steps in creating more money in RSS .
1. Make sure that your RSS feeds are readily available to the general public. The users must easily notice your RSS content. Your RSS must hint the users of its general nature.

2. You must have an extensive promotion of your RSS. Try to post your RSS on popular mainstream websites and be creative in doing so.

3. You must offer continuously unique contents through your RSS feeds so that user will return over and over again. Make sure that your contents are not found anywhere else. See to it that you are always one step ahead. So start pumping you creative juices.

4. Make sure your RSS content are always fresh. Users do have an appetite for freshly updated RSS content so keep them posted.

5. Lastly, try to always enhance your RSS . With the unlimited resources over the Internet, try to modify your RSS so that users will have an impressive time while visiting your RSS .
With these simple ways, you are now ready to make more money on RSS . So what are you waiting for? Discover what RSS can do for you and you business and take advantage of it!


By Sean R Mize

3 Reasons Why PHP Message Boards Rock


f you are web designer, chances are you include forums on at least some of the sites you manage. If you haven't explored PHPBB2 you are missing out as this type of message board offers to designers a forum that is well supported, easy to manage, and above all else: free! Let's see why PHPBB2 is a hit with so many web designers.

Compared to some web designers, I am relatively new to the business. I created my first forum with MSN groups in 2002 then, six months later, I made the move over to EZBoard. Sure, it did not have all the bells and whistles of vBulletin and other corporate developed boards, but it did the trick for me. That is, until EZBoard was hacked and my livelihood nearly disappeared in moments some two years later!

In search of something different, I considered the move to vBulletin, but I was quite frankly not wanting to shell out license and upgrade fees on a regular basis. At the time of the EZBoard incident, I was running six forums, so I knew that I would eventually have about that many when I completed my transition away from EZBoard.

So, why PHPBB2? For three reasons:

1. It is free. Yes, absolutely! Since it is "open source" code, developed by the developers, it is offered as a free download to whosoever will. Believe me that is a big appeal and, apparently, many designers around the world feel the same way as over 200,000 people are members of their support forum.

2. It can be used across platforms. Whether you work in Windows or Linux, IIS or Apache PHPBB2 is usable and fully functionable.

3. Highly modifiable. Open Source extensibility is evident with the incorporation of PHP, HTML, CSS, and MySQL into the forum.

For the novice, PHPBB2 does take some getting used to especially since you are responsible for installing, maintaining, backing up, upgrading, and modifying your own forum. For your benefit you can access onsite Flash tutorials which are a great way to walk your way through the installation process too. As with any software it is vulnerable to outside attacks, so take care to make sure you regularly back up your forums and familiarize yourself with the security procedures.

In all, PHP message boards really do rock and at a price that cannot possibly be beat!

By Matthew Keegan

Should I Learn PHP and MySQL or Not?


I've had quite a few people ask me this question: "Should I learn PHP and MySQL?".

The answer is never easy. It all depends on what you're trying to accomplish. Are you looking to be involved in your own website? Is it being run on PHP and MySQL? What would you like to do with your website?

There's a million questions you can ask yourself. I, personally, believe that anyone who wants to become more involved with their own website or run their own Web Design and Development Company should, at the minimum, learn the basics of PHP and MySQL.

Why should you? Well, let's take a few examples...

Maybe you want to create a Members are on your site and you want to be able to offer downloads, use a more interactive Contact script, show information dynamically for your customers (i.e. Time and Date, Their personal information, the information they searched for last, Billing information, Download history, username and/or password, etc) to make it easier for them to browse through your site.

Maybe you want to be able to use PHP for your Search Engine Optimization needs? Needs such as 404 Redirects, 301 redirects, etc.

Maybe you need to create a built in search system for your e-commerce site? Maybe you're looking to simply redirect people to an Affiliate program?

See the many, MANY ways you can use PHP? It's a very valuable tool to know and understand. Imagine yourself having the knowledge to take a product like Wordpress and fully customize it to your own, personal, needs?

Think you can make money off of one of your Wordpress Plugin Ideas by knowing PHP? Think you can build a better Content Management System than what's currently available? What about a new Social Networking Script - OR Community?

Companies like PHPFox have made a killing with their php knowledge. Likewise for companies such as Mambo, vBulletin and various other scripts that you can purchase.

So the next question would be HOW you can learn PHP?

There's a million ways to learn but I try to explain to everybody that watching Videos and DOING the coding practices they ask you to do is how you'll learn quickly.

Sure... lot's of people have learned PHP by reading books. But I find the problem with books is a lack of support. You're always going to learn more by seeing and doing rather than reading and doing. Luckily there are solutions to this problem.

You can also visit popular forums such as Sitepoint, Digitalpoint and other Webmaster related forums or communities that allow other members to help with questions and answers.

No matter what you choose to do - just remember that DOING is how you learn. Practice without reading or watching. Just take the little knowledge you have at the time and make it grow with practice.

I hope you figure out what you need to accomplish and good luck!

By Clint Lenard

What Makes A PHP Web Hosting Companies Perfect


Most of us know PHP has revolutionized web designing and dynamic web programming since its public release in 1995. Main reason behind this is its stability, fast performance and FREE availability. With its ready to use source code, powerful core libraries, it has become one of the most popular scripting languages over the years.

We'll try to find out here some of the best companies supporting PHP web hosting.

Following are few points which must be looked into before going for any of the best web hosting company.


Reliability of the company

Disk Space offered

99.9% Uptime

Customer support

Data transfer / Bandwidth

Scripting support - CGI, PHP, ASP

Control Panel

FTP access

Multiple Domain and sub domain support

From our research and analysis, we've found out few companies offering the best web hosting in the market.

We've taken example of three companies among the web hosting providers 1.BlueHost, 2.GoDaddy and 3.HostMonster.

BlueHost offers $6.95/month (2 year) package which includes 300GB web space, host unlimited domains, 2500 e-mail accounts, e-mail forwarding and autoresponders, unlimited subdomains, 50 MYSQL databases, 50 postgre sql databases, CGI Support, Site statistics, Support for PHP and Flash, Additionally Blog, guestbook and mailing list and CMS (Mambo and Joomla) support, Streaming video and audio support, OS Commerce and SSL secure server support, FREE search engine submission.

GoDaddy offers $5.59/month (2 year) package (Deluxe plan) which includes 100GB web space, 1000 GB transfer, 1000 e-mail accounts, unlimited domains, 25 MySQL databases, unlimited e-mail forwards, support for forum, blog and photo galleries. Additionally offers $25 google adwords credit, $50 Microsoft adCenter credit.

HostMonster offers $4.95/month (2 year) package which includes 300GB web space, 3000GB transfer, unlimited domains and subdomains, unlimited e-mail accounts, forwarding and autoresponder support, CGI /PHP Support, 100 MySQL Databases, 100 PostGreSQL databases, Web statistics, Audio and video streaming support, Flash support, Real Audio and video Support, $50 yahoo credit, $50 google credit and search engine submission for your website.

If we carefully compare the packages offered by these companies, we can see that HostMonster offers the best package with $4.95/month for 2 years. You can follow the same guideline for choosing other best web hosting packages available out there.


By Ben Huang

Speeding PHP Using APC PHP Cache


If you look at a PHP source file you will notice one thing. It's a source file. Not particularly surprising, but think about when you deploy a PHP application, what do you deploy? PHP source files. Now for many other languages; Java, C, etc when you deploy an application you deploy the compiled file. So, the question that you want to ask yourself is this, how much time does a PHP application spend compiling source files vs running the code? I'll answer that for you, a lot.

There are advantages to being able to deploy source files though. It makes it easy to do on the fly modifications or bug fixes to a program, much like we used to do in the early BASIC languages. Just change the file and the next time it's accessed your change is reflected. So, how do we keep the dynamic nature of PHP, but not recompile our files every time they are accessed?

A PHP cache. It's surprising to me that this concept isn't built into the base PHP engine, but perhaps that's because some company's can sell this add on to speed up PHP. Luckily for us, some companies/open source projects provide this plug in to PHP at no charge. These plug ins are generally known as PHP accelerators, some of them do some optimization and then caching and some only do caching. I'm not going to pass judgement on which one is the best, any of them are better than nothing, but I decided to use APC, the Alternative PHP Cache. I chose this one because it is still in active development and is open source and free.

Alternative php cache can be found at php.net, just look down the left column for APC. It comes in source form, so you will need to compile it before installing it, don't worry about that part. If you're using Red Hat 4 or CentOS4 I'll tell you exactly how to do it. If you're using something else, you'll need the same tools, but getting the tools might be a bit different.

1. The Tools
Do you know how many web sites, forums and blogs I went to with my error messages before I found the answers as to what I was missing when I was trying to install APC - Alternative PHP Cache? Two days worth, but I finally found the correct combination and it's really quite obvious as is everything once you know the answer. There are three sets of dev tools that you will need.

1a. You'll need a package called "Development Tools" this will include all the important dev tools like the GCC compiler, etc.
1b. You'll need a package called php-devel which as you might guess are development tools for PHP
1c. You'll need a package called httpd-devel which of course are dev tools for Apache web server.

On Red Hat or CentOS getting these should be as easy as the following 3 commands:

yum groupinstall "Development Tools"
yum install php-devel
yum install httpd-devel

You'll do these three one at a time and follow any instructions (usually just saying yes).

Now it's time to follow the instructions contained in the APC package. Since these may change over time I'm not going to go through them. They are very complete. If you follow the instructions and get an apc.so file out of it, then you're all set, just modify your php.ini file and you're good to go.

There are two problems that I encountered that you may encounter too. The first is an error when running phpize. I ignored this error and everything succeeded okay, but not before I spent hours looking for the solution to this error. Here is the error.
configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG

run info '(automake)Extending aclocal'

or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
configure.in:33: warning: underquoted definition of PHP_EXT_DIR
configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C

People would have had me updating my PHP version from 4.3.9 and everything else under the sun to get rid of this error, but in the end it didn't matter. My APC compiled and installed nicely and I am good to go.

The other slight problem that I ran into was the location of php-config. The install instructions wanted me to do the following:

./configure --enable-apc-mmap --with-apxs
--with-php-config=/usr/local/php/bin/php-config

However my php-config is in /usr/bin/php-config. Making that change allowed this part to work.

So, have at it, once it's done you can expect to see huge improvements in your web site response times and reductions on your CPU load. One more quick note, My server hosts about 20 web sites, but only 3 or 4 are really busy. To reduce the memory footprint of caching everything for all 20 sites I used the apc.filters property. Although this property is slightly flawed for non qualified includes, it worked nicely for my Serendipity blogs. Your mileage with this property will vary according to the software you are using and how it does it's includes.

By Jon Murray

How to Use an RSS Feed to Provide Content for Your Website

Search engines love websites that are continuously updated with fresh content. As a website owner, if you want to achieve or maintain a good search engine ranking, then your goal should be to continually provide updated keyword–based content on a regular basis to your website. Naturally, if you're providing the content yourself, this takes a lot of work. Let me show you how you can get fresh, keyword-based content updated on your site on a daily basis with no work on your part using RSS feeds and PHP, and most of all, the search engines will love it!

RSS is an acronym that is short for Really Simple Syndication. It's a type of XML (eXtensible Markup Language) that is used for syndicating content. XML is used to describe data and is basically a markup language – like HTML.

Before I go into the list of items that are needed to make all of this work, I will mention that the details outlined in this article apply to websites that support PHP. PHP is a popular server-side scripting language that is used to create dynamic website content. If your website is running on a Unix-based operating system (like Linux), chances are your web server supports the PHP scripting language. Check with your web host to be sure.

Now, I can make this a long drawn out article on the technical details behind RSS, XML and PHP, but that would result in a boring article that hardly anyone would read! Instead, I'll just layout the necessary details for an entrepreneurial minded individual to setup a website using these technologies in a quick and least confusing fashion, I hope.

Task: Let's say we run a website on gardening and we want to use an RSS feed to add changing content to our site on a regular basis without us having to do any work.

Our goal is to make this new content readable by the search engine spiders. In order to do that, the content needs to be returned via server-side scripting – not client-side scripting (i.e. JavaScript). This is a mistake that a lot of websites that use RSS make.

You see, JavaScript is executed by the client; PHP is executed on the web server. When a search engine spider comes across a JavaScript 'script' tag, it stops spidering until it moves beyond the closing 'script' tag. On the other hand, PHP converts the script to HTML on the web server and sends the results back to the client (browser). So when a search engine spider comes across a web page that uses RSS with PHP, the spider only 'sees' the returned HTML – as if the PHP script were never there. So, PHP with RSS is definitely the route to take for SEO conscious website owners.

Here's what we need to accomplish our task:
1) An RSS feed link
2) An RSS Tool (PHP script) that can convert an RSS feed into HTML
3) An HTML output-template

Getting an RSS feed link...

A good place to start looking for an RSS feed is 2rrs.com, where you can execute an 'RSS Search' for the keyword 'gardening'. You'll likely see a bunch of results. Click on any of them. You'll now find an RSS2HTML link under the 'Details' section - which is your RSS feed link. Copy the full HTTP path to this link; we will need it for configuration in later steps.

Now we need to get an RSS Tool (PHP script) that can convert an RSS feed into HTML, and we also need an HTML output-template…

So, we need a method to take our RSS feed and convert it into HTML so we can insert it into our web page. The best way to do this is to use an awesome little PHP script called rss2html.php.

You can download this script here: http://www.feedforall.com/more-php.htm (Choose Option two -> Download)

Unzip the download file and you'll find a sample HTML output-template file called sample-template.html and an rss2html.php file. These files will eventually need to be moved to your web server, but before you do that, let's configure everything...

The PHP file is the work horse and does the RSS XML to HTML conversion, so there are some configuration settings within this file that need to be set. Open the file in a regular text editor (like Word Pad) and make the following 3 configuration changes:

Configuration change #1:
Find the following line of code: $XMLfilename = "sample.xml"; Change it to: $XMLfilename = "Your-RSS-Feed-Link";

The above line of code tells the PHP script where to get your RSS XML feed (file). Remember, the RSS XML feed contains the content which you are trying to add to your website. The website that you get your RSS feed from will update this feed as new content becomes available from the website. (Note: be sure not to download the XML file and specify a local path to it – this will result in your website always using the same XML file – which means your website will not be updated with new content from the RSS XML source.)

Configuration change #2:
Find the following line of code: $TEMPLATEfilename = "sample-template.html"; Insert your HTML output-template name in place of sample-template.html.

The rss2html.zip that you downloaded from the feedforall link above comes with a sample-template.html that you can use. However, the template from feedforall encompasses the entire HTML code for the entire webpage (from the opening 'html' tag to the closing 'html' tag). If you're inserting this content into your pre-existing webpage, then you'll likely only want to use the HTML code between the opening 'table' tag and the closing 'table' tag. This will allow you to insert a table into your webpage where each row represents an article from your RSS XML feed source.

Configuration change #3:
Find the following line of code: $FeedMaxItems = 10000;

The number '10000' above represents the number of items that you want to retrieve from the RSS feed – which works out to be the number of rows in your HTML table from the previous step. You can leave this setting as is, or you can change it to any positive number your like. For example, if you change it to 5, then the PHP script will display the top 5 RSS feed articles from your RSS feed source.

When you're done with these configuration settings you can upload these files to your scripts directory on your web server and add the following line of code to your website's HTML file where you would like the RSS feed content to appear:

include ('path_to_scripts_directory/rss2html.php');

Make sure to prefix the above line of code with a 'less-than' symbol followed by a question mark, as well as, postfix it with a question mark followed by a 'greater-than' symbol. Also, remember, if your webpage was initially an html file (i.e. filename.html) then you will want to change it to filename.php in order for the web server to know how to handle the above PHP script.

There you go... an easy way to add changing content to your website without any extra work on your part.

Sincerely,

By Michael Ellis

PHP Redirect - How to Send Someone to Another URL With PHP


When designing a web site, it is occasionally necessary to redirect a user to another URL to the one they have tried to access. This can normally be accomplished using HTTP redirect, however sometimes they just are not applicable or you would prefer to do it with PHP, for example:

1. If a page is undergoing some maintenance and you wish to redirect users to an error page.

2. As part of a PHP conditional IF statement you want to redirect to another page, perhaps you want to check if a user is logged in yet and if not redirect to the login prompt.

I am sure the are many other reasons that escape me at the time of writing for why you may wish to do this.

Fortunately PHP does provide a means to allow web designers to take this control. This task is accomplished by manipulating the header of a web page before it has been served. In order to redirect a page to an alternative URL replace the contents of the file with:

Note that if any output has been written to the browser (including HTML tags) this approach will not work, it must be either the only or the first output in the file. Therefore if you want to use it as part of a conditional logic test put that at the start of the file, for example:

OPEN PHP

IF(loggedIn == TRUE){

CLOSE PHP

…HTML output can go here

OPEN PHP

}ELSE{

header( 'Location: http://www.yourURL.com' ) ;

}

CLOSE PHP

In order to view the code correctly in this article the OPEN PHP and CLOSE PHP tags are used instead of the actual start and end tags for PHP code - to run the code you need to substitute them for the correct open and close tags.

This technique is an easy way to control the flow of control in a browser based PHP application. Generally if you wish to always redirect one URL to another you should use a HTTP redirect, but a PHP redirect is also an option.
Dave Hodgson is a technical consultant by career and a website designer for fun. He has spent time working for large systems integrators, small consultancy firms and on individual freelance projects. The articles written by Dave are in the nature of tricks and tips he has learned through his career and interactions with clients.

By Dave Hodgson

Using PHP and MySQL to Develop a Simple CMS - Version 1


In this article I'll try to describe how to develop a very simple Content Management System (CMS). I've chosen PHP as the server-side scripting language and MySQL as the database management system purely because I think they are fairly easy to use and they do the job very well.

I won't spend any time describing CMSs, what they are, or why you should or should not use them as there are plenty of excellent articles on this site that describe them perfectly well. I'll just explain one way of developing one.

This CMS consists of a single web page (index.php) that can have its contents updated by use of a standard form (updatePage.htm). The contents entered via the form are stored in a database, and are accessed and displayed by the web page. Although this CMS is too simple to be of any real use, it could be used as the starting point for a real life CMS solution. In subsequent articles I'll look at various ways to extend the CMS to make it more useful.

There are four files in this project:

cms.sql
updatePage.htm
updatePage.php
index.php

cms.sql
This file creates a database called cms, and creates a table in that database called page. It also loads some intial data into the table. You only need to use this file once.

updatePage.htm
This web page contains a simple form that can be used to enter the contents displayed by index.php.

updatePage.php
This is the form handler - the script that processes the data (entered in updatePage.htm) and inserts it into the database table (page).

index.php
This is the web page that displays the data held in the database table.

You can download a zip file containing these four files from http://www.computernostalgia.net/downloads/cms_v1.zip

cms.sql

1. CREATE DATABASE cms;
2. USE cms;
3. CREATE table page (
4. pageID integer auto_increment,
5. contents text,
6. primary key (pageID)
7. );
8. insert into page (pageID, contents) values ('1', 'dummy text');

Line 1 creates a database called cms in the MySQL database management system.

Line 2 tells MySQL to use the database for the subsequent commands.

Line 3 creates a table in the database.

Line 4 creates a column called pageID, which will contain integers, and which will be automatically incremented as new records are added to the table. As we only have one web page (index.php) in our imaginary website, we will only have one record and therefore one integer: 1. If we added additional pages to the table, they would be automatically numbered (2, 3, 4, etc).

Line 5 creates a second column called contents, which will contain text. This is where the editable contents displayed by index.php will be stored.

Line 6 sets pageID as the primary key, which you can think of as a reference for the table. As we only have one table, which will contain only one record, we won't make any use of the key. I've included it though because it's good practice to do so.

Line 7 simply closes the bit of code that was started in line 3.

Line 8 inserts some intial data into the table: 1 as the first (and only) pageID, and 'dummy text' as the contents of the first record.

updatePage.htm

(Note that for display considerations, I've inserted spaces into the HTML tag names, otherwise they would be processed as HTML code.)

1. <>
2. <>
3. <>Really Simple CMS< /title >
4. < /head >
5. <>
6. <>Really Simple CMS< /h1 >
7. < name="form1" method="post" action="updatePage.php">
8. Enter page content:<>< rows="10" cols="60" name="contents">< /textarea >


9. < type="submit" name="Submit" value="Update Page">
10. < /form >
11. < /body >
12. < /html >

This is just standard HTML, which probably doesn't really need explaining. All it does is present a form, the contents of which are sent to updatePage.php when the 'Update Page' button is clicked.

updatePage.php

1. < ?php 2. $contents=$_REQUEST['contents']; 3. mysql_connect("localhost", "root", "password"); 4. $result = @mysql_query("UPDATE cms.page SET contents='$contents'"); 5. mysql_close(); 6. ? >

This is the form handler, that's to say, the script that processes the data entered into the form (in updatePage.htm).

Line 1 signifies the start of a PHP script.

Line 2 requests the contents that were posted from the form. We could have written
$contents=$_POST['contents']; instead if we had wanted to.

Line 3 connects to the MySQL database server, setting up the host name, which I've assumed to be localhost, the database user, which I've assumed to be root, and the password needed to connect to the database. I have no idea what this would be for your system so I've just written the word password.

Line 4 updates the page table in the cms database with the new contents.

Line 5 closes the database connection.

Line 6 closes the PHP script.

index.php

1. <>
2. <>
3. <>Home Page< /title >
4. <>
5. <>Home Page< /h1 >
6. < ?php 7. mysql_connect("localhost", "root", "password"); 8. $result = mysql_query("select contents from cms.page"); 9. while ($row = mysql_fetch_assoc($result)){ 10. $contents = $row['contents']; 11. } 12. echo $contents; 13. ? >
14. < /body >
15. < /html >

This is the web page that displays the contents from the database. It's called index.php rather than index.htm because the web page contains PHP code. If the page was called index.htm, the PHP preprocessor, which is part of the web server, would not know that the page contained PHP code, and would therefore not try to process the script part of the page (lines 6 to 13). This would cause the script itself to be displayed in the browser rather than the HTML generated by the script.

Most of the lines in this web page are pretty straight forward and don't need explaining. Lines 6 to 13 contain the PHP script that extracts the contents from the database and displays (echos) it in the browser.

Installing/Running the CMS

To use the CMS you need to copy the files onto your web server into the area allocated for web pages. Your web server needs to support PHP and MySQL; if it doesn't, the CMS won't work.

You also need to use the correct database connection names and passwords (those used in the mysql_connect lines in the PHP scripts).

Exactly how you run the cms.sql file to set up the database and database table will vary from web server to web server so it's difficult to give precise instructions here. If you have a phpMyAdmin icon or something similar in your web servers control/administration panel you should be able to use that.

Once you've set up the database and table, you can simply browse to the updatePage.htm web page and update the database contents. You can then browse to the index.php page to view the updates.

If you have any problems or comments regarding the CMS, please email me at johndixon@computernostalgia.net and I'll be pleased to assist you if possible.


By John Dixon

PHP : A Functional Tool To Create Dynamic Web Pages


You can use PHP on almost every operating system and platform including: PHP can be used on all major operating systems, including Linux, many Unix variants (including HP-UX, Solaris and OpenBSD), Microsoft Windows, Mac OS X, RISC OS.

PHP has also support for most of the web servers today. This includes Apache, Microsoft Internet Information Server, Personal Web Server, Netscape and iPlanet servers, Oreilly Website Pro server, Caudium, Xitami, OmniHTTPd.

PHP uses procedural programming or object oriented programming, or a mixture of them. PHP is used mainly in server-side scripting; command line interface and writing desktop application.

Server-side scripting is the most traditional use for PHP. To use PHP for server-side scripting you need a PHP parser, a web server and a web browser. You enter PHP codes with the parser on a web server and it is translated into a PHP page that you can view on your web browser. However, it is also possible to make PHP script run without a server or browser. All you need is a PHP parser. This type of usage is ideal for scripts regularly executed using cron (on *nix or Linux) or Task Scheduler (on Windows). These scripts can also be used for simple text processing tasks.

While PHP is not the best language to use when writing a desktop application, it is possible. With PHP you can create a desktop application with a graphical user interface. If one is familiar with PHP and would like to use its features, there is PHP-GTK. With PHP-GTK you also have the ability to write cross-platform applications this way. However, PHP-GTK is an extension to regular PHP and not available in the main distribution.

While PHP websites are treated by web browsers as ordinary HTML pages, they are superior from regular websites in the sense that they have more features.

With PHP you are not limited to output HTML. PHP allows for the outputting of images, PDF files and even Flash movies. You can also output text in almost any form such as XHTML and any other XML file. PHP auto generates these files, and saves them in the file system, instead of printing it out. This forms a server-side cache for your dynamic content.

PHP supports a wide range of databases including Adabas D, InterBase, Postgre SQL, dBase, FrontBase,SQLite, Empress, mSQL, Solid, FilePro, Direct MS-SQL, Sybase, Hyperwave, MySQL, Velocis, IBM DB@, ODBC, Unix dbm, Informix, Oracle, Ingress and Ovrimos.

PHP also supports ODBC, the Open Database Connection standard which allows you to connect to any other database supporting this world standard.

PHP also has support for talking to other services using protocols such as LDAP, IMAP, SNMP, NNTP, POP3, HTTP, COM (on Windows) and countless others. You can also open raw network sockets and interact using any other protocol.

PHP has support for the WDDX complex data exchange between virtually all Web programming languages. PHP also has support for instantiation of Java objects and using them transparently as PHP objects.

PHP has text processing features. For parsing and accessing XML documents, PHP 4 supports the SAX and DOM standards, and you can also use the XSLT extension to transform XML documents. PHP 5 standardizes all the XML extensions on the solid base of libxml2 and extends the feature set adding SimpleXML and XMLReader support.

Between its functionality and its ease of use PHP is one of the best ways for anyone- be they a beginner or a veteran - to create a dynamic and interactive website to share with users of the World Wide Web.

By Mikhail Tuknov

Practical Uses of PHP


It almost goes without saying that you will want your business website to be compelling, interactive, and secure. All of these characteristics will make your website more effective at bringing in and keeping customers. But how to go about it in a way that is stable, cost-effective, and easy to manage? One popular solution is to use the server-side scripting language PHP to help you solve those problems.

What is PHP?

Created in 1995, PHP originally stood for "Personal Home Page", however it is now generally understood to mean "PHP: Hypertext Preprocessor". It was originally designed to create dynamic or more interactive web pages. It is a widely-used, open-source, general-purpose scripting language. PHP is a "high-level" language, meaning that it's generally more human-friendly (and easier to learn) than other programming languages such as C, ASP or ASP.net.

PHP was originally designed for use in Web site development, but rapidly grew to become a much more robust language. PHP's primary use is as an "embedded" scripting language, which means that the actual PHP code is embedded in HTML code. When used in this way, PHP enables your web server to process web pages before they're displayed in the user's web browser.
Benefits of PHP

PHP is popular because it can be embedded directly into HTML coding.

PHP can be used on all major operating systems and is supported on most web servers.

PHP's main focus is development for the web, so it has a quick development time and can solve scenarios much quicker than some of the other web design languages.

The latest version of PHP is a very stable and mature language used for web programming much like Java and Microsoft C#.

It is open source so it is free!

Database: It is very easy to write simple scripts which allow your Web site to interact with a database.

Cross-Platform: Both the PHP engine and the PHP code can be used on almost any platform, making it extremely versatile.

Development Tools: You only need a text editor to work on PHP; you do not need any development environment or compilers.

What can you do with PHP?

PHP generally runs on a web server, taking PHP code as its input and creating Web pages as output, however you can also use it for command-line scripting and client-side GUI applications. PHP is an extremely versatile language which enables you to create high-end, stable Web sites with plenty of bells and whistles. Here are just a few of the things you can do with PHP:

Make HTML Web Forms

Store Information in Databases

Remember Web site visitors (cookies and sessions)

Work with Arrays

Work with Files (File Management and downloads)

Parsing and Generating XML (also useful for large quantities of products on e-commerce)

Check which browser your visitor is using

How does PHP Work?

As its name ("PHP: Hypertext Preprocessor") suggests, PHP derives its power by "preprocessing" hypertext on the server side. This generally means that when the PHP script (saved as a .php file) runs on your web server, it performs the programmed actions, and returns HTML code that will then be sent back to your customer's web browser. The PHP script itself is not included in the HTML that is sent to the browser, so the PHP code is invisible and secure to the user.

For example, let's consider the following simple PHP statement. (This example is merely to show the basic syntax of PHP in action. Any detailed discussion of PHP code is beyond the scope of this article.)



In this statement, is the closing tag, and echo is a PHP instruction that tells PHP to output the text that follows it as plain HTML code. The PHP software processes the PHP statement and outputs the following:

<p>Hello World

This is a regular HTML statement that is delivered to the users browser. The PHP statement itself is not delivered to the browser, so the user never sees any PHP statements.

Using PHP to Improve Your Website.

PHP has many capabilities features designed specifically for use in Web sites, including the following:

1. Securing Your Website.

PHP can be used to secure your website (or certain areas of your website) so that your customer must enter a valid username and password. This can be used to reward preferred customers and to build an exclusive "membership" component of your business.

2. Working with Web Forms.

PHP can display an HTML form and process the information that the user types in. This can be an excellent way to learn more about your customers by asking them to provide profile information, and to collect information about their specific interests.

3. Communicate with Your Databases.

PHP is particularly adept at interacting with your databases, and storing information from the user or retrieving information that is displayed to the user. PHP handles connecting to the database and communicating with it, so it's not necessary to know all of the technical details for connecting to or exchanging messages with the database. You tell PHP the name of the database and where it is, and PHP handles the details. All major databases are currently supported by PHP.

4. Customer Loyalty Functions.

You can also use PHP to create a number of different functionalities on your website that will further help you to build customer loyalty, including interactive polls, a guestbook, and a message board.

The popularity of PHP continues to grow rapidly because it has many advantages over other technical solutions. PHP is fast (because it's embedded in the HTML code, the time to process and load a Web page is relatively short), PHP is free (it is open-source software), and PHP is versatile (is runs on a wide variety of operating systems, including Windows, Mac OS, Linux, and most Unix variants).

Perhaps most importantly, PHP is a very well-established language. There are many user-run Internet communities that make very large amounts of information (and scripts) available. With so much experience behind it, using PHP for certain dynamic features can be a cost-effective and low-hassle way of increasing the stability of your website.

by Jeremy Gislason

Basics Of Php


Practical Uses of PHP

It almost goes without saying that you will want your business website to be compelling, interactive, and secure. All of these characteristics will make your website more effective at bringing in and keeping customers. But how to go about it in a way that is stable, cost-effective, and easy to manage? One popular solution is to use the server-side scripting language PHP to help you solve those problems.

What is PHP?

Created in 1995, PHP originally stood for "Personal Home Page", however it is now generally understood to mean "PHP: Hypertext Preprocessor". It was originally designed to create dynamic or more interactive web pages. It is a widely-used, open-source, general-purpose scripting language. PHP is a "high-level" language, meaning that it's generally more human-friendly (and easier to learn) than other programming languages such as C, ASP or ASP.net.

PHP was originally designed for use in Web site development, but rapidly grew to become a much more robust language. PHP's primary use is as an "embedded" scripting language, which means that the actual PHP code is embedded in HTML code. When used in this way, PHP enables your web server to process web pages before they're displayed in the user's web browser.
Benefits of PHP

PHP is popular because it can be embedded directly into HTML coding.

PHP can be used on all major operating systems and is supported on most web servers.

PHP's main focus is development for the web, so it has a quick development time and can solve scenarios much quicker than some of the other web design languages.

The latest version of PHP is a very stable and mature language used for web programming much like Java and Microsoft C#.

It is open source so it is free!

Database: It is very easy to write simple scripts which allow your Web site to interact with a database.

Cross-Platform: Both the PHP engine and the PHP code can be used on almost any platform, making it extremely versatile.

Development Tools: You only need a text editor to work on PHP; you do not need any development environment or compilers.

What can you do with PHP?

PHP generally runs on a web server, taking PHP code as its input and creating Web pages as output, however you can also use it for command-line scripting and client-side GUI applications. PHP is an extremely versatile language which enables you to create high-end, stable Web sites with plenty of bells and whistles. Here are just a few of the things you can do with PHP:

Make HTML Web Forms

Store Information in Databases

Remember Web site visitors (cookies and sessions)

Work with Arrays

Work with Files (File Management and downloads)

Parsing and Generating XML (also useful for large quantities of products on e-commerce)

Check which browser your visitor is using

How does PHP Work?

As its name ("PHP: Hypertext Preprocessor") suggests, PHP derives its power by "preprocessing" hypertext on the server side. This generally means that when the PHP script (saved as a .php file) runs on your web server, it performs the programmed actions, and returns HTML code that will then be sent back to your customer's web browser. The PHP script itself is not included in the HTML that is sent to the browser, so the PHP code is invisible and secure to the user.

For example, let's consider the following simple PHP statement. (This example is merely to show the basic syntax of PHP in action. Any detailed discussion of PHP code is beyond the scope of this article.)



In this statement, is the closing tag, and echo is a PHP instruction that tells PHP to output the text that follows it as plain HTML code. The PHP software processes the PHP statement and outputs the following:

<p>Hello World

This is a regular HTML statement that is delivered to the users browser. The PHP statement itself is not delivered to the browser, so the user never sees any PHP statements.

Using PHP to Improve Your Website.

PHP has many capabilities features designed specifically for use in Web sites, including the following:

1. Securing Your Website.

PHP can be used to secure your website (or certain areas of your website) so that your customer must enter a valid username and password. This can be used to reward preferred customers and to build an exclusive "membership" component of your business.

2. Working with Web Forms.

PHP can display an HTML form and process the information that the user types in. This can be an excellent way to learn more about your customers by asking them to provide profile information, and to collect information about their specific interests.

3. Communicate with Your Databases.

PHP is particularly adept at interacting with your databases, and storing information from the user or retrieving information that is displayed to the user. PHP handles connecting to the database and communicating with it, so it's not necessary to know all of the technical details for connecting to or exchanging messages with the database. You tell PHP the name of the database and where it is, and PHP handles the details. All major databases are currently supported by PHP.

4. Customer Loyalty Functions.

You can also use PHP to create a number of different functionalities on your website that will further help you to build customer loyalty, including interactive polls, a guestbook, and a message board.

The popularity of PHP continues to grow rapidly because it has many advantages over other technical solutions. PHP is fast (because it's embedded in the HTML code, the time to process and load a Web page is relatively short), PHP is free (it is open-source software), and PHP is versatile (is runs on a wide variety of operating systems, including Windows, Mac OS, Linux, and most Unix variants).

Perhaps most importantly, PHP is a very well-established language. There are many user-run Internet communities that make very large amounts of information (and scripts) available. With so much experience behind it, using PHP for certain dynamic features can be a cost-effective and low-hassle way of increasing the stability of your website.

by Jeremy Gislason

How to Learn PHP and MySQL as Quickly as Possible


Learning Programming is a tough subject, no matter which language you choose.

It took me months to figure out php and MySQL enough to build real, quality, Websites that were "good enough".

Eventually I figured out the easiest way to learn. It took me MONTHS to figure it out... but I did.

So what does it take to learn a Programming Language such as PHP?

"Doing" is what it takes. 90% of the people who try to take on such a task end up feeling "dumb" or "slow". This usually is NOT the case. I've found that, like myself, most people try to learn PHP from reading and going through code to "understand" what it means.

I was the same way until I was told "just do it". My mentor must have been the most patient man on the face of this earth - because I was constantly telling him I could not do it. But he kept on me telling me the same line I'm telling you: "just do it".

What does this mean? It means trying to create your very own scripts, whether small or of decent size. Start out with printing out the date to the browser. Continue with Loops. Create scripts that create mathematical equations. Print out your name, last name, etc.

Once you figure out the basics, make sure you continue to learn by doing! You will never be able to take your skills to the next level just by reading.

I also stress to other newbies that they need to learn by watching as well. Writing code can become quite a task and it's better to see someone else do that, if possible (which it is by watching videos).

It's quite easy to get caught up in bad practices while writing code if you do not follow good programming standards. Sloppy (spaghetti) code seems to be the evil of the programming world that occurs from newbies who read online tutorials by so called "programmers". Most of these "programmers" are NOT what they claim to be. So be careful of whom you choose to learn from.

PHP and MySQL (database) go together like peanut butter and jelly. I cannot tell you how important it is to learn these two languages together. MySQL may not be the "best" Database in the world but it is very easy to learn and very capable of building large scale applications.

So remember: if you're not "doing", you're not learning. Start learning PHP basics and make sure you're following along and trying to code your own small scripts when starting out. I know, I know... it LOOKS like it's too hard. It's not. This is not something you're going to learn overnight, but it's quite possible that you can learn enough to do what you need to do in just a matter of weeks!

Keep learning and continue doing.

If you're looking to become a PHP programmer - you need to see these videos!

By Clint Lenard

Thursday, January 3, 2008

How To Spice Up Your MySpace Page

Let's get started with some music, my personal favorite. You can go to your edit profile page and delete your original song choice if you want to get a player. There are several sites to visit to get a music player that will hold more than the one song. I will introduce you to a project playlist song list creator. I think the players are sleek and the song choices are varied and numerous. Open a separate browser window (the tab up under the address bar) and search for song lists, players, or play lists, choose a playlist builder or song project site.

Welcome to the playlist creator site. Click on the my account tab, then 'click here' to create a free account. Follow the fields on the page, click create new account. Step 2 is a short free offer section that you can fill out or click no thanks, continue to my account. Now, we log in and let's make a playlist. You can come back to this page another time and upload a photo, and set up your profile page. It will be great practice, so save this page as a favorite.

Choose click here to search for music and type in the bar an artist name, song title, a combination of both, or even just a word to get a variety of ideas for song choices.

Once you find a song to add to your playlist, check to make sure it plays nicely by clicking the green arrow. If you are happy with the sound, click the plus sign. If you forget to check the song, you can always play it here. This will take you to 'click here to create a playlist' and success, you have added your first song! Click continue if you would like more songs. Just keep with the steps, type an artist or song, view, listen, add, continue.

When you have added all the songs that you want, click go to my playlists instead of continue. Click on the name of your playlist. Here you have the option to arrange your songs, delete them, or add to your list. Make sure to save changes when you move the song order around before you go to delete or add a song or you will have to rearrange your list again. There are options below your playlist for sharing your playlist. Choose generate code to copy and paste your playlist into your MySpace edit profile section under any empty box you have, or choose post to MySpace. Follow the instructions listed there. You can post any of your playlists to many other sites, by choosing the post to MySpace option.

When you start adding more than one item code in each box of the edit profile section, take care. Always be sure to leave spaces between the codes. And with a code for a graphic, player, video, any code that will take up a limited space, not your profile code and not a contact table code, but any code that is going to create an image in a set area, you will type at the very end a small HTML code to create a space break. This is done with no spaces, touching the very last character of your source code. I am going to type this with spaces because it will not show up on an HTML compatible screen as the type, but it will actually create a space and it no longer shows up. OK, type <> all together with no spaces touching the last of the code like a tail. Preview your profile to check and view if there is enough room between the shown items. If not, go back and add one more set of <>. Then, save and view your profile. This will help you add two or three separate codes and items in each one of the edit boxes but keep your page uniform looking, not all bunched together. Also, some items if run together will not function. If you come across a malfunction, try to put the new item near something else. If two items are animated or interactive, they may not sit well together. Spacing these items in separate boxes is the best plan to prevent any future problems. If you ever forget which code goes where, go view your profile, and see where they are and count the number of items per the section, if it is the second item, delete the second code, again, this is a great reason why you left spaces between the codes.

Now that you have a good sized music selection, let's visit sparkle tags. There are over 4000 images and 83 different categories of images on this site. Again, feel free to use your search engine for MySpace images, but this is a great site to get going with. I will walk you through posting a Thanks For The Add comment to post on your new friends comments area on their profile. First, choose one of the categories for Thanks graphics. You might get an ad showing but you have the option to skip it. Scroll down and find the one that you would like to use, on this site just moving your cursor over the code will highlight it, and right click and copy. This is becoming quite comfortable now, isn't it? Go to your MySpace page, click on the friends picture to go to their profile page, scroll down to the add comment link, click it, place your saved code in the add comment box by either Ctrl v or by right clicking and pasting. If you want to add text as well to your comment, type it either before or after your code, being sure to leave spaces between the text and code. Click post comment. You will then view the comment you wish to post to be sure it is the one you wanted, and click to post again. Some pages you will need to complete the "capcha" box. View your friends profile and see what you have posted, now some friends will wish to approve the comment before it gets posted, with these friends you will need to wait until later to view your own comment, but be excited for yourself that you now can post to all of your friends comment boxes with graphics instead of just typing text. Also, a heads up, some friends have their comments set to only accept text. Not much fun, but some comments can slow a pages loading time.

On to polls, clocks, and generally nifty graphics. There are a few very good sites to find these items. For all of the clocks and generators of all kinds search myspace generators. They are listed under generators because they are animated but they are put on your site exactly the same way as a graphic. No worries for you!

Bulletins and Blogs are two very different types of postings. A bulletin is a posting that you will send to your entire friend list. A blog stays right on your page and each friend has the option to either come to visit your profile and read it or subscribe to your blog postings and get notified as you post a new one. Read others bulletins and blogs to see what others do here.

I saved the very best thing to add to your page (next to music, of course) for last. The almighty Guestbook! This is the most fun for you because every time you view your own profile, you can see the pictures and comments your friends put on your now signed guestbook. Go to slide.com, sign up for a free membership, and click on make a guestbook. You can also create a slide show here to post on your site! Slide has brilliantly generic and basic instruction from this point, I do not even need to say it here. Follow the instruction from Slide and from our steps of copy and paste before and you have got yourself an awesome way for friends to leave a bit of themselves on your page forever! Comments get bumped down by newer ones as time rolls on.

Well, I am proud of your page without even seeing it yet! Awesome job, look me up or Google me, make me a long time friend and let me know if I can help out with your pages. You are well on your way to mastering HTML, even though you think you have just learned one small code, you have been seeing them. Getting comfortable with the look of an HTML code is half the battle. My next article will cover basic HTML codes. Stay tuned for "Basic HTML Codes With Tips and Tricks".

by Stephanie Haile AKA Wavecritter AKA Surfcritter

Basic HTML Code For Your Blog


Hyper Text Markup Language - that's what it stands for. Its a way for Web browsers to present text and graphics. A code if you like. To get a better idea of what it is, click on your View menu and then Source or View Source and that will show you how a page of text is formatted in HTML (It'll also show you the keywords used in the Meta tags which can be helpful in getting your page ranked higher on Search Engines - but more on this later).

Basic Knowledge of HTML

Before we go any further let me tell you that I'm rather new to all this. I've only been into computers for the last couple of years. Oh sure I'd used computers in my work before that but only as far as word processing. I was using AppleIIs back in the early Eighties to write magazine stories but apart from knowing how to boot the machine up and format a word processing document I didn't have a clue about computers. And I still don't have much of a clue. I probably couldn't explain the difference between ROM and RAM to save my life. But I know enough to get me by - I have a Basic Knowledge of HTML codes and commands. I don't have a head for programming or writing code or any of that stuff. In fact you're talking to a guy that didn't even finish high-school. I went straight from school into the Advertising business at the tender age of sixteen. So I'm a dummy. And I'm a real dummy when it comes to complicated computer language coding and algorithms - all that egghead stuff. So if I can have a Working Knowledge of Basic HTML code and links - trust me, you can too.

So here we go. From the top...in a logical progression. It might help to open another browser window and pull up the View Source of my Welcome to Wallyworld page (you'll find a link at the bottom of this article) and follow what I'm looking at.

The HTML Code starts with "DOCTYPE" (meaning document type) html "PUBLIC" and then some other stuff including "XHTML". This is just the new improved version of HTML code. Don't worry about it for now. I haven't written the code for this page - it's done automatically by my host and they are formatting in HTML, XHTML, Javascript and some other stuff like Textile and Markdown which I don't even begin to understand. All I want from knowing a bit of basic HTML code is how to do simple stuff like Bold, underline, Hyperlinks and h2Headings in Basic HTML.

Coming down the page a bit you'll see the document begins with html enclosed in less than and greater than arrowheads and then if you scroll to the bottom of the page you'll see the very last bit of code is html but this time closed off with a forward slash. That's the way HTML works - you enclose the command within the arrowheads, write your text and then close it off with a forward slash.

After the html commands we have the head which contains everything in your title. You'll see the term "Robots" which is a command to the Search Engine spiders to start reading the information coming up next. And that information is the Meta Tags - both to describe what your site is all about and to give the keywords. You'll notice I only have a Meta Description here - HOW TO: Increase Your Traffic, Boost Your Google Ranking, Optimize Adsense to Make More Money, Keyword Optimization Tips, Work Online as a ProBlogger" etc. This is because my host is convinced that the major search engines no longer rely on keywords in the Meta Tags. Apparently that's true for Google but Yahoo and the others take them into consideration. So I've just added some keywords at the bottom of that section under Meta keywords.

So the head section contains the title and information on style sheets and scripts. After that we have the body which contains the markup with your content - your article/story/table - whatever you're putting in there.

That's about it. Not hard is it? All you have to do now is learn some of the HTML Tags.

The first ones you need to know are the heading tags and they're easy to remember. h stands for heading. h1 puts your words in the biggest size through to the smallest h6.

The underline tag is written with a u. Paragraph with a p. Line break with a br. Italics with an i.

Probably the most useful piece of code is the Hyperlink - that's a fundamental of blogging - the sharing of information. Clicking on this one will take you to a site with lots of Useful HTML Code including how to write hyperlinks.

You can also turn an image into a hypertext link so that when you click on the image it takes you to a page or site.

Use HTML to Wrap Text Around Adsense

One of my favourites uses for Html is getting the text to wrap around the Adsense - the Adsense Gurus reckon people are more likely to click on the Ads if they are buried in the text. Whatever. But I reckon they look neater than having them displayed in block form.

You Wanna Make a Hit List?

You can easily format lists with HTML. Like this bulleted list using the ul and l tags.

* The Number One Villain

* Number Two Villain

* Number Three Villain

Voila - like I said before, if this dummy can do it, you can too - Basic HTML


By Malcolm Lambe Malcolm Lambe is an Australian blogger/vlogger based in Paris. His main site is http://www.welcometowallyworld.com where he pontificates on a diverse range of subjects.

How to Copy and Paste Adsense Code Correctly

After getting approval from Google, here's come to your first step to earn money from it. What should one do in order to display Adsense ads on his/her sites? It is quite simple and straightforward. Adsense Ads are solely HTML code, just link those that make up a website. So, with the use of a simple HTML editor, you can easily paste such HTML code into any place you want in your website.

First, you need to get the HMTL code for a specific product. There are various products from adsense. And I will not put too much emphasis here on that. After selecting the desired product, just pick up and copy the HTML code in the box at the bottom of the page.

Afterwards, you can use any simple HTML editors (e.g. Frontpage, Dreamweaver etc.) and paste the code to your desire position. According to Google, Once you've generated your ad code by visiting the AdSense Setup tab and following the steps to choose an ad type, format, and colors, you'll need to add the code to your web pages. In the final step of the setup, you'll see your code in the Your AdSense Code box. This is the code that you will cut-and-paste directly into your web pages.

Because every HTML editor is different, and because only you know how you like to build your web pages, we can't give exact instructions on copying the ad code into your pages. We can, however, give you a few tips:

- Make sure to paste the ad code into your source without making any changes to the code. This is important, as changing the code in any way can cause errors on your page (and is against the AdSense program policies) - Copy the ad code between the body tags of your HTML - If you're using a WYSIWYG editor (such as FrontPage or Dreamweaver) it's a good idea to paste the code into the Code or Source view. Pasting it into the layout view will often result in HTML tags being added to your code, and will result in errors - If your page uses Frames, make sure that the code is pasted into the frame that contains your page's main content. We use this content to target ads

When you're all done, save your web pages and upload them to your server. If you have questions about uploading files to your server, we suggest contacting your web hosting company directly. After pasting the code in your site, the ads will be shown immediately, no matter it is relevant ads, irrelevant one or the PSA (public service advertisement). Initially, the ads that you see may be Public Service Ads and won't be targeted to your page. We have to crawl your page's content before we know what kinds of ads to send your way - this can take up to a few hours, but usually occurs within minutes. Once our crawler has visited your page, you should see ads that are highly targeted to your content.

By C.K. Li

How To Design a Website

Every day, more and more people are learning how to design their own websites. In this article, I'll show you how to design a website the right way to ensure that you get something as close to your vision as possible.

Before you decide how to design a website, you have to know what options are available. This means you need to be familiar with the different ways people build websites. The only way to do that is to do some background research. Do you know the difference between HTML, CSS and PHP? It's important to understand how these different codes relate to building a website. By being aware of the different options that exist, you will have a better idea on what you will need to learn.

After you have an idea of the various different ways websites are built, it's time to decide what the purpose of your website is. Do you want to do business or does your website of a more personal nature? Is it something you plan on updating regularly, or will it have more static elements? You need to sit down and really ask yourself what the ultimate purpose of your website is and what you want it to do for you. Once you do this, you will be able to understand the scope of what you need to know, as far as how to design a website goes to get your finished product.

Finally, after you know what you want, then it is just a matter of going about achieving it. If you want something simple, like a blog, then you might start looking for website templates you can download for free, and simply modify. Or, if you need a site with only a few pages, you shouldn't have to study more than the basic HTML to achieve that. By having your vision, and coupling it with the different tools that are available to you, is probably the smartest way to go about designing a website.

There are also various tools that can help you on how to design a website. Typically these are web design software programs, most commonly known as WYSIWYG editors. WYSIWYG stands for -- "what you see is what you get". These are great tools that help you with your coding, so you can edit your website visually, as well as through coding language.

By Steven P. Ross http://www.best-web-design-software.com

How To Take Advantage of Remote Site Syndication (RSS)


For starters, RSS is more easily understood when the separate components are defined. RSS feeds use a language called XML, similar to html. XML has the capacity to identify structures in a document due to their special mechanisms. The structures determine how the content will be arranged within the document. RSS is widely used within big news websites. The RSS files create data feeds that can deliver headlines, links or almost any other bit of information to a news reader (a.k.a.channel viewer application).

The feeds are monitored by readers that will notify the user when any new information is presented. This can be readily applied to your marketing efforts. One of the most popular ways to use RSS feeds is to replace email marketing.

Despite claims from many marketing experts that say email marketing is still a good strategy, with the increasing spam filters combined with scares of opening up a virus, people are becoming a lot more skeptical of even opening your email. Even though you've got a long list of email addresses, the odds of them being opened are low, which makes for a strategy that isn't likely to get you anywhere.

RSS works differently, and is a great advantage over email marketing. You'll have a much greater chance of being opened because your messages won't be filtered. This means that there's an increasing chance that your messages will be read, which is effective for the results you're looking for. Another great aspect of RSS is that autoresponders can be used.

One way to use the advantage of the search engine is to include feeds on your blog or content site. These feeds allow you to have content that is constantly updated, which is just what the search engines are looking for. Thus, more traffic is directed toward your web page.

Other popular ways include using RSS feeds to increase traffic to your blog or sales site or by making it possible that your messages and information are seen on thousands of websites, blogs and desktops online.

If you're serious about using RSS to expand your marketing strategies, the best way is to create your own feed. This opens the door to a wealth of opportunities for your business. By creating your own feed, your information gets published on every site that uses your feed to gather the supplied information. Consider using automated software to make your work a little easier. It has the capacity to supply the feeds to marketers by submitting your RSS feeds to a variety of directories.

RSS is becoming increasingly popular among Internet marketing businesses. It's a great opportunity to help advance your efforts. Take advantage of this new technology before it's yesterday's news.


By Jason Pearson Jason Pearson is an online marketing expert who wants to share his secrets with the world.

Come and Explore How to Create A Website

A Website is the basic need for all the business and for personal use in this innovative world where each and every thing is globalized on Internet. It is the easiest way to communicate, do business, find business, find a friend, play games, chat, make payments and for each and every basic need. Today we are just got addicted of Internet, so, the basic need of website is generally getting higher for each and every aspect of business and life.

To develop a website there are various facts to be utilized and I have tried to give the basic instances "How TO Build Website"

Your Basic Needs for Building a Website

Domain Name

This is a name for identifying a computer or computers on the Internet. It is a component of Web site's URL (Uniform Resource Locator). So, creativ-eras.com is an example of domain name.

It is the name given by the Domain name registrar after the process of registration is done by the client. It is also called as registered domain name and web addresses.

These Domains are also attached with its extensions. Domain name extensions are of different types:

The Top 3: These are the basic domains widely used by the customers worldwide and are one of the top domains till date

.com

.net

.org

Country-Level Top Domain: Every country has their own matching top level domain names, some examples are

.in (India)

.co.in (India)

.fr (France)

.co.uk (United Kingdom)

And there are many more domain also like

.edu

.gov

.tv

Free Websites

There are various sources on internet which provide with an option to host your website for free. But these types of resources should not be considered healthy, reason for it is that they are unstable in nature and you never own your website and you never receive true domain name. The main domain will be of third party and it will look like http://site.yourdomain.com/ In some cases, it can even be longer than the example shown above.

Web Host

Web hosting is a service which allows the individuals and organizations to provide there own websites accessible over www (World Wide Web). Web hosts are the companies which provide the space on servers which they own for the use by their clients and provide internet connectivity. Web hosting is a paid service, usually monthly or yearly.

Website requires space on server to be used by the individuals. No website can exist without web hosts.

Building Website

In this part we are going to explore various tools and editors present for building a website. There are many software and tools available for building a website in easy and efficient way. It's important for you to find out about them before you use them.

Macromedia Dreamweaver, CoffeeCup HTML Editor, Front Page, Aedix, UPOhtml, Alleycode HTML Editor, Aptana, Arachnophilia, BBEdit, Bluefish, CSE HTML Validator, EditPlus, Evrsoft 1st Page, HTML-Kit, Adobe HomeSite, NoteTab, PSPad, Quanta Plus, SAPIEN PrimalScript, SCREEM, Siteaid, skEdit, Taco HTML Edit, TextMate, TopStyle, Notepad++, Weaverslave are some of the web editing software present and used by the people for creating and maintaining sites.

I used Macromedia Dreamweaver for creating my website http://www.creativ-eras.com/

If you are not using any of the software then you have begin from the scratch and have to learn how to code HTML (Hypertext Markup Language). All you have to do is open Text editor (Notepad) for example and then write the HTML code which will create your page. It is pretty easy to learn and use.

Then you have to save the file you are working on with the file name.html and then upload it to the server (Web Host).

If you are finding it difficult to code in HTML, then I would strongly recommend you to get it done by any website design company or any software program which I've talked about above to edit and create your website. These companies are working day and night for its customers. There are so many web designing companies and you have to find one of the best from them to serve.

There are many websites will provide free website templates (awesome premade sites) ready to use.

Products

In your site you are showing information about company, its products, its expertise, its services, its vision & goals, patrons and feedback etc.

The main part is of products of the company. The importance of products is due to the out result of company. Every company wants to sell its product, uses various forms and methods. Website is also one form of on line presence of the company for selling products online.

For selling its product online you have to take orders online from your website? The best way is to sign up with paypal.com. They are the merchants; they accept credit cards for you and take a small percentage for the order. It is very convenient and easy to setup.

All you have to do is specify the price for each and every item or product you are selling and paypal will provide you some HTML code which you have to paste it in your website and it will automatically create the payment button and its interface for you.

Paypal uses secure methods and handles all the transactions which are done through credit cards. It's very easy to transfer the funds from your paypal account to any other account electronically.

Other Features

There are various other features which you can implement in your website like gaming, gambling, chat and guest book where visitors can play game, chat and leave message for you on your site.

It is very hard for you to think of these features, but as internet have matured, it's getting easier and easier for you to use and implement these features on your site.

For getting any kind of interactive feature on a website requires some kind of script. Script contains a bunch of code that tells the browser how to behave.

You can get these scripts depending what you want on your website. Script can be found on internet for that you have to go to your favorite search site (Google) and search for the appropriate script. Some scripts are free and some are paid as well.

It is important for you to check that your web host supports the kind of script and functionality you want to implement.

So, this was the full explanation on how to create your website.

By Amit Sood http://www.creativ-eras.com

Basic HTML How To


You can use basic HTML in many ways and in various places. You can change simple things by making your font bolder, bigger, or smaller by using the simplest of codes. You can create page breaks and separate your paragraphs or thoughts. Change the color of your font, create a text link, or place a picture or graphic image on your web site.

If you have not yet copied and pasted a graphic or background lay-out onto a web page or a social network site such as My Space, give that a try. It will show you a great example of what an HTML code actually looks like. Study it for a few minutes to get a good look at the tweaks that could be made to any code to change just a bit of the end result.

We use HTML at social networks, on web pages, and in solo advertisements for business marketers.

Basic HTML will make your page or advertisements stand out from the crowd. Get noticed and learn a bit of HTML.

To change your font and make it show a bit of your personality or to make it jump out of the page, you will need these basic HTML codes. I will be putting spaces between the characters here to be able to post this on an area that uses HTML. When you type this, leave no spaces between the characters. Making your font bolder only requires you to type <>. Typing in multiple sets will create an even bolder font. At the end of the word or phrase you wish to be bold, type. This code will close the bold print.

You can make your font bigger or smaller as well by using the code <> or <> and then closing it off with or . That is the extent of it. It is really this easy to do.

If you need a separation between ideas, thoughts, or paragraphs then use the code <>. If you would like a double space between the text, type two or more in a row, all touching with no spaces. This is best used with graphic images and photos, or banners and music players. It prevents the images from running together and creates a much cleaner page view.

Another neat little trick is changing your font color. Red jumps right off the page, blue is a very mellow and calming color, and yellow when used with a combination of red and black makes a very bold statement. This code is very simple and looks like this, <>. Now, with this code, you can either just type the color name into "the color" area or do a quick search for HTML font color codes and replace "the color" with the actual color code number given on the site you find. Close the color with.

How about adding a text link to your web site or social page? Again, simple once you see it a few times. This is what it looks like. You will need to replace the yoursitehere with your web page link and TextLink with whatever you want to show as your link text.

< href="http://www.yoursitehere.com/">textlink< /A > Again, I have created spaces where there should be none to ensure readability. If I posted this on an HTML compatible page it would not show anything except the useable link called textlink. The only space needed in this code is the one between the first A and the HREF. That one is an important and essential space.

There is an easy shortcut to image codes. Uploading a stored photo or image from your computer to a site called Tiny Pic will get you your image code straight away. Just copy and paste into your project. The easiest by far. The wealth of information on and about using, viewing, and learning the basic HTML code is a search engine away. My goal is to enlighten you and show you that you can do it too. That it isn't as difficult as we all may have thought it was and doing it correctly is within reach.

Stephanie Haile AKA Wavecritter is a 43 year old wife, mother, and business owner who enjoys spending time with her family at the beach, at a great movie, or with an awesome novel. Google Wavecritter and say hello. Check out the web sites below to find out how to become a part of the team.

By Stephanie Haile Copyright © Stephanie Haile, http://www.wavecritter.com, http://www.berrycritter.com

Tuesday, January 1, 2008

The Five Basic Elements of Web Design


The basic elements and principles involved in web design are true for all other types of design. These principles will show you the most effective way to put together the various design elements to come up with a good and effective site. A good web design company emphasizes the fact that web design is not simply about slapping all those HTML tags on the page, but it involves the use of web design principles to build a pleasing and useful web design. Your web design company will need you to make the most aesthetically attractive and effective web design, so make sure you keep these elements in mind:

Web Design Balance

Web design Balance is the equal distribution of the heavy and light elements on a singly page. Balance in your web design is concentrated in your page layout. You must achieve visual balance in your web design all throughout the page, not only in the initial view. You web design company might commonly suggest you to center the text and all the other elements on your page. It is also very common to set your page on an invisible grid system to create the balance that you need. There are three types of balance that can be achieved when designing a page.

 Symmetrical. This is achieved by placing all the elements in an even fashion - a heavy element on the left is matched with another on the right. Be careful with symmetrical balances as you do not want your site to look flat or plain boring.

 Asymmetrical. These are more challenging to build, but there are strategies to achieve this which can include the varying texture, color and image positioning and size to arrive at a pleasant looking page.

 Discordant. Web sites that are off-balance suggest action or motion, so you can create a discordant design on purpose. This type of designs make viewers uncomfortable or uneasy, so they are best used for sites that are intended to make people think.

Web Design Contrast

Web design contrast is more than just about colors and black or white, but also involves contrasting shapes, sizes and even textures. You can take full advantage of contrast by changing font size, weight and family to provide textual contrast and varying sizes of images and elements. However, be careful not to blast your readers or scare them off with contrasting colors which are way too loud. The links on your content should be contrasted well to draw most attention.

Web Design Emphasis

Web design emphasis involves the main points where the eye is drawn into in a design. One of the mistakes that your web design company may warn you not to make is to have everything in the design stand out. Keep in mind that if everything in the design has equal emphasis, the entire page will tend to appear too busy for comfort and may end up unappealing. What you should focus on instead is to create a visual hierarchy in the web design - to put emphasis only on the right elements. You can use semantic markup to provide emphasis even without the use of styles; change the font size of image size in order to emphasis or lessen emphasis on them; or you can use contrast in colors for added emphasis.

Web Design Rhythm

Web design rhythm, also known as repetition, brings the much needed internal consistency into your web site designs. Almost all elements in your design can be repeated in order to create pleasing rhythm into your design. For instance, you can repeat your headline a few times for more emphasis, repeat the same image across the page, create a background that is tiled and patterned with repetitive elements, or repeat a particular style to provide site design consistency. It is also a good idea to repeat the navigation elements in your site design across the pages of your web site.

Web Design Unity

Web design unity, also regarded as a site's proximity, is the what keeps all the similar elements in the site alike and those diverse further apart, and pulls everything together into one integrated whole. Unity when it comes to web site design is mainly achieved through the proper placement in your layout. You can implement this in many ways. You can, for example, adjust the layout of your elements to put them close or far away from each other. In the body of your page, you can change the spacing around the text in your page contents. You can further achieve unity by playing around the box properties and change the margins and paddings.

A good web design company keeps in mind all the basic design elements with each and every page they design and collaborate with. This way, you and your web design company will come up with web sites that are pleasant looking, effective and attractive. As the web designer, it is important that you keep these elements in mind and apply them appropriately to your page web design.

by: Semul Johnson