PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 19th, 2000, 03:24 PM
RayRay RayRay is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: Hong Kong
Posts: 71 RayRay User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 10 m 50 sec
Reputation Power: 14
I want to read/write a Cookies with PHP. It is work in IE, but it doesn't work in NETSCAPE. Why? How to solve it? Thanks.


The script is:

**Read a Cookies:**
if ($HTTP_COOKIE_VARS["TestCookie"]==1)
echo "OK";

**Write a Cookies:**
setcookie("TestCookie","1",time()+86400);

Reply With Quote
  #2  
Old June 19th, 2000, 05:50 PM
Robert_J_Sherman
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Okay, here's what I know with Cookies and IE/NN.

What I would suggest is adding the "path" and "domain" variables... that should allow it to work.

The funny thing is that I've seen the problem you are having before with Perl..

And IE was the one that was dorked up, due to the "date". Yet NN was issuing the date as expected...

------------------
SnR Graphics,
Low Cost Hosting and Web Development.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > Set Cookies in Netscape???

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap