Anti-SQL Injection
8
This routine will get an image stored in a SQL database (IBM Informix shown here) as a BLOB and return it to the screen.
To place this on an HTML page simply add
I have an MD5 hashed version as well, but can't share that...(So you can have encrypted id's passed)
Have fun,
Jeremy
To place this on an HTML page simply add
I have an MD5 hashed version as well, but can't share that...(So you can have encrypted id's passed)
Have fun,
Jeremy
8
When ByteMyCode was crashing because of the traffic load, we started optimizing MySQL. The server had a load of >50 but the processor was all tied up in IOWAIT. We realized that the database was the source of the bottleneck so we increased all of the cache sizes. Now, it is really fast.
8
A very simple yet very useful function to have around. Especially generating session codes, filenames or new passwords
8
This little tool is pretty useful for administrators who wear the hat of both system admin and DBA on Linux/MySQL boxes. I wrote it as kind of a joke for our Perl developers, but now I use it just about every day for everything from at prompt hackups to full on table space utilization monitoring scripts.
The snippet has the library script that you can source into scripts that actually do work, as well as a script that uses the functions in the libraries. Anyone who has used the C API should be able to relate to using this script.
It's pretty fast and lightweight. It makes only one external call to mysql and sed per query. The rest is all bash builtins. Requires bash > 3.0
The snippet has the library script that you can source into scripts that actually do work, as well as a script that uses the functions in the libraries. Anyone who has used the C API should be able to relate to using this script.
It's pretty fast and lightweight. It makes only one external call to mysql and sed per query. The rest is all bash builtins. Requires bash > 3.0
8
Truncate String
8
Fixed missing $ sign.
8
Ping, PingOMatic service for an updated. Requires: The Inutio XML-RPC Library.
9
Get a List of Folders and/or Files
9
This is a simple PHP script that will show whether a certain port/socket of a certain computer is currently open/active.
9
Function that splits a given string into sections based on the allowed length for a section. Does not split words up. Splits string on Space character (can be set to another character)









