|
just another regularban.info web blog |
| MEMBERS: | How To Create A Successful Website
Every one of us wants to create a successful website. No one wants to fail. As a consequence of this many of us are out there looking for the silver bullet. Now to me the silver bullet lies within you. You are the key to your success. Of course this sounds nice but how can it be applied in practical terms? Firstly you like anyone else go online to seek solutions. Your idea right now is that you want to make money. So you are going to search out opportunities that enable you to achieve this. As a result of this you are going to come across a lot of information and the information that seems the most believable to you is the one you will choose to obtain. However there is also another element at play and that is emotion. The site that outlines the benefits that speak best to your emotional desires will be the one that you approve. To build a successful website you can use yourself as the model. In other words when people visit your site are you going to outline the benefits that speak to their emotional desires and furthermore will you provide proof by helping them to connect the dots which will make it believable for them that they can reach the goal that they desire to reach. If your website is built in this way where you genuinely help others achieve their objective then your site will be naturally successful. It really is as simple as that but that does not mean that the work will not be challenging because it will - but if you are determined and build you site with the visitor in mind then the rest is history.
Reusing Code in Web Sites and Applications Part 1 - Using Include() and Require()
Reusing pieces of HTML code is a common way of making web sites (or web applications) more consistent, reliable, and more manageable. Even a small web site consisting of perhaps 20 or 30 web pages can benefit from reusing code for header and footer sections, for example. If the same header or footer is used across all the pages on the site, it makes sense to put the header and footer code in separate files, and then call those files to insert their contents where required. PHP offers two statements that can be used for inserted the contents of one file inside another: include() and require(). These two statements are virtually identical, with the only real difference being that if require() fails, it gives a fatal error, whereas if include() fails it just gives a warning. For this reason I tend to use the include() statement as it just seems slightly more friendly. So, to include the contents of a file called header.inc inside a web page called index.php, you would just need to insert the following line of code (wrapped in PHP opening and closing tags) inside index.php. Include 'header.inc'; As PHP takes no notice of the extension used for the included file, you can use whatever extension you want to. Be careful though, if you put passwords inside an include file with a .inc extension, they will be visible. You can get around this by putting include files that contain sensitive information outside the document tree to prevent people from browsing to them. In Part 2 we'll look at the use of functions when developing web sites and applications.
My Tip For Creating Websites
So you want to build a website and at this point you may be very excited. There seems to be so much opportunity online that it seems that you cannot go wrong. You read all those sales pages out there telling you that you only need work fifteen minutes a day and you will make thousands. Forgive me I am being a little dramatic but I think you get the picture. The solid fundament when it comes to building websites is to understand why people go online. Number one they go online for information. This information can be entertaining or solution orientated. It can also be sought out for research purposes. So the first question is which category do you fall into? Now let me give you that tip. If you are interested in a subject lets take health as an example its imperative at the outset to have an open mind. What you think may work, may not so you have to be prepared for that. Secondly you need to make sure and research thoroughly so that when you make the decision you can at least know that you have done your homework and therefore your odds of success are far greater. Let me tell you what happened to me. I went out bull headed and just picked a topic that I was interested in and was not adaptable at all. Then I just built a site and put a lot of work into it but got very little results. Then of course I lost motivation and before you know it I almost got burnt out. I cannot tell you how depressing it is when your dream of working online becomes a nightmare of failure. To conclude keep it simple, be adaptable, focus heavily on research and understand that it takes work so don't be easily influenced by all sorts of hype that will in essence only distract you.
|
* About Archives
Categories:
Last Updated: |
| regularban.info
is proudly powered by WordPress MU running
on regularban.info.
Create a new blog and join in the fun! Entries (RSS) and Comments (RSS). |