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.

Did you know?Explore Trending and Topic pages for more stories like this.
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
No comments posted yet

Your Answer:

Login to answer
174 Like 15 Dislike
Previous forums Next forums
Other forums

simple ping code
been searchin the site/web and found code thats simple but doesnt work.

I have a personal we

pull content
I have an existing page, domain/adverts.php which has a good PR. I've just rebuilt my site and the n

Using two $_POST Function / Switch () statements, second does not work.
Hi all. I’m new to php and am having a problem getting $_POST Function / switch () to work. I

How many users online in the last 24-hours using time()?
I'm fairly new to PHP. I have a MySQL table called 'users' and a field called 'loggedin' which is in

Preg_match with an array
is there an away to use preg_match with an array?

i want to check a string with an array to s

Images outside webroot
Im hopeing someone can help me with this because i cant figure it out.I have setup an ASP.NET websit

SuperCali PHP Event Calendar
does anyone have any experience with the SuperCali PHP Event Calendar? I could use some assistance

str_replace help
Hey there,

I'm a PHP newb, I'm having troubles with the str_replace function. I want to clean

upload image name with extension using php
hi frds..

<input id="file1" type="file" name="file[]" &a

Looking for help reading a .txt or .ini file and outputting the info.
I have a file called Info.ini and It has the following info:
Code: [General]
Online=0
I wou

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