hi kent.
when I run this url:
http://localhost:800/eventshandler.asp? ... sh&name=HO Double or Nothing 20K&time=2013-08-25&number=7
every things is ok but when a tourny finish event not work.
PM Config:
Version : 3.19
Enable callback : Yes
URL: http://127.0.0.1:800/eventshandler.asp
Tournament Finish Event: Yes
Hand Event : Yes
my Pm config is ok because hand event work successfully but tournament finish event not work.
Tournament Finish Event not work
Re: Tournament Finish Event not work
i things Tournament Finish Event is NOT "TourneyFinish"
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament Finish Event not work
It is definitely "TourneyFinish". Try amending your code so that every call gets logged to a text file that you can examine. I don't have an ASP version but it would look something like this in PHP:salar wrote:i things Tournament Finish Event is NOT "TourneyFinish"
Code: Select all
<?php
$f = fopen("Callback.txt","a");
$event = $_POST["Event"];
$time = $_POST["Time"];
fwrite($f,"Event = " . $event . "\n");
fwrite($f,"Time = " . $time . "\n");
fwrite($f,"\n");
fclose($f);
?>
Event = TourneyFinish
Time = 2013-08-25 13:08:54
Re: Tournament Finish Event not work
hi again.
i do it.
i dont see date format.
thank you
i do it.
i dont see date format.
thank you
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament Finish Event not work
What do you mean by "date format"?salar wrote:i dont see date format.
Re: Tournament Finish Event not work
tournament event send YYYY/MM/DD MM:SS date format and when i want date only to compare MM:SS Cause bug
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Tournament Finish Event not work
Then just trim off the MM:SS part in your code.salar wrote:tournament event send YYYY/MM/DD MM:SS date format and when i want date only to compare MM:SS Cause bug
Code: Select all
$time = $_POST["Time"];
$date = substr($time, 0, 10);