make money free online
star business online
11:39 PM

Static Variables

Posted by Business

The final type of variable scoping that I discuss is known as static. In contrast to the variables declared as function parameters, which are destroyed on the function's exit, a static variable will not lose its value when the function exits and will still hold that value should the function be called again.

You can declare a variable to be static simply by placing the keyword STATIC in front of the variable name. STATIC $somevar;

Consider an example:

function keep_track() {

STATIC $count = 0;

$count++;

print $count;

print "
";

}
keep_track();
keep_track();
keep_track();

What would you expect the outcome of this script to be? If the variable $count were not designated to be static (thus making $count a local variable), the outcome would be:

1
1
1

However, since $count is static, it will retain its previous value each time the function is executed. Therefore, the outcome will be:

1
2
3

12:05 AM

Global Variables

Posted by Business

this time online business to explain about global variable, what is global variable let's
we see. a global variable can be accessed in any part of the program. However, in order to be modified, a global variable must be explicitly declared to be global in the function in which it is to be modified.

This is accomplished, conveniently enough, by placing the keyword GLOBAL in front of the variable that should be recognized as global.

Placing this keyword in front of an already existing variable tells PHP to use the variable having that name. Consider an example:

$somevar = 15;

function addit() {

GLOBAL $somevar;

$somevar++;

print "Somevar is $somevar";

}

addit();

The displayed value of $somevar would be 16. However, if you were to omit this
line:

GLOBAL $somevar;


An alternative method for declaring a variable to be global is to use PHP's $GLOBALS
array. Reconsidering the above example, I use this array to declare the variable
$somevar to be global:

$somevar = 15;

function addit() {

$GLOBALS["somevar"];

$somevar++;
}
addit();

print "Somevar is $somevar";

12:09 AM

Function Parameters

Posted by Business

still about variable this time online business to explain about Function Parameters.

As is the case with many other programming languages, in PHP any function that accepts arguments must declare these arguments in the function header.

Although these arguments accept values that come from outside of the function, they are no longer accessible once the function has exited. Function parameters are declared after the function name and inside parentheses.They are declared much like a typical variable would be:

// multiply a value by 10 and return it to the caller
function x10 ($value) {

$value = $value * 10;

return $value;

}

It is important to realize that although you can access and manipulate any function
parameter in the function in which it is declared, it is destroyed when the function
execution ends.

11:27 PM

variable

Posted by Business

this time online business , expain about variable . Scope can be defined as the range of availability a variable has to the program in
which it is declared. PHP variables can be one of four scope types:

· Local variables
· Function parameters
· Global variables
· Static variables

Local Variables

A variable declared in a function is considered local; that is, it can be referenced
solely in that function.Consider this listing:

$x = 4;
function assignx () {
$x = 0;
print "\$x inside function is $x.
";
}

assignx();

print "\$x outside of function is $x.
";

Execution of the above listing results in:

$x inside function is 0.
$x outside of function is 4.

As you can see, two different values for $x are output. This is because the $x located
inside the assignx function is local in nature. Modification of its value has no bearing
on any values located outside of the function. On the same note, modification of the
$x located outside of the function has no bearing on any variables contained in
assignx().

8:52 PM

Variables and Data Types

Posted by Business

Data types form the backbone of any programming language, providing the
programmer with a means by which to represent various types of information. PHP
provides support for six general data types:

· Integers

example : 4, 456, 468

· Floating-point numbers

example :12.45, 5.9736e24

· Strings

example : dino, abc, &%/$£

· Arrays

example : $meat[0] = "chicken";

· Objects

example : $blender = new appliance;

· Booleans

example : $flag = TRUE;

Variable Declaration

A variable is a named memory location that contains data that may be manipulated
throughout the execution of the program.
A variable always begins with a dollar sign, $. The following are all valid variables:

$color
$operating_system
$_some_variable
$model

$sentence = "This is a sentence."; // $sentence evaluates to string.
$price = 42.99; // $price evaluates to a floating-point
$weight = 185; // $weight evaluates to an integer.

next article explain about variable very deep. we learn slowly but definite.

8:14 PM

getting php source

Posted by Business

this time online business to give information if don't know where download php
you can download php in http://www.php.net for the most recently
updated mirror list. From here, you can download PHP in one of two formats:

· WIN32 Binary
· Source code

The Win32 binary is for Windows 95/98/NT/2000 users and for server using apache
you can download in http://www.apache.org

end the if you done to installation don't forget to configure httpd.conf file
in server apache this article will not explain configure , you can she help about configure
in http://www.apache.org and configure to php.ini file in php.

online busniss to consider you done configure , and you try this code :

<?
php_info();
?>

9:21 PM

introduction to PHP

Posted by Business

