Jump to content

Login working locally, but not on server


luxe

Recommended Posts

Hey guys,

This is not the first time I've made a login before.  However, I made one for a site with its own user db, and it's not working on the server.

It does however work locally, and on another completely different server I tested it on.

 

This is the server that it's working on:    http://dconstruct.net/test.php

 

And this is the server that it's NOT working on:    http://arboranimalhospital.com/test.php

 

I know that they are versions 5 and 4 respectively, and locally I'm running PHP5...but I did change it back to 4 locally, and it still worked.

 

Im suspecting its the culprit server.....?

 

This is the URL value its giving me on that server "http://arboranimalhospital.com/admin/index.php?accesscheck=%2Fadmin%2Findex2.php"

even when I put the correct username and password that being passed in my users database.

 

Any suggestions?

 

 

Link to comment
Share on other sites

well forgive me im a noob.....

but this is what it does on the server it's not working on.

 

1) I login with correct username and password.

2) Instead of taking me to the correct page after logging in, it acts as if it failed and gives me this URL value

http://arboranimalhospital.com/admin/index.php?accesscheck=%2Fadmin%2Findex2.php

 

Although it works locally, and on the other server using PHP5.

 

I've attached my code.

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.