Jump to content

Recommended Posts

hi im trying to creat a contest page  i have random prizes, 100 of them

 

"congratulations you have won $20",

"congratulations you have won $10",

"congratulations you have won $10",

"congratulations you have won $9",

"congratulations you have won $6",

"congratulations you have won $6",

"congratulations you have won $6",

"congratulations you have won $6",

"congratulations you have won $5",

"congratulations you have won $5",

"congratulations you have won $5",

"congratulations you have won $5",

"congratulations you have won $5",

"congratulations you have won $5",

"congratulations you have won $5",

"congratulations you have won $5",

"congratulations you have won $5",

"congratulations you have won $5",

"congratulations you have won $4",

"congratulations you have won $4",

"congratulations you have won $4",

"congratulations you have won $4",

"congratulations you have won $4",

"congratulations you have won $4",

"congratulations you have won $4",

"congratulations you have won $4",

"congratulations you have won $4",

"congratulations you have won $4",

"congratulations you have won $3",

"congratulations you have won $3",

"congratulations you have won $3",

"congratulations you have won $3",

"congratulations you have won $3",

"congratulations you have won $3",

"congratulations you have won $3",

"congratulations you have won $3",

"congratulations you have won $3",

"congratulations you have won $3",

"congratulations you have won $2",

"congratulations you have won $2",

"congratulations you have won $2",

"congratulations you have won $2",

"congratulations you have won $2",

"congratulations you have won $2",

"congratulations you have won $2",

"congratulations you have won $2",

"congratulations you have won $2",

"congratulations you have won $2",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won $1",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won 50 cents",

"congratulations you have won nothing ",

 

--------------------------------------------------------------

 

i use this for the page

 

 

<form method="post" action="http://www.whatever.com/mail.php" name="SampleForm">

    <input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER">

   

   

<input name="recipients" value="whatever@whatever.com" type="hidden" />

 

 

 

 

    <input type="hidden" name="subject" value="<?php include('quotes.php'); ?>" />

 

    <table width="987" border="0" cellspacing="5%">

    <tr>

      <td width="563">

      <p align="right" class="style1">Please enter your user name:</p>        </td>

      <td width="399"><input type="text" name="realname" />        </td>

    </tr>

 

---------------------------------------------------------------

from that they enter there user name, it then it sends to me what they won and sends them to a new page telling them what they have won.

 

I have tried using tectites formail script for the security it provides, allowing me to hide my email adress in a .ini file

 

the problem i have is i also want to hide the prize on that initial page, because a user can just refresh , view source and keep doing that until they get the top prize then enter there username

 

how can i pull from those 100 prizes randomly  so they arent seen, hide my email address , and get the prize to display on a winner page after they enter username, and also get this sent to me ?

 

Link to comment
https://forums.phpfreaks.com/topic/89280-script/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.