PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Jan 20, 2020 3:27 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: passing cookie variables
PostPosted: Fri Apr 19, 2002 5:59 pm 
Offline
Forum Commoner
User avatar

Joined: Thu Apr 18, 2002 5:32 pm
Posts: 34
Hi guys,

I have created a authentication script which then extracts the user id entered by the user and then stores it in a cookie variable called $mycookie.

Further on into the site I am able to use the cookie to perform various select statements. Only problem is that php files that i have 'required' do not recieve or even recognise the $mycookie variable.

example: require("add.php");

So my select statements which end WHERE user_id='mycookie' simply do not function.

Please forgive me if im overlooking something very small, please point me in the right direction.

Many thanks.

-Abi


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 19, 2002 8:26 pm 
Offline
Forum Contributor
User avatar

Joined: Thu Apr 18, 2002 11:11 pm
Posts: 217
Location: Northern California


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 19, 2002 8:27 pm 
Offline
Forum Contributor
User avatar

Joined: Thu Apr 18, 2002 11:11 pm
Posts: 217
Location: Northern California


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 19, 2002 9:29 pm 
Offline
Forum Commoner
User avatar

Joined: Thu Apr 18, 2002 5:32 pm
Posts: 34


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 19, 2002 11:33 pm 
Offline
Forum Contributor
User avatar

Joined: Thu Apr 18, 2002 11:11 pm
Posts: 217
Location: Northern California


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot 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

Jump to:  
Powered by phpBB® Forum Software © phpBB Group