longest herbal penis size record

just another regularban.info web blog

MEMBERS:

Using Functions

Functions are used to perform a well defined task that is normally repeated at various places within a web site, web application, or other software application. The function sometimes needs certain information before performing its task, and sometimes returns a value to the calling page or program.

An example of how to use a simple function in PHP:

 function showMessage() {

echo "{$_SESSION["message"]}"; }

The above example shows a very simple function that displays the contents of a session variable called 'message'. The idea being that while a user is using a web site, etc, various messages are generated and stored in the 'message' session variable. Whenever the showMessage function is called, the contents of the session variable are displayed. So, for example, when the user logs on, you could display a message saying that they have done so. Likewise, when they log off, a different message could be displayed.

Calling a function

To call the showMessage function, you would just need to include the line:

showMessage()

in the web page (wrapped in php tags to distinguish it from normall HTML).

Passing values to a function

Often, a function requires one or more input values in order to perform its task. For example, take the following example that takes two numbers as input, and adds them together. The result is then returned to the calling web page or program.

function addNumbers($number1,$number2) {

$answer = $number1 + $number2;

return $answer; }

In the calling program we would have something similar to the following:

$number1 = "5";
$number2 = "6";
$sumOfNumbers = addNumbers($number1,$number2);
echo "$sumOfNumbers";

Obviously, in a real program you would not have the numbers hardcoded like this, but they would be obtained from user input or by some other means. Notice also that although the name of the returned variable is $answer, the calling program makes no reference to that. We could, if we wanted to, change the calling program to:

$answer = addNumbers($number1,$number2);
echo "$answer";

which might make things slightly easier to understand.

About the Author: John Dixon is a web developer working for My Health Questions Matter, a company that helps users of the health service to ask the right questions when discussing their medical condition with health professionals. John is also interested in computer history, and maintains http://www.computernostalgia.net, a site dedicated to the history of the computer. John also provides web development services to large and small clients via his own company John Dixon Technology Limited.

 


Entrepreneurs - Who Gets to Keep the Website After You Divorce Your Webmaster?

Attention all business owners! Do you know the answer to this question: Who gets to keep the website after you divorce your webmaster?

Just like in a marriage, it all depends on the pre-nuptial agreement (contract). Do you have one?

My personal disclaimer: Some of this information may be about legal issues; however this article is not intended as a substitute for legal advice. I am not an attorney nor do I play one on webTV therefore you should consult with an attorney familiar with the laws concerning internet and intellectual property.

Ok, now on with the story, the short version. . .

Here's the situation, for whatever reason the client decided not to pay their annual bill for web hosting services. Even though there were several attempts to reach the client the bill went unpaid for more than 90 days. As a result, the hosting was cancelled and the site was removed from the server.

Several months later the client sent this exact message: "you have my website and I need you to let me know how to get it back, like I said before I paid you money to build it so....? that money had nothing to do with hosting or anything".

Just because you paid for the development of your website does not mean you own it. There are Intellectual Property laws designed to protect the creator and to encourage the creator to create. If you hired a company they own the software development and website design produced by its employees. If you hired an independent contractor you must obtain a written "assignment" of the copyright in the commissioned work from them.

Most business owners unknowingly give their webmaster complete control over their business website. Even if you don't have a pre-nuptial agreement (contract) or own your website you can still maintain some control. While you and your webmaster are honeymooning be sure you can document the answer to these questions:

1. What software was used to develop the website?

  • Exact name
  • Version
  • Software website

2. How to access the code?

3. Where is the code located on the server?

4. How to change the content?

  • Graphics
  • Text

5. How to create a weekly back up?

6. How to grant access to additional users?

7. How to obtain the master copies of your website design?

As a business owner, how many people realize their webmaster is like their spouse? Voluntarily joined for life (or until divorce), not many! Just like in marriage a prenuptial agreement (contract) is a practical solution to dealing with the risks and problematic topic of who gets to keep the website after your divorce.

Tonya R. Taylor, is an entrepreneur, consultant and publisher of "Fake It Friday" a FREE weekly e-newsletter for frustrated small business owners who want helpful technology tips that will save time and money. You'll get insider secrets that will propel your business to the next level! Make a change in your business TODAY sign up for the newsletter NOW at http://www.FakeitUntilYouMakeit.com

Tonya R. Taylor - EzineArticles Expert Author

 


Site Builders That Work

For newbie's starting out with an online venture the notion of building a site can be a challenging one. There is so much information out there it's hard to know where to start. What direction should you go in to yield the best results?

Where you really need to start is with yourself. Write down what you wish to accomplish and put together some form of outline that will help you stay focused. One thing is for sure when doing anything online and that is you will find yourself getting distracted here and there when seeking out information.

This happens to us all but if you have an outline posted in front of you then it will be easier to stay focused. To make life easier on yourself you can use a site builder to build your site.

The advantage of a site builder is that it will help you to construct your site without having to worry about the technical details. The good site builders will also help you to construct your web pages properly so that your reader can understand your message and the search engines can figure out what your pages are about.

This will help your site to get indexed and into the search engines which overtime will provide you with free targeted traffic and if your webpage's are set up right this traffic will make you money.

In some cases site builders come with hosting as well. Once again this provides you with less to worry about and you can get on with the task of building your site around your favorite topic.

To conclude keep it simple, stay focused and you will achieve your goals.

To learn more about this software select any of the links below and watch free videos on how this works.

Watch These Free Videos At Site Build It Customer Reviews please allow time for the videos to load.

Learn how to publish a real website That works Site Build It Review. Sign Up for the free affiliates masters course.

http://www.lfdab.com/Site-Build-It-Customer-Reviews.php

 


Pages 
* About

Archives
    * February 2008
    * January 2008

Categories:
* Uncategorized

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).