Re: [PHP] A work around my HTTP_REFERER Prob...

2004-05-10 Thread Craig Donnelly
PROTECTED] 07/05/2004 13:37 To [EMAIL PROTECTED] cc Subject Re: [PHP] A work around my HTTP_REFERER Prob... On Friday 07 May 2004 20:05, [EMAIL PROTECTED] wrote: varibale called 'secure' we asign that variable that value of '4654376534' and divide it by the day (eg: if it's

[PHP] A work around my HTTP_REFERER Prob...

2004-05-07 Thread Tristan . Pretty
To recap... We have two servers: 1. USA - holds most of our databases, and E-mail. but specifically, the usernames and passwords, or all our users (Lotus Domino Server) 2. UK - Runs our website. (Unix Server) We wanted to be able to allow people to login on on server 1, and getr authenticated

Re: [PHP] A work around my HTTP_REFERER Prob...

2004-05-07 Thread Richard Harb
What about allowing your UK server to access the database of your USA Server? You could open a port to that specific IP address only, ... Then authenticating users on the UK server would work like a charm. You could even create a 'shared' database for basic session information. I think if

Re: [PHP] A work around my HTTP_REFERER Prob...

2004-05-07 Thread Tristan . Pretty
[EMAIL PROTECTED] To php-general [EMAIL PROTECTED] cc Subject Re: [PHP] A work around my HTTP_REFERER Prob... What about allowing your UK server to access the database of your USA Server? You could open a port to that specific IP address only, ... Then authenticating users on the UK server

Re: [PHP] A work around my HTTP_REFERER Prob...

2004-05-07 Thread Jason Wong
On Friday 07 May 2004 20:05, [EMAIL PROTECTED] wrote: varibale called 'secure' we asign that variable that value of '4654376534' and divide it by the day (eg: if it's the 12th of may, we divide by 12.. 7th of June, we divide by 7) That would result in a floating point number ...

Re: [PHP] A work around my HTTP_REFERER Prob...

2004-05-07 Thread Travis Low
How about something like this: Write a script on server 1 to accept username and password parameters. If successful, it echoes 1, if not, it echoes 0. On server 2, you do something like this: $s = file(http://server1?login.php?username=$usernamepassword=$password;); if ($s[0]) { # User is

Re: [PHP] A work around my HTTP_REFERER Prob...

2004-05-07 Thread Tristan . Pretty
! Makes me think there's a GET error? Can anyone spot my potentially obvious error? Tris... Jason Wong [EMAIL PROTECTED] 07/05/2004 13:37 To [EMAIL PROTECTED] cc Subject Re: [PHP] A work around my HTTP_REFERER Prob... On Friday 07 May 2004 20:05, [EMAIL PROTECTED] wrote: varibale