PHP in OSX not saving cookies?

Joined
Jul 27, 2008
Messages
2
Reaction score
0
Points
1
Hi. Im using Mac Leopard. I am using the PHP that comes default and the default Apache2. I have having some trouble with saving cookies using Curl in PHP. I used curl_setopt($ch,CURLOPT_COOKIEFILE,$cookie) ($cookie being the path to the folder I want my cookies to go and I look and there are no cookies in my folder. I also tried COOKIEJAR and it still doesn't work. I don't know if this is a Mac thing because when I had Linux Ubuntu I had no problems. If someone could help it would be appreciated.
 
Joined
Jun 25, 2005
Messages
3,231
Reaction score
112
Points
63
Location
On the road
Your Mac's Specs
2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
Can't say I know the answer. One guy here mentioned he didn't set privileges properly on the directory. There are also some sample coding there too.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top