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 7563933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:47:25+00:00 2026-05-30T13:47:25+00:00

I believe that this topic is very important to discuss a little bit since

  • 0

I believe that this topic is very important to discuss a little bit since it is making some confusion for me. I want to know if I use php code in html page, is that the same level of security as when I use php code in php page? how about the opposite way? I tested a php code to whether I can see it or not on localhost and web server and it turned out that nether show the php code. Does that mean both page format are the same?? so why do we have to have different types if that’s true then?

are there a substantial or essential meaning or benefits of having php over html as some article suggest? for me, I see both do the same job.

I want to hear your opinions if you don’t mind.

Thanks

  • 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-05-30T13:47:26+00:00Added an answer on May 30, 2026 at 1:47 pm

    When you write PHP, you’re essentially writing a program that outputs HTML. PHP runs server-side. The browser has no knowledge that the HTML page was created in PHP.

    As far as “page format”, you are simply referring to the file name extension, .php or .html. These are meaningless to the browser. The browser only cares about Content-Type which is a header sent outside of the page itself.

    The file name extension is mainly useful for telling your web server what to do with the file. When it sees .php, it passes the page contents off to PHP to process. PHP then passes the output back to the server, and the server sends it to the browser.

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

Sidebar

Related Questions

I am baffled with this questions. I want to believe that through some Javascript
I want to begin unit testing our application, because I believe that this is
THIRD EDIT: I now believe that this problem is due to a SOAP version
While I'm perfectly willing to believe that this has been asked elsewhere, I haven't
Perhaps I'm missing something simple, as I believe that this is a common scenario...
This is in Xcode 4 and it leads me to believe that I can
I know this topic has been asked, but the posts are all out of
I saw some other similar questions on this topic here but they were not
This topic has been on my mind the last little while and I have
I am looking for some clarity on this topic. I am looking to host

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.