Does anyone know how to make cookies that remember a chosen background image?
if so please reply or e-mail me

jou can use js to set/get/destroy cookies
here is an example

<head>
<script>
/// js function to set a cookie ///
function create_cookie(name, value, days, domain)
{
  var domain_string = domain ? ("; domain=" + domain) : '' ;
  document.cookie = name + "=" + encodeURIComponent( value ) +
      "; max-age=" + 60 * 60 * 24 * days +
      "; path=/" + domain ;
} 
</head>

to set a cookie simply pass your values to create_cookie() function:

create_cookie("bgcolor", "white.png", 365, "your_domain.com"); 


<head>
<script>
/// js function to read a cookie ///
function read_cookie(name)
{
  var str = document.cookie ;
  if (str.length != 0){
    var value = str.match ('(^|;)[\s]*' + name + '=([^;]*)');
    return decodeURIComponent (value[2]) ;
  }
  return '';
}
</script>
</head>

to get a cookie, simply call the function:
var bgcolor = get_cookie("bgcolor");   /// return "white.png"


To destroy the cookie created above:

<head>
<script>
/// js function to destroy a cookie ///
function destroy_cookie(name, domain)
{
  var domain_string = domain ? ("; domain=" + domain) : '' ;
  document.cookie = name + "=; max-age=0; path=/" + domain_string;
}
</script>
</head>

To destroy the cookie simply call the function:
destroy_cookie("bgcolor", "your_domain.com"); 

you can also use php to manipulate cookies, in this case, go here to learn more

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.