File splitter





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

« Previous 1 2  ...  9 10 11 12 13 14 15 16 17 Next »
9
Date Submitted Wed. Feb. 28th, 2007 3:41 PM
Revision 1
Helper mjlintz
Tags PHP
Comments 1 comments
Mass email list of email addresses from a mysql db table.
6
Date Submitted Thu. Mar. 1st, 2007 3:45 PM
Revision 1
Helper mjlintz
Tags PHP
Comments 1 comments
Pull items from a mysql db table and display in the following format-
item1, item2, item3

In the example code, the query will return all items that have the color "red" specified in the db.
14
Date Submitted Thu. Mar. 1st, 2007 3:48 PM
Revision 1
Helper mjlintz
Tags PHP
Comments 5 comments
Display contents of a folder, see comments in code.
7
Date Submitted Thu. Mar. 1st, 2007 3:53 PM
Revision 1
Helper mjlintz
Tags PHP
Comments 0 comments
Generate multi select box from data in db, then when submitted, each selection is written to a db table as it's own record, each tied together by a common record id.
-6
Date Submitted Thu. Mar. 1st, 2007 3:56 PM
Revision 1
Helper mjlintz
Tags PHP
Comments 5 comments
Get the count of records from DB
12
Date Submitted Thu. Mar. 1st, 2007 4:01 PM
Revision 1
Helper mjlintz
Tags PHP
Comments 3 comments
With this function you can calculate the age of a person

Example:
echo "Age is: " . age("1984-07-05");

Result will be (23 Feb 2005) = "Age is: 20"
14
Date Submitted Wed. Mar. 22nd, 2006 6:10 PM
Revision 2
Beginner nev3rm0re
Tags PHP | String
Comments 1 comments
This function calculates how many lines will text occupy.
Example (simple):


$string = "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Phasellus tincidunt posuere dolor";

$num_lines = how_many_lines(10, $string);

It accepts a third, optional, parameter $options, that allows you to change behaviour. $options should be array. Following configuration options are available:

'white_spaces' - default: array(' ', "\t") - array of chars, that should be treated as whitespace.

'new_lines' - default: array("\r\n", "\n") - array of strings, that should be treated as newlines. For example, for HTML you can set 'new_lines' => array('');

'force_line_breaks' - default: true - force wrapping, when the token is longer than width, or not. If set to false, and token cannot be fitted into $width, function will return false;

'callback' - default: null - callback function for determining character width. Must accept at least one parameter - $char

'callback_params' - default: array() - optional additional callback parameters

'char_widths' - default: null - associative array in a form $char => $width, which contains char width. If $char is not found in the array, it's width is defaulted to 0.

33
Date Submitted Thu. Nov. 9th, 2006 2:11 AM
Revision 1
Helper Nico
Tags Class | PHP | transload | upload
Comments 6 comments
Simple upload class with features such as

- Upload of multiple files at the same time.
- Filtering uploads by size and extension.
- Uploads to configurable subdirs based on date.
- Automatic file renaming if a file with the same name exists.
- Transloading. Copying files from a different host to the local host. (Like Imageshack does)
- And more...
11
Date Submitted Sun. Feb. 11th, 2007 8:01 AM
Revision 1
Helper Nico
Tags google | highlight | keywords | PHP | search | Yahoo
Comments 2 comments
If a visitor comes to your site from a search engine such as Google or Yahoo, this function will highlight the keywords in a given text the user used for his search.
19
Date Submitted Wed. Feb. 28th, 2007 12:30 PM
Revision 1
Helper Nico
Tags clickable | PHP | URL
Comments 2 comments
This function makes URLs in a given text clickable, and shorts down the link text if it's length is over the specified one. (Like vBulletin, etc... does)


PS:
Please explain negative votes, they're pointless otherwise...
« Previous 1 2  ...  9 10 11 12 13 14 15 16 17 Next »