PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
klevz
Forum Newbie
Posts: 5 Joined: Mon Sep 08, 2008 8:54 pm
Location: Philippines
Contact:
Post
by klevz » Thu Sep 11, 2008 1:12 am
what are these PHP tags for?
Code: Select all
$_COOKIE[]
$_ENV[]
$_FILES[]
$_REQUEST[]
$_SESSION[]
$_SERVER[]
can anyone give me some discussions about the purpose of these tags and examples..
thanks,, best regards,,
Ziq
Forum Contributor
Posts: 194 Joined: Mon Aug 25, 2008 12:43 am
Location: Russia, Voronezh
Post
by Ziq » Thu Sep 11, 2008 3:20 am
It's a superglobal predefined variables. Read
manual .
pcoder
Forum Contributor
Posts: 230 Joined: Fri Nov 03, 2006 5:19 am
Post
by pcoder » Thu Sep 11, 2008 4:17 am
Try this:
May be you will get more idea.
It is just for an example.
Code: Select all
print '<pre>';
print_r($_SERVER);
print '</pre>';