header and writing problem
| From: | George Pitcher | Date: | Wed, 26 Feb 2003 09:02:16 +0000 |
| Subject: | header and writing problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-137205@lists.php.net to get a copy of this message | ||
Hi all,
Back on the list after a long break.
I want to be able to write all my sql queries (well at least the ones that
change or create records) to a log file.
However some of the pages that contain these queries are just used to
redirect the user depending on the result.
Writing to a file id not permitted before creating the header for the
redirect.
can anyone suggest a workaround.
Cheers
George
===
George Pitcher
HERON Technical Manager
Ingenta plc
23-38 Hythe Bridge Street, Oxford, OX1 2ET
T +44 (0)1865 799137 direct
T +44 (0)1865 799000 switchboard
F +44 (0)1865 799134
E george.pitcher@ingenta.com
www.ingenta.com
Ingenta: Empowering the exchange of academic and professional content
online.