[EMAIL PROTECTED]
wrote in message:
> Hi Folks,
>
> I am currently learning php and Mysql a scripting language and DB i just
feel
> in love with. I am currently having problem in opening file to put data
> collected from clients when the purchase from an online shop. The scripts
is as
> follows.
>
> where i am having problem is this // open file for appending
> $fp = fopen("$DOCUMENT_ROOT/../orders/orders.txt ", 'a');
[snipped]
.........................
Looks like that script was pulled from Welling and Thomson's textbook on PHP
and mySQL.
I've got the first edition - SAMS.
You need to create a file called:
orders.txt
which which would reside in the path of your argument to fopen().
Best...
Tony Ritter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php