G
G
Golickoff2019-07-24 10:13:42
PHP
Golickoff, 2019-07-24 10:13:42

How to generate an image when accessing it?

Hello.
There is a forum with the ability to insert images into a post. I insert a dummy image link that leads to my hosting. When posting a message, the tag appears on the forum page . When loading the page of a forum thread, a request for a picture will go to my server. How can I intercept this call to generate a picture? Purpose: the picture should change depending on the content of the forum thread. I hope the end idea is clear. PS I'm afraid of traffic, maybe you can do something better. <img src="http://myhosting.ru/img.png">

Answer the question

In order to leave comments, you need to log in

1 answer(s)
1
1210mk2, 2019-07-24
@Golickoff

as an option - a redirect in the .htaccess file to the script

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question