Jump to content
Larry Ullman's Book Forums

Recommended Posts

Hi Larry, I am having the darndest time trying to get this MySQL to work right. I've installed XAMPP and am able to access it from the command line and all of that fun stuff, but when I try to access script 12.1 on my web browser, all I get is an 'object not found' error. I guess the bottom line question is, where exactly am I supposed to save the file? Your book says 'the proper directory of your PHP-enabled computer,' but that didn't clear it up for me, unfortunately. Where did you save your file? I'm trying to access it with http://localhost/filename.php, and maybe that's the problem? Help, please!

Link to comment
Share on other sites

With XAMPP, you place PHP scripts in the XAMPP htdocs folder, which may be C:\xampp\htdocs, assuming you're using Windows and installed XAMPP in C:\. More importantly, what did you actually name the file? I assume not "filename.php". Did you have this problem with any scripts in the first 11 chapters?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...