The following code below is from a calendar off a blog site.
When they add [ ?d=12&m=11&y=05 ] to the end of the url, its obvious that they are entering the 12th day, llth month, 2005th year into some variable or array.
1)Is this the _POST Global array or the _GET, or the _SESSION or are these just entered into some user predefined global variable?
2)Based off the url address, how could you echo these results or take the value and set it to another variable
$currentmonth = _POST['m'] ???? _GET['m' ????
3)Does this string contain htmlentities? or anything to do with slashes?
-- code snippet --
8 |
9 |
10 |
11 |
12 |
2006-11-25
18:55:12
·
2 answers
·
asked by
f1avor_f1av
3
in
Computers & Internet
➔ Programming & Design