Creating nav links: home / about_us / members etc etc

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
User avatar
Joan Garnet
Moderator
Moderator
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars
Contact:

Fri Dec 20, 2002 6:59 pm

There's no need to use cookies.
Cookies are good for other jobs, and you are never 100% secure that the user will have them activated.
I suggest a variable that passes through pages via HTTP.
You can use $HTTP_GET_VARIABLES

Output of variable names and their values passed through HTTP using the "POST" or "GET" method in a form for example.

Code: Select all

while(list($key, $value) = each($HTTP_GET_VARS)) 
{
echo "$key = $value<br>";
}


I hope it helped
;)

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests