Search found 34 matches
- Wed May 27, 2009 1:48 pm
- Forum: PHP - Code
- Topic: $_SERVER[] Command and Page Linking
- Replies: 8
- Views: 208
Re: $_SERVER[] Command and Page Linking
I am unfortunately working in Windows -_-
- Tue May 26, 2009 1:52 pm
- Forum: PHP - Code
- Topic: $_SERVER[] Command and Page Linking
- Replies: 8
- Views: 208
Re: $_SERVER[] Command and Page Linking
I think I may have found the error - I had the <html> opening BEFORE the <?php opening. I changed it and now it goes to the correct page.
Thanks so much for your help mike!
Oh and one more question - does the <title> tag count as output to the browser?
Thanks so much for your help mike!
Oh and one more question - does the <title> tag count as output to the browser?
- Tue May 26, 2009 11:07 am
- Forum: PHP - Code
- Topic: $_SERVER[] Command and Page Linking
- Replies: 8
- Views: 208
Re: $_SERVER[] Command and Page Linking
Thanks for the help with the $_SERVER stuff. I made the change suggested (header("Location: ".$_SERVER['PHP_SELF']);) and I am still being redirected to a blank page. I have also been playing around with making this page do what I want it to do (redirect to a main menu) and the format I fo...
- Tue May 26, 2009 10:33 am
- Forum: PHP - Code
- Topic: $_SERVER[] Command and Page Linking
- Replies: 8
- Views: 208
$_SERVER[] Command and Page Linking
I am trying to make a login page which will redirect to another page once the login is successful. I am keeping things very basic for now with a hardcoded username and password. I really don't understand what the $_SERVER[] (lines 42 and 50) command is exactly (even after reviewing the php documenta...