Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Process PHP with TIdHTTPServer
#1
I know how to create a simple web server using TIdHTTPServer and serve .htm files. But what if I wanted to be able to handle .php files like IIS or Apache would? I assume I would need to download the thread-safe Windows binaries for PHP. Then what? A user requests a link with a .php extension. How do I send the .php file contents (with URL parameters) to the PHP processor, wait for it to spit back any output, and send that output back to the user?
Reply


Messages In This Thread
Process PHP with TIdHTTPServer - by kbriggs - 08-17-2020, 08:45 PM
RE: Process PHP with TIdHTTPServer - by kudzu - 08-17-2020, 11:05 PM
RE: Process PHP with TIdHTTPServer - by rlebeau - 08-18-2020, 08:52 PM
RE: Process PHP with TIdHTTPServer - by kbriggs - 08-18-2020, 09:52 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)