At 12:18 AM 4/24/2001 -0700, you wrote:
>I wanted o ask u about a problem regarding my project. The project is 
>related to "Cyber Cafe Authentication". Here we have to chk whether a set 
>of user name & password is valid and if valid allow this user access to 
>internet. All the scripitng has been done in PHP and the operating system 
>is linux. Now we just have to link "IP CHAINS" to our php script. That 
>is  when the user is allowed to access internet, ip chains should start 
>running through the script. However we are stuck at this problem & cannot 
>find a sound solution. Can u plz help us? That would be very nice :)

Something to think about - apache doesn't run as root, ipchains requires 
that you be root.  I suppose you could suid it, but that's an evil 
solution.  Other than that, I'd recommend reading up on ipchains... there's 
a decent HOWTO at www.linux.org

Shawn


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to