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

2004-05-10 Thread Craig Donnelly
> Master: > Code 1: > Code 2: > Code 3: > > > > If I change the GET requests to simple variables, and assign a new > variable called $secure, and asign it the value: 126807.714285714 > The page works! > Makes me think there's a GET error? > > Can anyone

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

2004-05-07 Thread Tristan . Pretty
04 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 > > da

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=$username&password=$password";); if ($s[0]) {

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

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

2004-05-07 Thread Tristan . Pretty
d Harb <[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 authenticati

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 session

[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 et