| 
	
 | 
 Posted by Jerry Stuckle on 08/23/07 15:21 
pete.brooker@gmail.com wrote: 
> Hi, 
>  
> Being new to PHP & cookies, I am looking to write an email form, where 
> a user can choose their name from a drop down list, fill in the 
> content of the email and hit send and the email will be from that 
> user. 
>  
> Then the next time they visit the page, I want to be able to read that 
> cookie and preset the From part of the email from the cookie. 
>  
> But I have no clue where to start and can't find any examples of the 
> web. 
>  
> If anyone can help out or point me at a script that has this I'd be 
> very grateful. 
>  
> Many thanks 
> Pete 
>  
 
It's pretty easy - you can start at: 
 
http://us.php.net/manual/en/features.cookies.php 
 
Just keep in mind you can't control cookie behavior on the browser end.  
  For instance, my browser is set up to destroy all cookies when I close  
it (except for sites I specify). 
 
--  
================== 
Remove the "x" from my email address 
Jerry Stuckle 
JDS Computer Training Corp. 
jstucklex@attglobal.net 
==================
 
  
Navigation:
[Reply to this message] 
 |