Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

Enabling Cookies

General discussions related to php

Moderators: macek, egami, gesf

Enabling Cookies

Postby Source » 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?
New php-forum User
New php-forum User
Posts: 5
Joined: Thu Aug 21, 2003 4:51 pm

Postby swirlee » 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?
User avatar
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back

Postby Joel » Sun Aug 24, 2003 8:20 pm

Are you sure you have cookies enabled on your browser?
New php-forum User
New php-forum User
Posts: 193
Joined: Sat Mar 29, 2003 11:57 pm
Location: Auckland, New Zealand

Postby sigix » 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 .... :?:
php-forum Active User
php-forum Active User
Posts: 364
Joined: Mon Jul 14, 2003 9:39 pm
Location: /Earth/Xion

Postby Redcircle » Mon Aug 25, 2003 6:02 am

Make sure you have a temp dir created. (c:\tmp) under windows.
User avatar
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Return to PHP General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.