Credits:
http://www.rpgoutfitter.com/CharacterProfiler/
This is where the basis of the CharacterItems mod came from.
I took their CharacterProfiler and pulled out everything that
wasn't related to items.

CharacterItems.exe and virtually all of bank.php were written
from scratch by me. dispSub, mouseX, mouseY, and column_sort in
bank.php were written by others and found on the web. I didn't
think to keep track of where I got them from.



Contact:
email: WoW@wulfden.com
Bug reports are more likely to be looked at than feature requests



Instructions:
Download the newest version from www.wulfden.com (obviously)

Install the mod to your WoW directory.

Put the CharacterItems program anywhere you want it.

1. Open WoW
2. Go to the bank
3. Open all of your bags (bank and bar, both)
4. Open your character screen
5. Hit the little Save button at the top of the character screen
6. Close or minimize WoW and run CharacterItems.exe
7. Confirm that it found your WoW installation
8. Select server and character
9. Hit Run

To display the results on a site, put the loot.php page that
the program outputs in the same directory as the bank.php page.



Variables:
The following variables are made available to you.

(PHP)
$character - The name of the character this information came from.
$guild - The guild that the character is in.
$copper, $silver, and $gold - The money that's on the character.
$timestamp - The date and time that the information was last updated.
$num_items - The total number of items the character has.
$loot - The item array. You access it as follows (where $item is any
number from 0 to $num_items - 1):
$loot[$item]["amount"] - The number of items in this stack.
$loot[$item]["name"] - The name of this item.
$loot[$item]["color"] - The quality color of this item (#rrggbb).
$loot[$item]["tooltip"] - The tooltip information for this item.
$loot[$item]["texture"] - The in-game texture used for this item.
$loot[$item]["crafter"] - The person who crafted this item.
$usename, $useamount, $usetooltip, $usecolor, $usetexture, $usecrafter
These let you know which options the loot file was generated with.



PROTIPs:
Delete any previous version's Options.txt when you download a new
version. Old option files can crash new versions of the program.

If you want to display the items of multiple characters,
a good way to do it would be to make a folder for each character
with the loot.php file for each in the appropriate folder. Then,
edit the bank.php file to NOT include loot.php, and save it
outside of the character folders. After that, make an index.php
(or whatever) in each character folder that includes loot.php
and ../bank.php

If you want to make a link to search Thottbot for the item, you
could do the following in the display loop (after removing the
</tr> at the end of the third echo):
echo "<td><a href=\"http://www.thottbot.com/?s=" . $v1["name"] . "\">Search</a></td></tr>";

Using the Thottbot link option with the Text output formats the
links using [url] tags, which most messageboards use for links.
Copy and paste the text file to a post, and you should have links
on all your items.



Versions:
1.0.1 - 09/03/2005 - First public release
1.1.0 - 09/21/2005 - Updated path detection for 1.7
                     Added multiple new variables
                     Added options for what data to save
                     Added an option to output in JavaScript (currently disabled)
1.1.1 - 10/18/2005 - Quick update for 1.8
1.2.0 - 10/21/2005 - Added options for a flat HTML and text file
                     Fixed some minor bugs
                     Tightened up some code