Thread: php / cookie

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Posts
    15
    Rep Power
    0
    <? setcookie ("username","$username",time+0)
    ?> Works fine for netscape4, but ie5 doesnt receive it. Ideas/suggestions welcome.

    Thanks,
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Posts
    43
    Rep Power
    15
    take the quotes off of $username ...

    that should do it.

    mike

Similar Threads

  1. Replies: 2
    Last Post: August 18th, 2004, 11:45 PM
  2. Placing user-entered data into cookie
    By Tyrone in forum Perl Programming
    Replies: 2
    Last Post: February 17th, 2004, 05:31 PM
  3. Replies: 2
    Last Post: February 9th, 2004, 02:22 PM
  4. will PHP write over the same cookie?
    By xpatriot in forum PHP Development
    Replies: 5
    Last Post: February 2nd, 2004, 09:59 AM
  5. UnixODBC + PHP + Apache + Empress
    By coder4hire in forum Database Management
    Replies: 0
    Last Post: January 15th, 2004, 02:41 PM

IMN logo majestic logo threadwatch logo seochat tools logo