|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Getting an image from a website
The .NET Framework includes a class named WebRequest that will do what you're asking. You give it a URL and it returns the results as a stream. Then you just read the stream and write it to disk. Check MSDN, there is probably some sample code available.
|
|
#2
|
||||||
|
||||||
|
Re: Getting an image from a website
I would use a cron script that would download the page with wget, delete the html file, then rename the .jpg to the file that you are displaying on your webpage.
|
|
#3
|
||||
|
||||
|
Re: Getting an image from a website
In PHP, you can also use socket connections (similar to the Inet control in VB). Your hosting service has to allow it though
By the way, fopen will open remote files too. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Website being created ! | mtaman02 | IT / Communications | 25 | 26-01-2005 03:37 |
| Web Excellence Award Winners (Which Teams?) | OZ_341 | Website Design/Showcase | 39 | 10-07-2004 20:19 |
| Website Excellence? | Tom Bottiglieri | Website Design/Showcase | 4 | 15-03-2004 02:43 |
| Looking for an easy website for your team? | Jack | Website Design/Showcase | 2 | 30-12-2003 23:32 |
| No website?!?! | Duke 13370 | Website Design/Showcase | 5 | 07-04-2003 13:24 |