General discussions related to php
Moderators: macek, egami, gesf
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?
- Posts: 2272
- Joined: Sat Jul 05, 2003 1:18 pm
- Location: A bunk in the back
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
- Posts: 193
- Joined: Sat Mar 29, 2003 11:57 pm
- Location: Auckland, New Zealand
Are you sure you have cookies enabled on your browser?
- php-forum Active User
- Posts: 364
- Joined: Mon Jul 14, 2003 9:39 pm
- Location: /Earth/Xion
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 ....
- Posts: 830
- Joined: Tue Jan 21, 2003 10:42 pm
- Location: Michigan USA
Make sure you have a temp dir created. (c:\tmp) under windows.
Who is online
Users browsing this forum: Bing [Bot] and 4 guests