PDA

View Full Version : PHP Classes


IRV
04-20-2005, 04:35 PM
Anyone know of a hand history reader class or lib available for php.

IRV
04-20-2005, 04:47 PM
[ QUOTE ]
Anyone know of a hand history reader class or lib available for php.

[/ QUOTE ]

I'll add that I don't want to reinvent the wheel.

New York Jet
04-20-2005, 06:38 PM
bisonbison's code is available at SourceForge (https://sourceforge.net/projects/handconverter).

IRV
04-21-2005, 09:43 AM
[ QUOTE ]
bisonbison's code is available at SourceForge (https://sourceforge.net/projects/handconverter).

[/ QUOTE ]

The bisonbison project is useful if you want to convert your hand histories into a nice readable format for forums. I need a programming class written in php that I can use for my own php projects. Thanks anyway though.

MrMoo
04-21-2005, 11:32 AM
No. But if you were doing something I found interesting I'd consider helping you write some.

droidboy
04-21-2005, 12:38 PM
[ QUOTE ]
Anyone know of a hand history reader class or lib available for php.

[/ QUOTE ]

This really is a pedestrian task. It shouldn't take a decent coder much more than a day or two to get this done.

- Andrew

www.pokerstove.com (http://www.pokerstove.com)

Gayle
04-23-2005, 07:59 AM
[ QUOTE ]
[ QUOTE ]
bisonbison's code is available at SourceForge (https://sourceforge.net/projects/handconverter).

[/ QUOTE ]

The bisonbison project is useful if you want to convert your hand histories into a nice readable format for forums. I need a programming class written in php that I can use for my own php projects. Thanks anyway though.

[/ QUOTE ]
If you look at the hand converter code you'll find the first thing it does is parse the hand history from whatever format it's in to a standard internal format. The only time consuming part of writing the parser is coming up with the relevant regexes and all that's done for you.

While it's not PHP and it's not a class you will find most of the hard work has already been done for you if you just read the code.