we learn php now, next time online business to comment about server to useing, nowthays
we concentration to PHP. PHP abbreviation from Personal Home Page to Hypertext Preprocessor,
PHP is best summarized as an embedded server-side Web-scripting language that
provides developers with the capability to quickly and efficiently build dynamic Web.

For writing applications that extend beyond the traditional, static methodology of
Web page development (that is, HTML), PHP can also serve as a valuable tool for
creating and managing dynamic content, embedded directly beside the likes of
JavaScript, Stylesheets, WML (Wireless Markup Language) and many other useful
languages. Providing hundreds of predefined functions, With PHP, we can simply do the
following:


<html>
<title><? print "Hello world!"; ?></title>
</html>

And Hello world! will be displayed in the Web page title bar. Interestingly, the single
line print statement is enclosed in what are commonly known as PHP's escape
characters () is a complete program.

6:09 AM

Beyond HTML

Posted by Business

ok so far we already to speak about strategy , firstly to get start online business or freelance. before you can learn php programming but you must know html first.

This article not be full to tell about HTML just introduction. Ok what you think about this code :


you can write in notped and then save using .html example for name file testing.html. what happen if that code see at IE or Mozilla like this ( am using Mozilla ) :



you can now learn write html code, don’t worry if you not rely on you can using tool like dreamweaver about html automatic appear. Next article you learn php programming.

7:23 PM

link

Posted by Business

www.la-ma.org - Links Market.
www.mygreencorner.com - My Green Corner.
www.ghinmeca.com - Global Index Directory.
www.domaining.in - Arts directory.
www.freewebsitedirectory.com - Free Website Directory.
www.amray.com - AMRAY - Free Web Directory.
Free Link Exchange Directory Submit Links - Submit Links To WahmD.Com Free Link Directory Submission Exchange.
myagloconetwork.blogspot.com - Make Money Online: Make Money Online Link Exchange | Agloco.
www.freerelevantlinks.com - automatic link exchange - Free link exchange. Gain both reciprocal and one-way category specific text links that will help you with your Search Engine Optimization efforts for FREE. Our system will help your internet rankings guaranteed.
www.estorefrontguide.com - Start Your Own Online Store Internet Home Business - Start your own online store Internet business from home selling the Internets best selling products.
www.freesubmit-directory.com - Free Submit Directory.
www.dmegs.com - Dmegs Web Directory.
www.freedirectorysubmit.com - Free Directory Submit - Submit your site for free in this search engine friendly web directory to expose your quality website to the world.
www.rwebdir.info - Astore Submit Directory.
www.url4submit.com - URL 4 Submit.
www.webdir4u.com - webdir4u.com.
www.freeinternetwebdirectory.com - Internet Directory for web promotion.
www.sony-store.info - Sony Store.
www.fndirectory.com - FN Directory - The Quality Link Directory.
www.thunderdir.com - Thunderdir.com.
www.addurlpro.com - Free Add URL Submission.
www.ariestrade.com - Ariestrade.com - Internet Google Ranking in EUROPE - Business from Asia to Europe.
www.topdirectoryseo.com - Add Free Web site URL SEO Directory and Articles Submit.
www.freelinksubmit.net - FreeLinkSubmit.
www.thesubmiturl.com - Free Submit Url.
www.dmozlist.com - dmozlist.com Internet Directory - Submit your site FREE. Drive quality Traffic.
www.list-your-website.com - List Your Website.
www.kvkz.com - KVKZ Free Web Directory.
www.reystar.com - Reystar Search -- Search Engine Advertising Resources - Search Engine offering convenient multiple search engine results, dating reviews, games, and great offers.
www.freedirectorysubmit.com - Free Directory Submit - Submit your site for free in this search engine friendly web directory to expose your quality website to the world.
www.thunderdir.com - Thunderdir.com.
www.rightbiz.co.uk - middlesex business for sale.
www.freesubmitdirectory.info - Free Submit Directory - Human Edited General Web Directory.
www.transops.net - High Pagerank Google PR Link Directory - Transops.Net.
www.freesubmitdirectory.com - FSD Web Directory.
www.fbqe.com - FBQE Quality Web Directory.
www.aiqv.com - AIQV Free Web Directory.
www.kivw.com - KIVW Free Web Directory.
www.kezf.com - KEZF Free Web Directory.
www.kizw.com - KIZW Free Web Directory.
www.pexf.com - PEXF Free Web.
www.oizb.com - OIZB Free Web Directory.
www.fbqo.com - FBQO Free Web Directory.

www.dcuj.com - DCUJ Free Web Directory.
www.pizv.com - PIZV Free Web Directory.
www.lnuz.com - LNUZ Free Web Directory.
www.fblz.com - FBLZ Free Web Directory.
www.dbindex.info - DBIndex.
www.newconceptdirectory.com.ar - New Concept Directory.