Multiple Choice Questionnaire Designer

M

Michael Winter


[running PHP from the command line]
In Linux, you use the -f flag to specify a file.

Not necessary to use flags to create a file:
$ /usr/local/bin/run.php > file.html
will create your file. Just use >> to keep appending from different
sources. [...]

I was going by the PHP manual, which, unlike the Windows version of the
preprocessor, specifies the -f flag. It's probably out-of-date or
inaccurate, but I couldn't test it[1].

Mike


[1] My Linux installation is broken at the moment.
 
B

Ben Measures

Toby said:
Which would be a crummy solution as the answers would be clearly visible
by just viewing the page source.

Who said anything about cheating?

By your reckoning it is impossible to do it client-side in any
programming language without string encryption.

Come to think of it, who said the answers were client side anyways? The
OP just asked for something that "will generate a page displaying 50
random questions" - nothing about answers or checking if input is
correct. For all we know, Clippy might just want the selected options to
be printed out for marking later.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top