Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > Internet Gambling > Software
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #41  
Old 04-05-2007, 01:41 PM
Wolfskin Wolfskin is offline
Member
 
Join Date: Apr 2006
Posts: 39
Default Re: Sklansky bucks calculator (php script)

thanks a lot, it works like a charm now
Reply With Quote
  #42  
Old 04-05-2007, 02:33 PM
YoureToast YoureToast is offline
Senior Member
 
Join Date: Nov 2002
Posts: 1,084
Default 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?
Reply With Quote
  #43  
Old 04-05-2007, 02:38 PM
wildzer0 wildzer0 is offline
Senior Member
 
Join Date: May 2005
Location: Balmer, hon
Posts: 2,211
Default 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.
Reply With Quote
  #44  
Old 04-05-2007, 03:14 PM
Tractor Puller Tractor Puller is offline
Junior Member
 
Join Date: Apr 2007
Posts: 3
Default Re: Sklansky bucks calculator (php script)

I keep getting the following message "Warning: Division by zero in luck.php on line 125"
Reply With Quote
  #45  
Old 04-05-2007, 03:29 PM
wildzer0 wildzer0 is offline
Senior Member
 
Join Date: May 2005
Location: Balmer, hon
Posts: 2,211
Default 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.
Reply With Quote
  #46  
Old 04-05-2007, 03:44 PM
TheJared TheJared is offline
Senior Member
 
Join Date: Oct 2006
Posts: 441
Default 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.
Reply With Quote
  #47  
Old 04-05-2007, 03:46 PM
Tractor Puller Tractor Puller is offline
Junior Member
 
Join Date: Apr 2007
Posts: 3
Default 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.
Reply With Quote
  #48  
Old 04-05-2007, 04:03 PM
TheJared TheJared is offline
Senior Member
 
Join Date: Oct 2006
Posts: 441
Default 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.
Reply With Quote
  #49  
Old 04-05-2007, 04:15 PM
wildzer0 wildzer0 is offline
Senior Member
 
Join Date: May 2005
Location: Balmer, hon
Posts: 2,211
Default Re: Sklansky bucks calculator (php script)

Your stake_string is wrong. Should be ($0.50/$1.00)
Reply With Quote
  #50  
Old 04-05-2007, 04:49 PM
tautomer tautomer is offline
Senior Member
 
Join Date: Oct 2006
Posts: 356
Default 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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:44 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.