Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7876299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T03:08:48+00:00 2026-06-03T03:08:48+00:00

I download xampp 1.7.7 and it has PHP and MySQL. I bought a book

  • 0

I download xampp 1.7.7 and it has PHP and MySQL. I bought a book named HeadFirst PHP MySQL. My problem is that I can’t run the examples from the book.

The example files consist of 2 files: one HTML, and one PHP file. The example is like this you fill the form from HTML file then send it to a web server then the php will handle the HTML file then return it to you.

When I filled the form then I click the submit button, it didn’t return what it was supposed to return. What it returns is the actual PHP code.

Do I need to transfer all the files from the book to a webhost so that I cant try the examples I said? How can I run it locally?

UPDATE!!
I tried what anselm said now it says OBJECT not found… url not found then the 404 error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T03:08:49+00:00Added an answer on June 3, 2026 at 3:08 am

    Your PHP code isn’t being parsed by PHP. Either the Apache config is wrong (unlikely since you installed XAMPP, but you can check by following the steps at http://www.php.net/manual/en/install.windows.apache2.php), or your files aren’t really named .php.

    In Windows, make sure you have file extension viewing turned on, and ensure the file extensions really are .php.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

having same issue, i am totally new in php. i install XAMPP then download
I'm using xampp for my php. And I have download a code igniter and
I am a php developer. For easy installation of php+apache+mysql there is WAMP, xampp,
Just download latest Android SDK version from Android developers site, run ./android tool (i
I download an XML-file, I generate using PHP, that looks similar to this <?xml
I would like to run dozens of long-running PHP scripts simultaneously, using XAMPP. Each
I am new in PHP I download and install xampp-linux-1.7.3a.tar.gz file on Ubuntu 12.04
I am running an Apache/PHP/MySQL server (xampp) on my local machine under Windows 7.
I download event calender from http://www.phpcodeworks.com/pec/installation . I am using PHP 5.3.X therefore browser
I download an image from a url to an ec2 instance(wget), process it with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.