June 18, 2006 at 10:30 am
· Filed under PHP
Man, i really have to figure out howo to limit the index.php initial page to only display the excerpt instead of the whole post. Back before i accidently wiped the old reebosak blog files and database, i had figured out a way to only have the initial wordpress page show the excerpt... now to try and figure out what i changed in the code...
Permalink
May 15, 2006 at 2:59 pm
· Filed under PHP
A while back I had some grandios plans for importing item data from
World of Warcraft into a database that I could on
the forums for some plugin ideas that I had. Well, I still haven't gotten around to doing any of that, but I did manage to slap together a simple Lua -> PHP data structure converter class.
All of the conversion is handled by a LuaConverter object [
lua_converter.class.php]
I have written a simple test script [
lua.php] that displays a list of all the lua files inside the ./lua directory and when one is selected, it creates the PHP data structure, evals it, and does a print_r on the results.
Check out the
demo script in action.
Permalink