Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Sep : Re: resize images.
| Subject: | Re: resize images. |
| Posted by: | "Bob Bedford" (b..@bedford.com) |
| Date: | Tue, 26 Sep 2006 16:07:16 |
>> I't because of our ISP limitations that we need to do this.
>
> OK, but I really don't understand your initial question.
>
> What is "a remote service that listen for POST calls" ???
> What's a "POST call" anyway?
>
> Do you mean HTTP method "POST"? But then PHP should handle this easily.
Maybe I wasn't so clear, sorry
When a user upload some images on my website, then they are resized. If the
original message is too large (in resolution) then the server fires an error
message and the script fails.
My idea: if I detect uploading of too large images (having their size) then
I'd like to send the images with a POST HTTP method from the server to my
program (running on our XP server), then my program will detect entrying
images, resize them then return (also with a POST) to a page I'll create in
PHP that will save the resized images where they should be.
Remote service that listen for POST calls is the program that will receive
the HTTP POST form from the server, with the images.
POST call is like a form on Internet where the method can be POST or GET. It
isn't so important as I can set the value in my form in POST or GET anyway.
Bob