Jump to content

I have a PHP Final Exam! I need Help.


amsterdam

Recommended Posts

I am having problems with 3 questions from my exam.  Any help will be greatly appreciated. 

 

Questions are:

 

Remembering Users...

1.  Construct one script with a form that registers sessions with a radio button, a check box and a dropdown select.  Echo the three Sessions values at the bottom of the script.

 

File Handling

2.  Construct a form that writes you income to a text file.  At the bottom of this script, read the file, add all your money and echo out the total you've earned with your web programming expertise.

 

Hit Counters and Uniqueness

3.  Construct a hit counter that does NOT register a hit from anyone visiting your web page from school. HINT; the schools network's ip is 161.38.223.224.  Another hint: REMOTE_ADDR is the variable that contains a user's IP.

 

Thanks for your help!!!

Link to comment
Share on other sites

Someone isn't going to just code all these for you (unless they have absolutely nothing else to do). You should take it one question at a time and actually supply us with an actual attempt, and the problem with your supplied code.

 

So, lets start with question one. Thats basically just working with forms...then all you need to know other than that is how to register a session.

 

Working with forms - http://www.tizag.com/phpT/forms.php

Sessions - http://www.tizag.com/phpT/phpsessions.php

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.