Find answers, ask questions, and connect with our
community around the world.

Forums Forums Web Design What’s the correct approach when dynamically generating a media file after an HTTP request for that file?

  • What’s the correct approach when dynamically generating a media file after an HTTP request for that file?

    Maverick created 1 week, 2 days ago 0 Member · 1 Post
  • Maverick

    Member
    September 13, 2019 at 11:48 am

    For example, I remember there was a website back in the early 2000s that would generate jpgs to show your ip address. Even if you manually typed the url for the jpg resource (http://example.com/ipaddress.jpg), the server would still return an automatically generated jpg of a cartoon man holding up a sign with your ip address. I figured the webserver is simply intercepting the HTTP request, redirecting that to a C++ program that is generating the jpg, then sending the output of the program back to the client. Simple enough… However, I have a current application that needs something similar and I’m not sure how to actually implement the part where the server redirects the HTTP request to the C program and sends the output back to the user. Any recommendations? We’re using LAMP btw. – by hq overview frankalliance – –

Reply to: Maverick
Your information:

Cancel
Original Post
0 of 0 posts June 2018
Now