[PHP] Deny access without password to the web site

2001-08-23 Thread Sunil Jagarlamudi

Hello,

How do you let the entire web site be password
protected and require a user to use a password when
the password entry part is on a secure web server and
the other part is on a regular http port.

For example when I type http://foo.com it will forward
me to https://foo.com for the password part and then
once the password is verified it will forward me back
to http://foo.com/index.html or something.

Is there anyway to do this without cookies ? If you
require cookies, do you need a cookie check on all the
subdirectories as well or just somehow get away with 
it when you have it at the top level.

Thank You

Sunil

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
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]




[PHP] Program to check for cookies

2001-08-25 Thread Sunil Jagarlamudi

Is there a program which will check for cookies before
it allows access into the web site ?

I want the user to enter the userid/password on a
secure web server and pass the cookie information to
the regular server. I don't want them to access
regular web server without that cookie being enabled
through the secure server.

Thank You

Sunil

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
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]




[PHP] How to disable access to the site

2001-08-26 Thread Sunil Jagarlamudi

How to disable access to the entire site if the cookie
is not set ?

Can we disable access entirely with some kind of a
script which checks before it allows access ?

Sunil

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
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]