Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 30.067.470 Times

Safe HTML 5.x-1.2

  Date Added: June 19, 2013  |  Visits: 221

Safe HTML

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)

The 6.x version is out as development snapshot. Please test it and report bugs.Safe HTML is a module that filter the input before the content is stored in the database. Unlike Drupal basic filtering system, Safe HTML filter the form post and perform code cleaning before the content is stored on the site backend.Safe HTML must be enabled on the Input formats section as a filter for the desired input format. Safe HTML cannot be used in conjunction with PHP Parser Filter because Safe HTML will strip any PHP code. Safe HTML can be used together with HTML Filter in order to limit HTML tags to an allowed array.Administrators and allowed users can define custom PHP code to perform additional tasks on the form input. The site administrator can define what kind of custom transformation may occur on the form content. He must appy these transformations to a variable named $html. Example:// strip consecutive spaces$html = preg_replace("/[ ]{2,}/i", " ", $html);The module is based on SafeHTML a project leaded by Roman Ivanov. This module strips down all potentially dangerous content within HTML: * opening tag without its closing tag * closing tag without its opening tag; * resolving cases like abc; * strip any of these tags: "base", "basefont", "head", "html", "body", "applet", "object", "iframe", "frame", "frameset", "script", "layer", "ilayer", "embed", "bgsound", "link", "meta", "style", "title", "blink", "xml" etc. * any of these attributes: on*, data*, dynsrc * javascript:/vbscript:/about: etc. protocols * expression/behavior etc. in styles * any other active contentIt also tries to convert code to XHTML valid, but htmltidy is far better solution for this task.

Requirements: No special requirements
Platforms: PHP
Keyword: Allowed Closing Content Custom Define Filter Input Module Opening Perform Quotappletquot Quotbodyquot Quotheadquot Stored Strip Valid
Users rating: 0/10

License: Freeware Size: 20.48 KB
SAFE HTML RELATED
Modules  -  Filter Default 5.x-1.0
The Filter Default module allows you to assign a default input format for new nodes and comments for each role on your site. It adds a 'Defaults' tab to the Administer > Site configuration > Input formats page on which you can manage the...
10 KB  
Modules  -  Node Embed 6.x-1.4
Have you ever wanted to include the rendering of node within the content of another node? For example, embedding an Image/Slideshow/Video node within the body of an Article node. Or the embedding of an Author node as a bio block within a blog...
10 KB  
Modules  -  WP Custom Menu Filter Plugin 0.6
WP Custom Menu Filter Plugin uses a new filter hook in WordPress 3.1 that allows Custom Menus to be filtered. Instead of using the generic CSS {display:none;}, this plugin actually excludes nav menu items from even being created. While it uses the...
10 KB  
Modules  -  Office Hours 6.x-1.x-dev / 5.x-1.4 1.0
The field enables allowed hours restrictions, setting default hours, input validation.It can use both 24 hours and 12 hours format.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building...
 
Libraries  -  PHP::Session::DB 0.2
PHP::Session::DB is a Perl module to read / write PHP sessions stored in databases. SYNOPSIS use PHP::Session::DB; my $session = PHP::Session::DB->new($id, { DBUSER => $dbuser, DBPASSWD => $dbpasswd, DBNAME => $dbname }); # session id my...
4.1 KB  
Libraries  -  Statistics::OLS 0.07
Statistics::OLS is a Perl module to perform ordinary least squares and associated statistics. SYNOPSIS use Statistics::OLS; my $ls = Statistics::OLS->new(); $ls->setData (@xydataset) or die( $ls->error() ); $ls->setData (@xdataset,...
8.19 KB  
Modules  -  Block Filter 5.x-1.x-dev 1.0
This filter allows an editor to embed any available block into content by using the blocks module and delta in the following syntaxt: [block:{module}:{delta}]InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under...
 
Modules  -  Custom reports 6.x-1.0
Custom reports is a module for times when your client needs to export data from their Drupal site.This module is aimed at developers.If the data they need is a simple query your probably better off using the excelent Views module along with very...
10 KB  
Modules  -  MyHook 7.x-1.0-rc1
MyHook allows module developers to define on-the-fly custom hooks. It is like having a custom module working instantly without creating/installing module files.The package includes 1. myhook.module: An empty module creating myhook namespace for...
10 KB  
Modules  -  D4J Content Listing Module 1.0
D4J Content Listing is the universal module for content presentation. Truly speaking it can represent the “mainbody” in the module context.From the data point of view you can select content from both Joomla content structure...
 
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB