Tiny PHP Uploader





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

« Previous 1 2 3 4 5 6 7 8 9  ...  15 16 Next »
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
8
Date Submitted Fri. Aug. 4th, 2006 4:16 AM
Revision 1
Helper axsaxs
Tags File | I/O
Comments 0 comments
Class method to read a binary file and copy it to a byte array.
4
Date Submitted Fri. Aug. 18th, 2006 7:25 AM
Revision 1
Helper axsaxs
Tags Delete | Files | pattern
Comments 0 comments
Walks every subdirectory starting from [initial_dir] and deletes every file in it that contains in its filename a [string]
15
Date Submitted Sun. Aug. 27th, 2006 10:44 AM
Revision 1
Helper mceppi
Tags filesize | PHP
Comments 2 comments
A small recursive php function to determine the size of a directory by adding all it's contents together and returning them as an integer.
-9
Date Submitted Mon. Aug. 28th, 2006 9:00 AM
Revision 1
Helper axsaxs
Tags binary | CSharp | File
Comments 1 comments
Write a set of bytes into a so-called binary file. The point is that we use BinaryWriter here and we have a byte array as input.
« Previous 1 2 3 4 5 6 7 8 9  ...  15 16 Next »