www.webdeveloper.com
Results 1 to 2 of 2

Thread: Variable for

Hybrid View

  1. #1
    Join Date
    Mar 2013
    Posts
    1

    Post Variable for

    I've created a little script, but there's one important thing, and i have no plan how to realize it :/
    i want, that a variable has another value, for every IP, sorry, i'm really bad at explaining, and my english isn't very good, but maybe you'll understand what i mean, if i give you an example:
    let's say, i enter the website, theres a variable and i change its value to 5 (or whatever... ), when i reenter the site on another computer the variable is still on its default value, but when i enter it again on my default computer (=> IP ), the value should still be 5,
    Can you help me with some Code ?

  2. #2
    Join Date
    Oct 2010
    Location
    Versailles, France
    Posts
    1,266
    It's possible to use a cookie to store values on user's browsers. See, for examples : Peter Paul Koch or w3schools.com.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles