Pokerform not showing up on my website

For discussion of the Poker Mavens server module and other administration topics
Post Reply
MatiasMunk
Posts: 3
Joined: Mon Aug 27, 2018 5:17 am

Pokerform not showing up on my website

Post by MatiasMunk »

Hey I'm creating a website where you can play poker using PokerMavens software.
But I'm having this issue where I'm trying to put a frame of the PM Server on the website to show the pokerform.
The code is as follows in index.php:

Code: Select all

echo"<div id='top'><iframe class='pokerframe' src='$src'></iframe></div>";
and this is further up in my index.php

Code: Select all

$player = $_SESSION['username'];
    $key = $api -> SessionKey;
    $src = $server . "/?SitePassword=CocaColaClassic" . "&LoginName=" . $player . "&SessionKey=" . $key;
Yet the PM Server Software's Pokerform is not showing up, what's wrong?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Pokerform not showing up on my website

Post by Kent Briggs »

I'd suggest temporarily logging all your variables to a file after each line so you can see if they contain what you think they contain at that point in the code. Also see the SessionKey2.php example posted here:

http://www.briggsoft.com/docs/pmavens/A ... auto_login
MatiasMunk
Posts: 3
Joined: Mon Aug 27, 2018 5:17 am

Re: Pokerform not showing up on my website

Post by MatiasMunk »

That's what it looks like but it doesn't show the poker client:/
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Pokerform not showing up on my website

Post by Kent Briggs »

MatiasMunk wrote:That's what it looks like but it doesn't show the poker client:/
Did you check the value of every variable? You didn't show enough code for anyone to be able to help you.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Pokerform not showing up on my website

Post by Kent Briggs »

Also, did you check the rendered code that your browser produces? Press Ctrl-U to see the final HTML produced and see what that shows.
MatiasMunk
Posts: 3
Joined: Mon Aug 27, 2018 5:17 am

Re: Pokerform not showing up on my website

Post by MatiasMunk »

I'll check up on that when I come back home, I work in the military so will be a few days ^^
Post Reply