> Hello,
> I want to open files in a directory other than the Document root via
> HTTP on the client machine. How do i do it ?
Yes, it's possible
Just supose you have the images under /var/images/. This won't be
acceded by apache since it's out of documentroot.
You can set up some alias to /var/i
Hello,
I want to open files in a directory other than the Document root via
HTTP on the client machine. How do i do it ?
For example I have .JPG files in a directory /toallocate on my Server
running FC2, Apache2, Mysql, PHP5. I allocated certain .JPG files to
some users and moved them to a director
* Thus wrote Stephen Tiano ([EMAIL PROTECTED]):
>
> A file to read and write to has been provided on the book's CD. I've
> copied this file, named "oders.txt", in a folder (directory) on my hard
> drive, the path which runs like so:
>
>[hard drive name]/Library/WebServer/Documents/orders/or
Stephen Tiano wrote:
And the code the book uses to write to this file is:
// open file for appending
$fp = fopen("$DOCUMENT_ROOT/../orders/orders.txt", 'a');
This is what is in the book, you need to change the path to suit your
setup. Or move the file, it seems moving ./orders/ directory
Anyone familiar with PHP AND MYSQL WEB DEVELOPMENT, 2nd edition, by Luke
Welling and Laura Thomson? And perhaps working on the Macintosh-UNIX
side of things via OS X.whatever? If so, I ask for your indulgence and
assistance.
Following advice given me a coupla weeks ago--on this very list, I
be
> -Original Message-
> From: Joseph Bannon [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 01, 2001 2:33 PM
> To: PHP (E-mail)
> Subject: [PHP] opening files
>
>
> How do you open a text file and put all the contents into a
> variable like $filecontent?
You
How do you open a text file and put all the contents into a variable like
$filecontent?
Joseph
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMA
7 matches
Mail list logo