Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: Cookies

  1. #1
    New Coder
    Join Date
    Feb 2007
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cookies

    Get the cookie.

    I have a cookie that remembers form values, it uses <body onload onunload> to call/save the cookie, it works, however because the form action is the same page it dodesnt. How can i use php to get the cookie???


    To get the cookie it is(javascript way):
    Code:
    onload="cookieForms('open', 'inpform');
    To save the cookie(javascript way):
    Code:
    onunload="cookieForms('save', 'inpform')"

  • #2
    New Coder
    Join Date
    Nov 2006
    Location
    UK
    Posts
    52
    Thanks
    0
    Thanked 0 Times in 0 Posts
    PHP Manual: $_COOKIE
    - Mark


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •