|
|
|
|
|||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Get Remote-Image
Moin,
kann mir mal wer auf die S helfen, ich bekomme es gerade nicht geregelt ein Image "on-the-fly" von einem Remote-Host per fsockopen auf meinen Server zu ziehen. Irgendwo hab ich da voll die Blockade ;) Mein "nichtfunktionierender" Versuch: $out = "GET ".<URL_REMTE_IMAGE>." HTTP/1.0\r\nHost: ".$this->host."\r\nUser-Agent: GetWiki for WordPress\r\n\r\n"; $fp = fsockopen($this->host, $this->port, $errno, $errstr, 30); $File = fopen(<PFAD_ZUM_ASPEICHERN>,"wb"); fwrite( $File, $out ); fclose($File); fclose($fp); THX und G Conny |
![]() |
| Viewing: Web Development Archives > Mailing Lists > PHP > Get Remote-Image |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|