Subdomain Posts
HTML | 3 days ago
HTML | 3 days ago
HTML | 4 days ago
HTML | 5 days ago
HTML | 6 days ago
HTML | 6 days ago
HTML | 6 days ago
HTML | 6 days ago
HTML | 7 days ago
HTML | 7 days ago
Recent Posts
None | 18 sec ago
None | 23 sec ago
Groovy | 29 sec ago
PHP | 31 sec ago
None | 44 sec ago
None | 1 min ago
None | 2 min ago
PHP | 2 min ago
XML | 2 min ago
None | 2 min ago
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Brendon Dugan on the 20th of Aug 2008 10:28:55 PM Download | Raw | Embed | Report
  1. if (!isset $_SESSION["name"]) {
  2.         //Input name from User
  3. }
  4. else
  5.         if (!isset $_SESSION["counter"]){
  6.                 //Set counter Variable to 0
  7.                 //Display Greeting and Rules
  8.         }
  9.         switch $_SESSION["counter"];
  10.                 case 0:
  11.                         //Get First Roll
  12.                         //Input User Bet
  13.                         //counter++
  14.                 break;
  15.                 case 1:
  16.                         //Get Second Roll
  17.                         //Input User Bet
  18.                         //counter++
  19.                 break;
  20.                 case 2:
  21.                         //Get Second Roll
  22.                         //Input User Bet
  23.                         //counter++
  24.                 break;
  25.                 case 3:
  26.                         //Get Second Roll
  27.                         //Input User Bet
  28.                         //counter++
  29.                 break;
  30.                 case 4:
  31.                         //Get Second Roll
  32.                         //Input User Bet
  33.                         //counter++
  34.                 break;
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @h@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: