Get support from Xavier Media
It is currently Sun Dec 08, 2013 2:35 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: cookies
PostPosted: Sun Jul 10, 2005 1:43 am 

Points:
If I wanted to add a cookie to the code in order to save user's name and display it further down the page, how would i do so?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: Sun Jul 10, 2005 7:02 am 
Offline
XavierForum.com Admin
XavierForum.com Admin
Super VIP Member
Super VIP Member
User avatar

Joined: Tue Mar 15, 2005 4:37 pm
Posts: 1082
Location: Sweden
Points: 1500
If you're using cookie password protection you can use the following variables to get the user name and the password.
Code:
$_COOKIE['loginpwd']
$_COOKIE['loginuser']


Report this post
Top
 Profile Send private message  
Reply with quote  
 Post subject:
PostPosted: Sun Jul 10, 2005 7:10 am 

Points:
thanks :)

i'm afraid the way i used was a whole lot less elegant, haha


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Registered users: xlreariasd


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Portal » Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
[
SEO MOD © 2007 StarTrekGuide ]