Login   Register  
PHP Classes
elePHPant
Icontem

A simple code request

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      JPEG Reducer  >  All threads  >  A simple code request  >  (Un) Subscribe thread alerts  
Subject:A simple code request
Summary:I need a simple code snippet.. please help me!
Messages:1
Author:Hal Jacobson
Date:2007-02-15 13:52:24
 

  1. A simple code request   Reply  
Picture of Hal Jacobson
Hal Jacobson
2007-02-15 13:52:24
Hello.
I'm a beginner in PHP, I have a little problem writing the PHP page that I want.
What I want to do is to write a PHP page that will accept an image URL as input and a size limit, and then outputs the reduced JPEG image on the page.
For instance I would call it like:
http://mysite.com/newjpeg.php?url=http://www.website.com/test.jpg&size=20000
and then it would output the image in the reduced form.
Could you help me write that code please? Because I don't seem to be able to get JpegReducer to work on URL images.. I feel like the code must be really simple. I'd be very very grateful if you help me.
Thank you so much.