Installation
-
Unzip PHPWebQuiz.zip and move the folder PHPWebQuiz for example into your folder [Program files]
-
To have easy access to the manual, create a shortcut from [Program files]\PHPWebQuiz\ReadMe.html
to your start menu folder.
-
To install PHPWebQuiz, copy the folder ..\PHPWebQuiz\English into your desired web publishing folder.
Of course, you may rename the folder ..\English as you like. Lets say, you rename it to ..\WQ!
If your web site uses for example the root folder C:\Inetpub\wwwroot\, it is recommended to
install PHPWebQuiz into your folder C:\Inetpub\wwwroot\cgi-bin\. This means, you will have
a folder C:\Inetpub\wwwroot\cgi-bin\WQ\ with the necessary content (according the renaming above).
In the following lines, I will reference "your web site root folder" as [wwwroot] instead of "C:\Inetpub\wwwroot\" in the example above.
-
Your folder [wwwroot]\cgi-bin\WQ\ needs to have script execute and write permission (most probably, you
will have granted this for the whole cgi-bin folder)
-
PHPWebQuiz is now installed in English. To install it in German, copy the folder
..\PHPWebQuiz\Deutsch instead of ..\PHPWebQuiz\English to your [wwwroot]\cgi-bin\ directory.
-
The start page Welcome.php contains two more options:
- You may automatically delete data records which are old
or where the respective quiz has not been finished.
To activate it, open Welcome.php with a text editor and delete the comment
signs "/*" on line 107 and "*/" on line 132! Here, you will find more information
about further details.
- You may activate a hit counter by deleting the comment
signs "/*" on line 143 and 170!
-
http://www.localhost/ stands for the URL of your web site!
|
To run PHPWebQuiz, start your browser and open the URL
http://www.localhost/cgi-bin/WQ/Welcome.php
-
If you open the URL
http://www.localhost/cgi-bin/WQ
you get a page named "index.html", which will auto redirect you to the address above.
-
If you open the URL
http://www.localhost/cgi-bin/WQ/editdatabase.php
you will get a password protected page. Here, you may delete records from the
database according age and completeness
(quiz finished/unfinished).
The default password is "admin". To change it, open editdatabase.php with a simple text editor,
e.g. TxtEdit (you will find it on my web site)
and modify line 19: "$password="admin";" to insert your private password.
Update September 17, 2001