adan473 Posted August 16, 2012 Share Posted August 16, 2012 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 Link to comment Share on other sites More sharing options...
Larry Posted August 21, 2012 Share Posted August 21, 2012 I was going to reply today, but it looks like you've figured it out. Kudos. In the future, please keep the original post in place and then add your solution. That way other people might be able to benefit from your experience, which is what the forums are all about. Link to comment Share on other sites More sharing options...
adan473 Posted August 25, 2012 Author Share Posted August 25, 2012 Apologies Mr. Ullman for the purposes of the fourm and so we can all learn, I will repost my question. Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts