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

Doug Simpson simpsond at leopards.k12.ar.us
Fri Nov 7 15:30:01 UTC 2008


>>> Gavin Spurgeon <gspurgeon at redhat.com> 11/7/2008 9:23 AM >>>
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...

OK, how do I set up this authentication stuff on the linux server?

I know little about ldap and etc.

DS

Doug Simpson
Technology Specialist
De Queen Public Schools
De Queen, AR
simpsond at leopards.k12.ar.us
"A Dollar Saved is a Dollar Earned"






More information about the K12OSN mailing list