Hello everyone. I'm new to these forums and I'm in quite a bit of situation with a class I'm currently taking so I'm going to go ahead and explain what's being asked of us and what we're working with in hopes that I may be able to find the help or direction I need to complete this project.
I'm taking a networking troubleshooting class where the instructor has assigned us a project that, in my opinion, has NOTHING to do with network TS.
TDL: He's assigned us to work on a WAMP server using EasyPHP-184.108.40.206 where we have to build a fully functioning page. None of us have ever taken advanced web page classes or know anything about perl / cgi.
The project itself is graded based on the following:
Manage Users-php (working)
All of my PHP content is working as it was very easy to find tutorials and online references to getting PHP and MySQL to work together. However I've run into a huge snag concerning the perl and cgi scripts.
I'm finding that perl in general for authentication isn't very popular and it's difficult to find working scripts that aren't relying on a back end database such as MySQL for authentication.
The instructor is expecting Login-perl to work as such:
Authentication is verified by reading from a flat text file with the information inside it upon which a cookie is created and stored on the machine. This cookie is used to allow access to the session-perl (nothing more than a blank page that just requires the cookie to be present to view) and the manage users-perl pages.
The Manage Users page is nothing more than being able to add and remove users and their passwords from the flat text file. Both session-perl and manage users-perl must contain a script that checks for the cookie. If the cookie isn't present, the page redirects the user to the login-perl page.
The logout-perl does nothing more than destroy the cookie. I've spent weeks searching around for information along these lines but the information is very scattered and mixed. Hopefully someone here can give me some idea of where to go or how to even get started on something like this O.O
Again, I'm not a programmer and I really know nothing about perl or cgi. I can follow scripts somewhat as I read them but really have no knack for creating of my own (and is not expected of the class). We were simply advised to search around the net for already working scripts.
I apologize for the long post but I felt the more information I could put out, the easier it would be for others to see what exactly it is that's expected of the project objective and how it's supposed to work.
Thank you all for your time and hopefully I can make some progress on this soon