Search the Community
Showing results for tags 'login_functions.inc.php'.
Hello Mr. Ullman I just wanted to take a quick minute and thank you for your books, for me as a new programmer I have no words to thank you for your imparted knowledge in the books. I was working on chapter 12 and for the most part I am able to figure this stuff out. Regarding the question, I'm just not sure what I'm supposed to put in the red highlighted area in my code: // Start defining the URL... // URL is http:// plus the host name plus the current directory: $url = 'http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']); is it something like: $url = 'http//mysite.com(the adress)/webhostinghub(host)/siplog(username)/publichtml(directory)... here, wouldn't I need the password? I guess the question is how specific or in a real world example how are we to fill this out. Also in the HTTP_HOST field are we to fill anything else out here? Thank you for your time and knowledge, Adan