I am building a INTRANET for a school district. This school district has 2 high schools. I am building a test IntraNET with PHP at the one school. The idea is that we take away some of that paperwork.
We are trying to make 2 sides to the IntraNET.
Student Section, and Staff.
Staff will have log-in accounts.
But we also was to give students access to specific things, like a student forum, lunch menu, ect ect ect.
But we are afraid this will be a a distraction.
So we are trying to figure out a way to block the IntraNET in each classroom.
(if they are taking a online test, we dont want them sharing answers over a forum. Just one problem, the admins will let us put more content on, if we can provide a way to block the students)
So the idea was to use our schools IP scheme.
The problem is $REMOTE_ADDR returns either the domain name (computername.domain)
or if its on the other side of the school, it returns a single IP address of one of the school routers (I think).
How can I tell the TRUE IP address of the client?
Is there a way?