Strip HTML





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

« Previous 1 2 3 4 5 6 7 8 9  ...  18 19 Next »
12
Date Submitted Thu. Jul. 20th, 2006 11:57 AM
Revision 1
Beginner toddersbud
Tags cascade | CSS | firefox | HTML | JavaScript | Styles
Comments 0 comments
This shows how the computed style of each node differs from the computed style of its parent. The root element, which has no parent, is instead compared against the root of a blank HTML document.

* create a new bookmark called "compute styles" in your firefox toolbar. Place the snippet code in the location field of your "compute styles". click the compute styles bookmark, then click an element on the page with the crosshairs.
9
Date Submitted Mon. Jul. 24th, 2006 9:45 PM
Revision 1
Helper svachon
Tags JavaScript | String
Comments 0 comments
Gets the rightmost substring, of the specified length, from a String object.
8
Date Submitted Mon. Jul. 24th, 2006 9:54 PM
Revision 1
Helper svachon
Tags "Regular | Expression" | JavaScript | RegExp | String
Comments 0 comments
Gets a regular expression that'll search for any regexp pattern specified in the parameters.
10
Date Submitted Tue. Jul. 25th, 2006 11:39 AM
Revision 1
Beginner soccer022483
Tags PHP
Comments 2 comments
I'm trying to load an object into a session variable.
17
Date Submitted Thu. Jul. 27th, 2006 4:51 AM
Revision 1
Helper rastersize
Tags PHP | quotes
Comments 1 comments
The recursive function stripslashesDeep($value) will (upon called) strip slashes (\) from strings and arrays (even arrays with arrays within themself). The controlstatement (if) checks if magic quotes gpc is on, if it is we strip the slashes it have added.

Very good snippet if you want to have the "same" input even if you switch to an enviroment where magic quotes gpc is set to something else than on your originall server.
18
Date Submitted Thu. Jul. 27th, 2006 4:56 AM
Revision 1
Helper rastersize
Tags "register | globals" | PHP
Comments 0 comments
This snippet will undo all the nasty stuff which happens when you set register_globals to on in your php.ini file.

(Originally found in the code of Wordpress).
15
Date Submitted Thu. Jul. 27th, 2006 7:21 AM
Revision 1
Helper rastersize
Tags login | Password | PHP | Security
Comments 1 comments
This litle snippet shows how to store passwords and then check inputed passwords if they are correct.

(In this snippet we use som pseduo code for the database connection).
16
Date Submitted Thu. Jul. 27th, 2006 7:54 AM
Revision 1
Helper rastersize
Tags debug | PHP
Comments 0 comments
A small function to help you debug your PHP scripts (with the debug modell, output as much as possible to see where the script fails).
-34
Date Submitted Thu. Jul. 27th, 2006 9:53 PM
Revision 1
Beginner registered99
Tags PHP
Comments 1 comments
Php Things
14
Date Submitted Fri. Jul. 28th, 2006 1:10 AM
Revision 1
Beginner delook
Tags Form | HTML | JavaScript
Comments 2 comments
Set a word or phrase in an input field, clear it onfocus
« Previous 1 2 3 4 5 6 7 8 9  ...  18 19 Next »