Enabling Cookies

General discussions related to php

Moderators: egami, macek, gesf

Post Reply

Sun Aug 24, 2003 2:22 pm

I have MySQL, php and Apache installed on my machine and I'm having problems enabling cookies, so that I could test my site before I upload it to the real server. I've edited configs of apache and php and set everything I could find about cookies to yes, but it doesn't work.

Am I missing something? What variables should I change in the config?

User avatar
Posts: 2257
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back

Sun Aug 24, 2003 2:49 pm

Generally speaking, to get cookies to work, there's nothing to configure on the server side. A vanilla installation of PHP/Apache should work just fine without any tweaking. What exactly are you trying to do with cookies? Can we see the part of your code that deals specifically with cookies?

New php-forum User
New php-forum User
Posts: 193
Joined: Sat Mar 29, 2003 11:57 pm
Location: Auckland, New Zealand

Sun Aug 24, 2003 8:20 pm

Are you sure you have cookies enabled on your browser?

php-forum Active User
php-forum Active User
Posts: 364
Joined: Mon Jul 14, 2003 9:39 pm
Location: /Earth/Xion

Mon Aug 25, 2003 2:21 am

yes I think nothing needs to be configured on the server side for cookies to work on default (vl....) configuration
are you getting any warnings ..errors .... :?:

User avatar
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Mon Aug 25, 2003 6:02 am

Make sure you have a temp dir created. (c:\tmp) under windows.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Kryptic and 3 guests