|
Posted by Hanjo Grόίner on 06/18/05 20:23
Am Sat, 18 Jun 2005 18:49:08 +0200 schrieb Andy Hassall <andy@andyh.co.uk>:
>
> Depends on exactly what you want, and on your configuration, but may be
> as
> simple as $file = file_get_contents('http://example.com/whatever');
>
Thanks, Andy,
I just found out that ;-)
But first: how can I test, wehter the demanded file exists ?
Then comes the problem, to store $file in a certain directory of my
webserver.
I tried by
----------
$fp = fopen($filename,"w+");
fwrite($fp,$file);
fclose($fp);
------
But ther I get problems with 'permission'.
Well, It is a hired webserver, and I normally transfer files by ftp.
I don't know to get the permission this way.
Greetings,
Hanjo
--
Software & Seminar-Kontor Hans-Joachim GrΓΌΓner
Glasholz
D-24369 Waabs
http://www.gruessner.de
Navigation:
[Reply to this message]
|