Hi All!
I have a java servlet class that is needed to be coded in PHP.
I need to process the image coming from the REQUEST of an IMG tag.
IMG="http://a.abc-efg.co.jp/demo/Sample.jpg"
What I want to do is call a php script everytime a request with .jpg|.gif|.png is written in the URL. Get the filename of the image and proces it.
I have done this in java by using a Filter and filter mapping in the web.xml file.
I am sure this can be done in PHP. Please give me some suggestions or code snippets or any tutorial.
Thanks 😉