Group,
I'm diving into this crazy PHP thing, and I find myself a bit stuck.
Locally I can get a site to work very well. However, whenever I ask a
buddy of mine to test the site and I give him my IP it doesn't work.
I have a form. The form checks username/password against a database and
then either sends you back to the form or forwards you to the next
page. Is:
header("Locatio n: http://localhost/nextpage.php");
the proper form of redirection?
The issue on the not at my computer logins is in this redirect. I'm not
sure what I need to send, but I was getting connection errors in the
beginning which aren't showing up anymore. Then I was getting
unreferenced index errors, but I put all the variables in a session and
that seems to work now. And now I'm stumped because I'm not getting
errors in the log.
Thanks for any help in advance,
Melih Onvural
I'm diving into this crazy PHP thing, and I find myself a bit stuck.
Locally I can get a site to work very well. However, whenever I ask a
buddy of mine to test the site and I give him my IP it doesn't work.
I have a form. The form checks username/password against a database and
then either sends you back to the form or forwards you to the next
page. Is:
header("Locatio n: http://localhost/nextpage.php");
the proper form of redirection?
The issue on the not at my computer logins is in this redirect. I'm not
sure what I need to send, but I was getting connection errors in the
beginning which aren't showing up anymore. Then I was getting
unreferenced index errors, but I put all the variables in a session and
that seems to work now. And now I'm stumped because I'm not getting
errors in the log.
Thanks for any help in advance,
Melih Onvural
Comment