[PHP] Opening Files via PHP

2003-10-23 Thread Stephen Tiano
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

Re: [PHP] Opening Files via PHP

2003-10-23 Thread Marek Kilimajer
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

Re: [PHP] Opening Files via PHP

2003-10-23 Thread Curt Zirzow
* 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