Down and Upload Problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Wolfgang

    Down and Upload Problem

    Hello,


    Can anybody tell how to download a picture e.g.

    and how to move it to my FTP Account of my Webhost whenever I call my Site.


    $picture=
    file_get_conten ts("http://www.google.de/intl/de_de/images","logo.g if");
    echo "Daten: $picture<br>";

    does not do anything.

    Thanks a lot for any help

    ....wolfgang
  • Iván Sánchez Ortega

    #2
    Re: Down and Upload Problem

    Wolfgang wrote:
    Can anybody tell how to download a picture e.g.

    and how to move it to my FTP Account of my Webhost whenever I call my
    Site.
    You should learn about the copy() function and the fopen() wrappers. See the
    manual.

    --
    ----------------------------------
    Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

    http://acm.asoc.fi.upm.es/~mr/ ; http://acm.asoc.fi.upm.es/~ivan/
    MSN:i_eat_s_p_a _m_for_breakfas t@hotmail.com
    Jabber:ivansanc hez@jabber.org ; ivansanchez@kde talk.net

    Comment

    Working...