On Fri, 14 Jun 2002, Chris Bunting wrote:
> My htaccess file:
> ErrorDocument 401 /error/error401.php
> ErrorDocument 403 /error/error403.php
> ErrorDocument 404 /error/error404.php
> ErrorDocument 500 /error/error405.php
> My question is this, Is it possible to use php to get the referring url, 
> browser, os, date of error and stuff and then either write it to a text file 
> or possible log it into mysql?

Run this little program:

  <pre><? var_dump($_SERVER) ?></pre>

and see if you don't learn something useful.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to