RE: [PHP] apache authentication

2002-01-17 Thread Jon Haworth
SECURITY WARNING: This code uses a hard-coded user-name and password, which begs the question of where they would come from in the real world. You could collect them via a form, but then they will be sent to the PHP script as arguments and so the password will be visible in the URL box

RE: [PHP] apache authentication

2002-01-16 Thread Simon Ritchie
Aaron and I have discussed this offline. He has a PHP front-end running on one server which he is using to control access to pages on another server (the target). He wants the front-end code to collect and check the user's credentials, then request an appropriate URL from the target and relay

RE: [PHP] apache authentication

2002-01-14 Thread Simon Ritchie
Your question is not very clear, not to me anyway. Are you trying to write some PHP code that remembers a user name and password over several requests? If so, I can answer that. According to me, it's hard. The problem is that PHP (in fact Apache itself) doesn't remember any information

Re: [PHP] apache authentication

2002-01-14 Thread Miles Thompson
I'm trying to do a similar thing, although I'm running PHP as an Apache module. There's a directory I want to protect, containing PDf files, access to which will be constrained by .htaccess. Our users have already logged in through a custom login script. I could modify this script so that