Gossamer Forum
Home : General : Internet Technologies :

PHP function - Remote Thumbnailing

Quote Reply
PHP function - Remote Thumbnailing
I am wondering if PHP has a function that will allow you to read a file from a remote loaction (another server) and place it into the requesting servers default temp. location.

The reason I need this is that I've noticed that there are many hosts that do not support GD on their servers to be used for thumbnailing and resizing. I want to develope the code so that people without GD can have their thumbnails created remotely and have their software copy back the new files to their server.

I think that alot of people would be interested in such a service, even Links, DBMan, etc. users. Share your thoughts. Or point be in the direction of any code that may do something similar.

Cheers!

Last edited by:

Unquick: Jun 4, 2003, 8:11 AM
Quote Reply
Re: [Unquick] PHP function - Remote Thumbnailing In reply to
I don't believe that there is such a feature. It would cause havok if people could do this, because they would be grabbing/uploading files to everyones servers like there was no tomorrow.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] PHP function - Remote Thumbnailing In reply to
Don't worry about what kind of problems might arrise from people uploading to my server, I would have to retrict access to the service somehow. Probably just allow certain IP address access to the script.

As far as people grabbing content from my server and copying it to theirs shouldn't cause a problem, heck browsing the internet does just that Wink, except to your computer instead of a server.

There are allready sricpts out there that will steal content, like news, cartoons, images, etc. But they don't save the information to the server, most likely they prase the remote location dynamicly. So I'm sure it's possible, I just thought that I would post here to see if anyone knows right off the bat before I go study up how some of these theifing Slyscripts work.
Quote Reply
Re: [Unquick] PHP function - Remote Thumbnailing In reply to
I don't think you will find its possible. Even if it is, have you considered the slow down to your scripts? Remember, it will have to send, process, and recieve data from your server *every* time. Are people willing to sacrifice this in a script?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Unquick] PHP function - Remote Thumbnailing In reply to
Try searching cpan.org for Image::Grab
Quote Reply
Re: [Andy] PHP function - Remote Thumbnailing In reply to
I don't know, we'll see what comes of it. =)

All I am saying is that there are so many people out there that need thumbnailing services for their make-shift classified ad & auction scripts.

Will it cause delay for the user? I don't really see why it would; I'm not warehousing their thumbnails on my server I'm simply resizing them and sending them back to their server, never to see anymore resources used in relation to that request.
Quote Reply
Re: [Unquick] PHP function - Remote Thumbnailing In reply to
Oops didn't see it was php code you wanted....oh well.
Quote Reply
Re: [Unquick] PHP function - Remote Thumbnailing In reply to
I think I recently came across a PHP class that would do what you are looking for. I believe it was a file upload, file manipulation script, that may do what you are seeking. If I come across it again, I'll bookmark it and post the URL in this thread.
========================================
Buh Bye!

Cheers,
Me

Last edited by:

Stealth: Jun 4, 2003, 12:59 PM