View Single Post
  #2 (permalink)  
Old March 10th, 2009, 08:02 AM
philip_cole philip_cole is offline
Friend of Wrox
Points: 894, Level: 11
Points: 894, Level: 11 Points: 894, Level: 11 Points: 894, Level: 11
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Sep 2005
Location: London, , United Kingdom.
Posts: 166
Thanks: 2
Thanked 33 Times in 33 Posts
Default

Hi Igor,

Most of the code is using $_POST which is fine, but the line to create the url is using $HTTP_POST_VARS. $HTTP_POST_VARS is deprecated in PHP5 in favour of $_POST, and I believe it is no longer available in version 6.
Just use $_POST['email'] as with the rest of the page and it should work fine.

If for some reason this does not work, check if the email is being added to the database, as that is using the same post value.

HTH
Phil
Reply With Quote
The Following User Says Thank You to philip_cole For This Useful Post:
Igor Astakhov (March 10th, 2009)