RE: Would Like to know
| From: | Sam Leibowitz | Date: | Tue, 13 Feb 2001 21:57:55 +0000 |
| Subject: | RE: Would Like to know | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-39508@lists.php.net to get a copy of this message | ||
> Can PHP direct the output to a file
> eg send the HTTP_USER_AGENT information to a file ??
Sure. Read the documentation for fopen(), flock(), and fwrite(). Then
fwrite() out $HTTP_SERVER_VARS["HTTP_USER_AGENT"].
Sam