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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:15:22+00:00 2026-05-13T15:15:22+00:00

I am writing a small web server, nothing fancy, I basically just want to

  • 0

I am writing a small web server, nothing fancy, I basically just want to be able to show some files. I would like to use PHP though, and im wondering if just putting the php code inside of the html will be fine, or if I need to actually use some type of PHP library?

http://www.adp-gmbh.ch/win/misc/webserver.html

I just downloaded that and I am going to use that to work off of. Basically I am writing a serverside game plugin that will allow game server owners to access a web control panel for their server. Some features would be possible with PHP so this is my goal. Any help would be appreciated, 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-13T15:15:22+00:00Added an answer on May 13, 2026 at 3:15 pm

    PHP needs to be processed by the PHP runtime. I’m assuming the case you’re talking about is that you have a C++ server answering HTTP queries, and you want to write PHP code out with the HTML when you respond to clients.

    I’m not aware of any general-purpose PHP library. The most straightforward solution is probably to use PHP as a CGI program.

    Here’s a link that might be useful for that: http://osdir.com/ml/php-general/2009-06/msg00473.html

    This method is nice because you don’t need to write the HTML+PHP out to a file first; you can stream it to PHP.

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

Sidebar

Related Questions

I'm writing a small application in VB.NET and I would like some of the
I'm writing a small web server in Python, using BaseHTTPServer and a custom subclass
Im just writing a small Ajax framework for re-usability in small projects and i've
I'm writing a small GUI app that contains some editor functionality, and something that
I've been working writing fairly small applications and doing some maintenance work for some
I am currently writing a small calendar in ASP.Net C#. Currently to produce the
I'm writing a small tool in C# which will need to send and receive
I'm writing a small article on humanly readable alternatives to Guids/UIDs, for example those
I'm writing a small agent in java that will play a game against other
I am writing a small app which I need to test with utf-8 characters

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.