I have read in the contents of a file using file_get_contents. I can verify
that the data has actually been read in by echoing its contents.
But then if I do this:
$ret = file_put_contents(/tmp/bla, $bk);
The return value gives the correct size of string $bk, and the file /tmp/bla
is created
On Mon, Sep 14, 2009 at 4:19 PM, Andres Gonzalez and...@packetstorm.comwrote:
I have read in the contents of a file using file_get_contents. I can verify
that the data has actually been read in by echoing its contents.
But then if I do this:
$ret = file_put_contents(/tmp/bla, $bk);
The
thank you for your responses.
This appears to be a CodeIgniter problem because everything
of course works fine from a command line script. I will post
a question on their forum.
Thanks again.
-Andres
Jim Lucas wrote:
Andres Gonzalez wrote:
I have read in the contents of a file using
Andres Gonzalez wrote:
I have read in the contents of a file using file_get_contents. I can verify
that the data has actually been read in by echoing its contents.
But then if I do this:
$ret = file_put_contents(/tmp/bla, $bk);
The return value gives the correct size of string $bk, and
Another stupid newbie question...(btw, is there a list more geared towards
the newbies?)
Is the file_put_contents() function not available in PHP 4.3.2?
The reason I ask is that I get this error when I try to use it:
Fatal error: Call to undefined function: file_put_contents()
Another stupid newbie question...(btw, is there a list more geared towards
the newbies?)
Yes, it's called the manual.
Is the file_put_contents() function not available in PHP 4.3.2?
Seriously: www.php.net/file_put_contents
---John Holmes...
--
PHP General Mailing List
* Thus wrote CPT John W. Holmes ([EMAIL PROTECTED]):
Another stupid newbie question...(btw, is there a list more geared towards
the newbies?)
Yes, it's called the manual.
Is the file_put_contents() function not available in PHP 4.3.2?
Seriously: www.php.net/file_put_contents
note:
* Thus wrote Jonas Thorell ([EMAIL PROTECTED]):
Another stupid newbie question...(btw, is there a list more geared towards
the newbies?)
1) the manual
2) the archives
3) see #1
Is the file_put_contents() function not available in PHP 4.3.2?
If you notice in the manual under the function
8 matches
Mail list logo