Re: problem with fwrite function

From: Date: Tue, 12 Dec 2000 20:25:48 +0000
Subject: Re: problem with fwrite function
References: 1  Groups: php.lang 
Request: Send a blank email to php-lang+get-98@lists.php.net to get a copy of this message
Please use the php-general@lists.php.net for questions about using PHP. php-lang is for discussion about defining the language itself. Thanks. Peter Bowen On Wed, 13 Dec 2000, Didi wrote: > I can't write to files on my serveur using the fwrite function. I verified > all write access-rights to the directories and there is no problem. > When using ftp I can place files on my serveur (no problem by this way). > I don't have any problem to access files with " fgets " reading stuff from > files on my providers sever. > > Here the example program I used : > <? > $test_str = "test" > $send_file = "http://www.my-serveur-name/test.htm"; > $file1 = fopen("$send_file", 'w'); > fwrite($file1, "test_str"); > fclose($file1); > ?> > > What is the problem? > The function ftp-connect and the other " ftp_..." functions aren't > unfortunately supportet so that I have to exclude this way to copy files on > my server! > > Thanks for your remarks and helping. > > Didi > > > >

« previous php.lang (#98) next »