Jump to content
Larry Ullman's Book Forums

Recommended Posts

Hi Larry Ullman, I'm having some trouble on pg 4 step 6 where I run the first.php file. Whenever I run the file using the link http://localhost/first.php I end up getting an error message saying Object not found followed by error 404. Do you have any advice on what I should do. I also stored my first.php file in xampp/htdocs/ch01.

Share this post


Link to post
Share on other sites

A 404 error is a page-not-found error, which means that your server cannot find the script in question. In other words, the URL to the file is probably incorrect.

Within the xampp folder, where is the script stored, and is your Apache server running?

Thanks.

Share this post


Link to post
Share on other sites

I got the link to work and the text to appear but when the site opens I get the PHP Version 7.1.8 screen that lists the system, build date, etc when all I want is the text "this is the standard html" like in the figure A example on pg 4

Share this post


Link to post
Share on other sites

Never mind I got the problem solved, I had to remove the <?php, ?> tags and now it looks exactly like figure A. Thanks for the help HartleySan and Larry Ullamn.

Share this post


Link to post
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.

Guest
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.

Loading...
Sign in to follow this  

×
×
  • Create New...