Unsubscribe script

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I'd like to create a little script to allow users to remove from
mailing list.
I use the folowing code

$remove_msg='Lei riceve questo messaggio poiché si è iscritto alla
newsletter. Potrà revocarla in ogni momento. Per non ricevere la nostra
Newsletter, clicchi qui:'; $urlmail='<a
href="http://www.mysite.com/Mailing/unsubscribe.php?email =';
$urlmail.=$toaddress.'">http://www.mysite.com/Mailing/unsubscribe.php?email ='.$toaddress.'</a>';

such code add to the messages I send users the instructions to remove
themselves from the mailing list. When the user receives the
message, there is the correct link to the script, followed by his
email address. But in the status bar of the browser the email address
is not present, and infact, ib the unsubscribe.php script, the variable
email is empty.

What's the mistake?
      Teaching OnLine  
Corsi online di programmazione
Php, Asp, C, C++, Visual Basic, Delphi
Linux Shell Programming

Re: Unsubscribe script

Lampa Dario wrote:
Quoted text here. Click to load it

Have you tried printing out the string you send in the email to see what it  
looks like?  And are you trying to send this email as html?  If so, do you have  
your headers set up properly?

It's really hard to tell what the problem is from just a few lines of code.  It  
could be a lot of different things.

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Site Timeline