in reply to Re^8: CGI-mailer script
in thread CGI-mailer script

Yes you will have to alter the javascript as other people have described. I'm not sure how the author of the javascript can describe it as "ready code" without specifying the interface requirements to the backend CGI program, I would suggest that you go back to the author and tell him the FormMail program you are using and ask him to change the javascript to submit the data in the required way. Either that or hire a programmer to write the CGI backend for you - in which case you might go to http://jobs.perl.org and post the requirements and how much you are prepared to pay.

/J\

Replies are listed 'Best First'.
Re^10: CGI-mailer script
by santander (Acolyte) on Aug 19, 2004 at 13:18 UTC
    here is script author reply: "There are two scripts involved here. My client-side script which runs in a Web browser is listed on my Web page. It is complete. However, I don't have access to the server-side CGI script which does the actual emailing. The script belongs to someone else, I just used it." Maybe someone can recommend ready javascript? Could the FormMail itself be customized for my javascript?

      The Javascript you have there relies on a CGI program that has a horribly insecure interface, as it appears that it allows the user of a web page to insert any e-mail and any text they went into a mail - which is of course ideal for the spammers, no one in their right mind is goin to alter a perfectly good, working and secure FormMail program so that it becomes a spam relay simply because you don't want to change some javascript.

      What I recommend is that you make another request to nms-cgi-support@lists.sourceforge.net including the code that you posted earlier and explain clearly that you would like to know how to interface that Javascript with the NMS FormMail, someone may be generous enough to give you the whole solution but we can give you the pointers.

      /J\

        Please specify what unsecure features you see in that javascript? The purpose of script(as author explained)is log visitors statistic(domain, browser,title, url, etc)to get statistic data as much as possible.