Closed

Write two simple php programs

This project received 17 bids from talented freelancers with an average bid price of $54 USD.

Get free quotes for a project like this
Employer working
Project Budget
$10 - $30 USD
Total Bids
17
Project Description

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.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

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