PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
i'm having trouble getting a header function to point to a new url. I have a session opening right before it. Do both have to be the first info sent? if so, how can I redirect a browser once a session has been opened?
there are some servers that will not include a session cookie setup if a redirection header is used. However, if you server is basically php defaults, then this should help:
that didn't work. the url changes from ".../login.php" to " .../login.php/signedin.php" and now adds the session id to the end of that, but my signedin.php page is not actually coming up, it just resets the login.php form.
yeah, i knew that was the case, but I'm not sure if it's because it's actually redirecting to the signedin.php, or if the login.php was putting that there. also, i don't know if this is related, but I can't get the password function to work either. it uploads the encrypted format, but when I call it from the login page, the passwords don't match. the whole script is kind of long, but maybe I'm not doing something right overall, so here's the whole thing: