Write two simple php programs

  • Stare Închis
  • Buget $10 - $30 USD
  • Total oferte 17

Descriere proiect

Write Two Simple PHP Projects using basic PHP and SQL

1. Create a document with a "nag" counter that reminds users to register. Save the counter in a cookie and display a message reminding users to register every fifth time they visit your website. Create a form in the body of the document that includes text boxes for a user's name and email address along with a Registration button. For simplicity information will not be stored in a database. After a user fills in the text boxes and clicks the Registration button, delete the nag counter cookie and replace it with cookies containing the user's name and email address. After registering, display the name and email address cookies whenever the user revisits the site.

2. Create a guessing game using the rand() function that uses sessions to store a random number between 0 and 100, along with the number of guesses the user has attempted. Each time the user guesses wrong, display the number of times the user has guessed. Include a Give Up link that displays the generated number for the current game. Also include a Start Over link that deletes the user session and uses the header("location:URL") function to navigate to the main page.

Obține oferte gratuit pentru un proiect similar
Aptitudini necesare

Vrei să câştigi niște bani?

  • Setează-ți bugetul și intervalul de timp
  • Schițează-ți propunerea
  • Fii plătit pentru munca ta

Angajează freelanceri care au plasat oferte și la acest proiect

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online