This is a discussion on "Please test my new PHP-MySQL site!" within the PHP Forum section. This forum, and the thread "Please test my new PHP-MySQL site! are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Please test my new PHP-MySQL site!
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
URL: http://www.MHT-CET-Online.com
Purpose: Helps me conduct online test series. Langauge: PHP and MySQL (and lil bit of javascript). How to use the site: 1. Check for availability of username. register if available 2. Choose the question paper available and click OK. 3. Once the question paper loads, please select your answers using the radio buttons. 4. Submit the answer sheet to evaluate. Evaluations will be saved into databse. If encounter any 404 file not found, please let me know the link which you followed. For programmers and white hat hackers: Do let me know if you come across any security hole. I have observed the below measures: 1. All input validated on server side 2. No cookies used at all to store any information. Thank you. -Rohan Shenoy
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
|
|
|
|
#2
|
|||
|
|||
|
Re: Please test my new PHP-MySQL site!
worked fine for me in firefox 2 (mac)
congrats |
|
#3
|
|||
|
|||
|
Re: Please test my new PHP-MySQL site!
Registration:
You can copy/paste your email into the second field. Either prevent that or don't require the retype.... Login: I registered successfully, but when I login, the control panel display once and when i refresh the page, I am no longer logged in.....
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#4
|
|||
|
|||
|
Re: Please test my new PHP-MySQL site!
Nice to know that. I didn't test on Mac!(I use Windows XP)
Thanks!
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
|
|
#5
|
|||
|
|||
|
Re: Please test my new PHP-MySQL site!
Quote:
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
|
|
#6
|
|||
|
|||
|
Re: Please test my new PHP-MySQL site!
So how is the login supposed to work???
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#7
|
||||
|
||||
|
Re: Please test my new PHP-MySQL site!
Rohan you'll need to use some sorta cookie else users wont be able to do anything
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
#8
|
|||
|
|||
|
Re: Please test my new PHP-MySQL site!
@Daniel,
The students will not use the usual browser such as IE, FF, Opera, etc. to take the test. They will access it through a .exe file (made using ebook compiler). The exe files such created are not capable of handling cookies, neither opening multiple windows. @c010depunkk Login will just authenticate the user and send him to his student control panel. And yes, none of the URL which you see in your address bar will be visible to the student.
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
|
|
#9
|
||||
|
||||
|
Re: Please test my new PHP-MySQL site!
Rohan if you do not have a cookie then whenever the student moves to a different page they will be logged out.
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
#10
|
||||
|
||||
|
Re: Please test my new PHP-MySQL site!
Use sessions then?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
#11
|
||||
|
||||
|
Re: Please test my new PHP-MySQL site!
Quote:
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
#12
|
|||
|
|||
|
Re: Please test my new PHP-MySQL site!
Try that, they won't be logged out. Ofcourse, if they try to bookmark and page and then access it, or copy-paste the URL from one window to another, they will be logged out.
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
Last edited by RohanShenoy; Feb 1st, 2008 at 13:46. |
|
#13
|
||||
|
||||
|
Re: Please test my new PHP-MySQL site!
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
#14
|
|||
|
|||
|
Re: Please test my new PHP-MySQL site!
Quote:
![]()
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
|
|
#15
|
|||
|
|||
|
Re: Please test my new PHP-MySQL site!
Without cookies or session the users don't stay logged in for more than one page load..... Then what's the point of the login system?
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
#16
|
|||
|
|||
|
Re: Please test my new PHP-MySQL site!
Did you take the test there?It can keep you logged in for more than one page load.
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
|
|
#17
|
||||
|
||||
|
Re: Please test my new PHP-MySQL site!
How is it you are doing that?
You surely must be using a session cookie or appending PHPSESSID to the query string... Or perhaps it works for the tests because it is a form sending data from one page to the next.. If you're not using the above methods then state won't be maintained across pages unless you send it via GET or POST. If you are relying on form data this opens a security hole as well.
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
|
|
#18
|
|||
|
|||
|
Re: Please test my new PHP-MySQL site!
nope, after submitting the first page, i get a "validation failed".....
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|