[K12OSN] pulling winders environment data into a form from a PHP webpage

Gavin Spurgeon gspurgeon at redhat.com
Fri Nov 7 15:23:29 UTC 2008

On Fri, 2008-11-07 at 08:46 -0600, Doug Simpson wrote:
> Unique request. . .
> Is there a way to write an input field in a webpage that will pull environment data from winders and enter it into an input field in a php webpage?
> I am working on a system for bellwork (things the students must do first thing when the bell rings) and I would like the webpage they view and fill out with the daily bellwork to pull the login name of the currently logged-in windows user into a hidden field for submission to the teacher.
> Two reasons:
> A. Students couldn't cheat.
> B. The teacher knows who did.
> C. The teacher knows if they did it.
> Ok, there was three. . .
> I am using a script that takes input from the student, like name, period, grade, etc.
> The teacher edits a simple text file with the day's instructions in it and that is placed using include.
> The students have places to respond and a submit button at the end.
> It then emails the results to a specified email account.
> But with the student being able to enter the name themselves, a single student could enter the data for any number of them. If it pulled the currently logged in user's name and submitted that along with, the teacher would know if cheating was going on.
> Just a weird, unique request. . . 
> Thanks!
> Doug
> P.S. The webpage is php, running on a linux server and the students are logging in on windows workstations from a Novell server.

Why not just make the user authenticate to your www page with the NDS
details, then using php/ldap you will be able to pull in all of the
username details strait from Novell in a no editable field...

Gavin Spurgeon.
gspurgeon at redhat.com
RedHat GLS Instructor EMEA
Red Hat UK Ltd
200 Fowler Avenue 
IQ Farnborough, Farnborough, Hants GU14 7JP
Mob:    +44 7841 231160
Tel:    +44 1252 362700
Fax:    +44 1252 548116

Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham (USA), Brendan Lane (Ireland), Matt Parson
(USA), Charlie Peters (USA)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/k12osn/attachments/20081107/a4fcd926/attachment.sig>

More information about the K12OSN mailing list