#41
|
|||
|
|||
Re: Sklansky bucks calculator (php script)
thanks a lot, it works like a charm now
|
#42
|
|||
|
|||
Re: Sklansky bucks calculator (php script)
This is excellent. Any ideas how to automate this so I can results results in a couple of clicks?
|
#43
|
|||
|
|||
Re: Sklansky bucks calculator (php script)
Well, once you get it all set up, all you need to do is change the date if you feel like it and type the c:\Program Files\xampp\php\php.exe luck.php line. pretty simple.
|
#44
|
|||
|
|||
Re: Sklansky bucks calculator (php script)
I keep getting the following message "Warning: Division by zero in luck.php on line 125"
|
#45
|
|||
|
|||
Re: Sklansky bucks calculator (php script)
[ QUOTE ]
I keep getting the following message "Warning: Division by zero in luck.php on line 125" [/ QUOTE ] The only way you would get that is if you're not getting any qualifying hands from the db. Check the variables at the top, make sure everything is set correctly. |
#46
|
|||
|
|||
Re: Sklansky bucks calculator (php script)
Where do I get the info for my pokertracker database to put into the script having trouble finding where each variable is located and can be modified in pokertracker? Where is the username and password info? Do I have to convert the database to SQL to use the script? Have got everything else setup.
|
#47
|
|||
|
|||
Re: Sklansky bucks calculator (php script)
Thanks for the reply wildzer0... my variables are:
$stake_string = "0.50/1.00"; $since_date = "2007-04-01"; $db_name = "PTPGSQL1"; $host = "localhost"; $user = "postgres"; $password = "1234"; Are these in correct format? (stake) Checked them over few times before posting... many thanks for helping me out. |
#48
|
|||
|
|||
Re: Sklansky bucks calculator (php script)
[ QUOTE ]
Where do I get the info for my pokertracker database to put into the script having trouble finding where each variable is located and can be modified in pokertracker? Where is the username and password info? Do I have to convert the database to SQL to use the script? Have got everything else setup. [/ QUOTE ] Nevermind figured it all out. |
#49
|
|||
|
|||
Re: Sklansky bucks calculator (php script)
Your stake_string is wrong. Should be ($0.50/$1.00)
|
#50
|
|||
|
|||
Re: Sklansky bucks calculator (php script)
Do we need to open the php application at all? Someone mentioned telling php where the luck.php file was located and I have no idea what that means or how to do it. Another thing, where should pokenum and luck.php be saved? I have them in a folder on my desktop and that doesn't seem to be working. Computer illiterate here lol. Oh and the luck.php is just a notepad file, does it need to be converted or something?
|
|
|