Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help
Author Message
voddkaman
New Member
New Member


Joined: May 03, 2005
Posts: 7

PostPosted: Sat May 21, 2005 7:38 pm Reply with quote

I would like to use common counters on my site. But, Nuke has issues with javascript (which I can understand). But, I don't have a forum and don't really allow any direct uploading/posting without being moderated by me, so I think i'm keeping the risk of some harmful html/javascript code getting on the site low.

So how can I make Nuke accept Javascript?

thanks
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17077

PostPosted: Sun May 22, 2005 1:11 am Reply with quote

Nuke has no problem at all accepting javascript. It guards against people posting and/or sending javascript in GET and POST actions. There is even an includes/javascript.php file for common javascripts. There are a few different ways to add javascript to your files, but it's just another tag to nuke when embedded in regular code. My preferred way, because it doesn't require you to use echo statements and worry about quoting, is called HEREDOC notation. You can read about it at Only registered users can see links on this board! Get registered or login!.
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Post Installation Help

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©