Jump to content

anne13

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

anne13's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks for your reply. Actually, the image I want to display are already resized using ImageMagick. The part that I don't know how to do is, "knowing that an IMG request has come from the IMG tag". Because in the client side code[!--coloro:#CC0000--][span style=\"color:#CC0000\"][!--/coloro--] [code]IMG="http://a.abc-efg.co.jp/demo/Sample.jpg"[/code] [!--colorc--][/span][!--/colorc--], there is no PHP page being called.. The REQUEST will come to this [!--coloro:#FF0000--][span style=\"color:#FF0000\"][!--/coloro--]/demo/[!--colorc--][/span][!--/colorc--] folder under the document root. How do I handle requests coming to this folder? I want to call a PHP script when this (IMG="http://a.abc-efg.co.jp/demo/Sample.jpg) kind of requests comes in.. Hope my explanation is not bad...
  2. 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. HTML Code example: [code]IMG="http://a.abc-efg.co.jp/demo/Sample.jpg"[/code] From this URL, a request comes in for the Sample.jpg to be displayed. But before this image be displayed, some process should be done first at the back-end, then the right size of the image should will be displayed. A php script will not be called from this IMG tag. The trigger would be the REQUEST.. I have done this in java by using a Filter class and filter mapping in the web.xml file. I not am sure this can be done in PHP. Please give me some suggestions or code snippets or any tutorial. Thanks.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.