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

Parse Error
Hi Guys,

I have a function in my class which returns a string link variable. The problem is i

help removing unwanted graphic
How do I remove the small elongated rectangular shape between the "Latest post" and "

Must be a string? Huh, what? HELP?
with the following script, I get
Fatal error: Property name must be a string in /home/content/e/

php is not recognized as an internal or external command
Hello,

I am trying to bake the code in CakePHP through my console.
I have changed my Path

button.click += new eventhandler() not works in if(!ispostback)
i want to use button.clcik event in function VIewScrap() which is called in if(!ispostback) but itdo

search function
HI guys,

if anyone could point us in the right direction of how to do this, or provide some t

Agency Business Process
Hi,

I don’t understand the process of the agency business in SAP.

In my

Creating web pages by php
Hello again,
I was just wondering us there a way to use a php script to create a new web page. I

Format timestamp from mysql
When I tried this:
Code: date("m/d/Y H:i A", $row['timestamp'])
I got 12/31/1969 18:

help me fix these syntax errors...
I keep getting multiple syntax errors on this script like this one:

Parse error: syntax error

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