Splitting a Log into a 3D array





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

« Previous 1 2  ...  7 8 9 10 11 12 13 14 15 Next »
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).
11
Date Submitted Tue. Sep. 19th, 2006 7:09 PM
Revision 1
Helper RaX
Tags PHP
Comments 0 comments
This will give you CheckDNSRR functionality in windows.

This function is only natively available in php while running on Linux.
13
Date Submitted Tue. Sep. 19th, 2006 7:11 PM
Revision 1
Helper RaX
Tags PHP
Comments 10 comments
This little function will split an e-mail address passed to it at the @ sign, and make sure that there is a valid e-mail server at the other end =)
5
Date Submitted Wed. Sep. 20th, 2006 9:18 AM
Revision 1
Helper RaX
Tags PHP
Comments 0 comments
Returns an array of folder/file names in the specified path.
9
Date Submitted Tue. Dec. 19th, 2006 3:47 PM
Revision 1
Helper RaX
Tags PHP
Comments 2 comments
This routine checks a client's IP address against a few open lists of blacklisted IP addresses, returns TRUE if the ip is a known proxy.
0
Date Submitted Fri. Nov. 28th, 2008 3:12 AM
Revision 1
Beginner RB
Tags PHP | xoops
Comments 0 comments
auto create and check token with different xoops versio
8
Date Submitted Mon. Oct. 16th, 2006 9:59 AM
Revision 1
Beginner rdohms
Tags PHP
Comments 2 comments
A very simple yet very useful function to have around. Especially generating session codes, filenames or new passwords
« Previous 1 2  ...  7 8 9 10 11 12 13 14 15 Next »