Download Image from URL and Upload it


Posted on 16th Feb 2014 07:03 pm by admin

Ok, I have been googling for the last 1/2 hour trying to figure this out, Most likely I'm just not searching for the right thing.

Here is what I want to do.

I want to have a Text box which somebody will paste a URL into. The URL will be a PHP Image (Example)

Now I want it to download that image as a JPEG to my Website, and name it that last 6 numbers of the URL (for the Example about it would be 185950.jpeg)

Then I want it to redownload, and name it every 20minutes

I just need pointed in the right direction here, because my Google searches are turning up nothing at all

Thanks

174 Like 15 Dislike
Previous php-forum Next php-forum
Other php-forum

File upload issues
Hi Guys,

Can anyone see any issues with this code:
Code: $setImage= 'productimages/' . dat

php - xml what is the best way to do this.
IN essence I want to have a script calling the info from the database.. I have no problem thus far,

article site help remaining text
Hi all hope you will be fine
I am creating a article site in this site i want to put some text on

date("now") prints out wrong date ?
Hi Guys
Anyone know why and how I can fix it ?

Rounding a number queried from a database
I know that to display a rounded number you just do echo "round($number)";. But how would

Changing files over
Just thought I'd start with the new forums looking really nice .

Ok basically I've made this

Need help: how to catch acess of undefined class properties
Hello. I am learning OO with PHP and have hit a problem.
Some code runs as perfectly valid code,

Include with Parameters
In a particular page I would like to include a file that requires $_GET parameters.

when I go

cookie problem
I hv a website url
In this site main menu functionality based on cookie when user click on parti

please help
HTML Code:

Code: <span id="ctl00"><span>

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash