45 users online (0 members and 45 guests)  

Thread: set cookies


  Results 1 to 2 of 2

Related

  1. cookies in PHP    Forum: PHP Forum
    Replies: 1
  2. Cookies Session Help    Forum: Website Scripts Forum
    Replies: 8
  3. JS cookies    Forum: Javascript Forum
    Replies: 1
  4. cookies    Forum: General Discussion
    Replies: 3
  1. #1
    davidmook's Avatar
    New User

    Status
    Offline
    Join Date
    May 2006
    Posts
    10

    set cookies

    i wish how to set cookies for login form and logout form.
    can all friend write some source code to me. my only username and password only

  2. #2
    pageBuzz.com's Avatar
    New User

    Status
    Offline
    Join Date
    Oct 2006
    Posts
    21

    Re: set cookies

    to set a cookie use

    print "content-type:text/html\n";
    print "set-cookie: username=$username; path=/pathtofoo; expires=Monday, 01-jan-1970 23:59:59 GMT\n\n";



Tags for this Thread