Home > Games > Video Poker
1. Custom Logo (optional)
Help

Enter the full URL to your image, including http:// (or leave blank to use the default PlayUnited logo).

2. Background Color
Help

Choose a color

3. Choose Display Size:
Help

Choose the dimensions (size) you want for the poker game.

4. Use High Scores? (optional)
Help

Displays top 10 high score list in-game.

Generate Your Cut and Paste Code

Setting up the game files on your site/server:

To begin, first download this zip file. Unzip and upload the contents to a sub-folder on your Web site (i.e.http://www.yoursite.com/puvideopoker/). The files do not need to be modified, and on most servers should not need to have their access permissions altered either.

Note that the file highscore.php is only required if you wish to maintain a high score list, and does not need to be uploaded otherwise. The files playunited.swf and swfobject.js are required files to run the video poker game either way.

If you are using the high score option, when the game is run and calls (runs) the high score file for the first time, it will generate the following files in the same directory that highscore.php was uploaded to. These are the database files that will store the data:

  • playunited-vpscores.weekly
  • playunited-vpscores.daily
  • playunited-vpscores.alltime

If the files are not created:
You may need to change the permissions on the directory highscore.php is located in. On Linux-based servers, temporarily set the permissions for the directory to read, write, execute (chmod 777), then run the game or highscore.php file again, then revert the directory permissions to their original settings. Those with particularly restrictive hosting accounts may not be able to maintain a high score list.

Placing the game code on your web site:

The HTML code you'll put on your page(s) to display the game needs to know what directory the game files are in. Enter the directory you uploaded the files to below, then put the generated code on your page(s) wherever you'd like the video poker game to appear. We recommend that the you place the directory at the root of your site to simplify any loading issues.

What directory did you put the files in?

Include the full directory path including all slashes. For example /puvideopoker/...