"If you want to do it properly" .. My concern is security issue and is all around this .
This piece of code is not for sending email . Serve for having a check box on product_info page . By checking this you agree being notified by email ( crontab script ) when product will be on sale . I have a custom table on database where this info is being saved . Now this part is working properly but security is the most important here .
I have removed "Allow from localhost_IP" from configure.php and I loaded application_top.php on my php script. Seems everything working now .


Reply With Quote

