I dont believe the server side has anything to do with redirection problems since redirects used in PHP are normally the sending of the HTTP Redirect Header to the browser, or Document Moved Permanently etc. Header. This is the same across servers for which ever HTTP version being used. Its up the browser to follow the http protocol and implement the redirect.
However, most likely its to do with your login not working. I tested and the site http://killertalent.com/ worked fine, redirecting me to http://killertalent.com/members.php after login.
If you think its the redirect, then please post the contents of the redirect2page() function.
The login may not work because of session cookies problems or some server side error etc. So I'll bet the login is being written to the database and session, but when you were being redirected to members.php, your access (session) could not be verified. Maybe because the session cookie was not written?
So maybe the contents of members.php could help, or the function which validates the users session.
I've noticed in some applications redirects would lead to a different domain (as far as the browser is concerned) because the redirect when to www.site.com instead of site.com. I dont think this happened here since the redirects are to relative urls, but thats good to note.
digital-ether
Nearly a Posting Virtuoso
1,293 posts since Sep 2005
Reputation Points: 461
Solved Threads: 101
I just found your other post:
Found
The document has moved here.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.34 Server at killertalent.com Port 80
so it is the server.... maybe posting the redirect function could help..
digital-ether
Nearly a Posting Virtuoso
1,293 posts since Sep 2005
Reputation Points: 461
Solved Threads: 101
One other tip:
When sending headers and doing redirection, the full URL must be used. It will NOT accept a relative URL. (You can write a function that generates the full URL from a relative one with little difficulty.)
Good point there.:idea:
Also, when putting in the full url, you must be sure you use the same domain if you are using sessions.
Example: http://www.example.com
http://example.com
Are not the same domain as far as the browser is concerned, even though they resolve to the same IP as far as the sever is concerned.
using the wrong domain breaks the users session, and thus the login does not work and needs to redirect again.
digital-ether
Nearly a Posting Virtuoso
1,293 posts since Sep 2005
Reputation Points: 461
Solved Threads: 101
I reckon after 3 years the OP has fixed the problem :)
crunchie
Most Valuable Poster
20,095 posts since Feb 2004
Reputation Points: 1,142
Solved Threads: 985
I reckon after 3 years the OP has fixed the problem :)
Same for you :).
crunchie
Most Valuable Poster
20,095 posts since Feb 2004
Reputation Points: 1,142
Solved Threads: 985