http://www.php.net/fread
>
> Bastien
> >From: "Ron Piggott" <[EMAIL PROTECTED]>
> >Reply-To: "Ron Piggott" <[EMAIL PROTECTED]>
> >To: "PHP DB"
> >Subject: [PHP-DB] File retrieval
> >Date: Fri, 1 Apr 2005 22:43:17 -0500
&
ggott" <[EMAIL PROTECTED]>
Reply-To: "Ron Piggott" <[EMAIL PROTECTED]>
To: "PHP DB"
Subject: [PHP-DB] File retrieval
Date: Fri, 1 Apr 2005 22:43:17 -0500
If I have a file named
"data.txt"
Is it possible to load the contents of it into a variable sear
You could read this:
http://php.net/fread
or try this -- assuming that this is a non-windows OS:
Mark Cain
- Original Message -
From: "Ron Piggott" <[EMAIL PROTECTED]>
To: "PHP DB"
Sent: Friday, April 01, 2005 11:43 PM
Subject: [PHP-DB] File retrieval
If I have a file named
"data.txt"
Is it possible to load the contents of it into a variable search as
$contents
idealy I would like to know if I am able to do something like
$contents = data.txt;
Ron
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
Beau Lebens wrote:
>
> Greetings all,
>
> I am having great difficulties with an online app that I am developing.
>
> To avoid issues with file permissions etc, I am saving files into a MySQL
> database (soon to be PostgreSQL), which works marvellously. Along with the
> contents of the file, I
Greetings all,
I am having great difficulties with an online app that I am developing.
To avoid issues with file permissions etc, I am saving files into a MySQL
database (soon to be PostgreSQL), which works marvellously. Along with the
contents of the file, I save the name, mime-type and size.