Proper Paragraphs





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

« Previous 1 2 3 4 5 6 7 8 9  ...  16 17 Next »
16
Date Submitted Tue. Jun. 13th, 2006 12:24 AM
Revision 1
Coder mattrmiller
Tags "Phone Number" | Format | PHP
Comments 3 comments
Format a phone number with php.
3
Date Submitted Tue. Jun. 13th, 2006 3:21 PM
Revision 1
Helper gbarendt
Tags enum | String | VB.NET
Comments 0 comments
Given a string, you can return an Enum value

Originally found at http://codeproject.com/dotnet/EnumTips.asp?df=100&forumid=38264&exp=0&select=797671
13
Date Submitted Fri. Jun. 23rd, 2006 10:19 AM
Revision 1
Coder mattrmiller
Tags Authentication | Email | PHP | SMTP
Comments 0 comments
I needed to send an email through an authenticated SMTP server. I found the snippet on the PHP website to do the trick.
11
Date Submitted Wed. Jul. 5th, 2006 8:15 AM
Revision 2
Helper poncho
Tags Array | Name | PHP | String | Value
Comments 3 comments
Convert an irregular name=value pair string into a formatted array.
13
Date Submitted Tue. Jul. 11th, 2006 10:34 PM
Revision 1
Coder mattrmiller
Tags Generator | Number | PHP | Random | String
Comments 2 comments
Generate a random number or string in PHP.
3
Date Submitted Sat. Jul. 15th, 2006 8:18 PM
Revision 1
Beginner materix
Tags Slashes | String | Strip
Comments 0 comments
Sometimes you need to remove slashes from POST variables which could contain arrays. The standard slipslashes-function only takes a string as parameter.

This function removes slashes from both a simple string and array variable.
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.
« Previous 1 2 3 4 5 6 7 8 9  ...  16 17 Next »