Re: fwrite: Want to write PHP generated output to file

From: Date: Thu, 09 Nov 2000 05:30:27 +0000
Subject: Re: fwrite: Want to write PHP generated output to file
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-24425@lists.php.net to get a copy of this message
Lars Torben Wilson writes: > Martin Cameron writes: > > I am in the process of producing a dynamically generated web page. I > > want the results to be sent to a file. It doesn't do it. > > > > Here's the code: > > What are the perms on the directory and the file itself (after > touching)? I'm just wondering if maybe something is getting screwed up > and the server has write access to the directory but not to the file > it's just created. Check umask. Or what Jason said. :) print()ing doesn't return anything from a function; it just goes straight out to the browser (or whatever). OK, I'm going to go do something else for a while... -- +----------------------------------------------------------------+ |Torben Wilson <torben@php.net> Netmill iTech| |http://www.coastnet.com/~torben http://www.netmill.fi| |Ph: 1 250 383-9735 torben@netmill.fi| +----------------------------------------------------------------+

« previous php.general (#24425) next »