>>  Site Map >>  Forums >>  Modules 6x

Forum module - topics in forum:



Modules 6x - Discussions regarding PHP-Nuke Modules.



Newsletter Trouble

I decided to use and don't all spit at once Very Happy Frontpage to makeup a Newsletter then copy and paste the HTML into a newlstter module, now this worked fine the first time but now it keep telling me that the HTML Tags I'm trying to use are not allowed Confused

What does it mean by this, I suspect some code is frowed upon but which one or one's

Help please....






You're lucky - if I send out a newsletter I get nearly 500 returned messages!

It just won't send them Shocked Confused






So what TAG's are the problem Very Happy






Javascript, iframes, etc etc.

From mainfile.php

Code: :
if ((eregi("<[^>]*script*\"?[^>]*>", $secvalue)) ||
   (eregi("<[^>]*object*\"?[^>]*>", $secvalue)) ||
   (eregi("<[^>]*iframe*\"?[^>]*>", $secvalue)) ||
   (eregi("<[^>]*applet*\"?[^>]*>", $secvalue)) ||
   (eregi("<[^>]*meta*\"?[^>]*>", $secvalue)) ||
   (eregi("<[^>]*style*\"?[^>]*>", $secvalue)) ||
   (eregi("<[^>]*form*\"?[^>]*>", $secvalue)) ||
   (eregi("\([^>]*\"?[^)]*\)", $secvalue)) ||
   (eregi("\"", $secvalue))) {
   die ("<center><img src=images/logo.gif><br><br><b>The html tags you attempted to use are not allowed</b><br><br>[ <a href=\"javascript:history.go(-1)\"><b>Go Back</b></a> ]");







So if I remove the ones from

Quote: :
if ((eregi("<[^>]*script*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*object*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*iframe*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*applet*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*meta*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*style*\"?[^>]*>", $secvalue)) ||
(eregi("<[^>]*form*\"?[^>]*>", $secvalue)) ||
(eregi("\([^>]*\"?[^)]*\)", $secvalue)) ||


That are stopping the script will this get round it or will I just open up a bigger can of worms.






That is entirely up to you.

You could always remove what you need to send the newsletter and then re-add it after.




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS