Re: BBC Salary disclosures
- From: Krustov <me@xxxxxxxxxxx>
- Date: Wed, 26 Apr 2006 00:46:17 +0100
In article <slrne4ta6n.2sc.spam@xxxxxxxxxxxxxxxxxxxxxx>,
spam@xxxxxxxxxxxxxx says...
And ? .Is that a mathematical equation from last night's Open University?
Looks like a variation of the ? : operator used in languages derived from C.
I wouldn't put it past Krusty to try to pervert PHP to fit his semi-literate
grasp on English.
?dom=***&crap=his&lol=website
Despite what some people on here might like to think - the above is
quite valid and could be used .
Lets break down the component parts .
?dom=***
&crap=his
&lol=website
This is really little more than simply passing text information from one
webpage to another .
? &
The "&" is used if you want to pass more than one piece of information
and while 2 are used in this example you could use as many as you want .
The following php code would be on the next webpage .
$davina=$_REQUEST['dom'];
$murphy=$_REQUEST['crap'];
$nologo=$_REQUEST['lol'];
Note how only some parts are used .
This is because one part is a variable name and its the variable that
holds and stores the information when passed .
In laymans terms - the following would be the result .
$davina="***";
$murphy="his";
$nologo="website";
As these variables now contain the passed information - you can now use
these variables for a variety of things .
The most common use of course is to display the text contents of the
variable on the actual webpage .
<?php print "Dom is a $davina and $murphy $nologo is utter *** ."; ?>
Thats what the php source code would look like .
Dom is a *** and his website is utter *** .
Thats what the text display on the webpage would look like .
For users who dont have php enabled webspace - then you can download and
install something like XAMPP if you must .
Thats all folks .
.
- References:
- BBC Salary disclosures
- From: Deano
- Re: BBC Salary disclosures
- From: michael adams
- Re: BBC Salary disclosures
- From: DAB sounds worse than FM
- Re: BBC Salary disclosures
- From: michael adams
- Re: BBC Salary disclosures
- From: Krustov
- Re: BBC Salary disclosures
- From: michael adams
- Re: BBC Salary disclosures
- From: Krustov
- Re: BBC Salary disclosures
- From: Dom Robinson
- Re: BBC Salary disclosures
- From: Krustov
- Re: BBC Salary disclosures
- From: Dom Robinson
- Re: BBC Salary disclosures
- From: Krustov
- Re: BBC Salary disclosures
- From: Dom Robinson
- Re: BBC Salary disclosures
- From: Krustov
- Re: BBC Salary disclosures
- From: Dom Robinson
- Re: BBC Salary disclosures
- From: Marcus Houlden
- BBC Salary disclosures
- Prev by Date: Re: the apprentice online
- Next by Date: Re: LOST channel4 spoilers in trailers - duh !!!
- Previous by thread: Re: BBC Salary disclosures
- Next by thread: Re: BBC Salary disclosures
- Index(es):