* 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
2 matches
Mail list logo