Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 2000051

Re: [PHP3] Good example of writting in a remote file From: Tyler Longren (tyler.longren <email protected>)
Date: 05/15/00

Writing to a remote file!!(is easy)

$fp = fopen("file.txt", "a");
fputs($fp, "· $HTTP_USER_AGENT<br>\n");
fclose($fp);
If you put this code on your page, it would get the browser the visitor is
using and would write it to the file called file.txt.

Hope this helps you out some!

Tyler Longren

On Mon, 15 May 2000, you wrote:
> Guys, plz... how exactly I can write to a remote file ?
> To a text file ?
> Someone told me that this is not possible ?
> But it must be possible...
> How I will save my data then ?
>
> ,----------------------.---------------------------------.
> / Marian Vasile \ Web sites: /
> / softglitter <email protected> \ http://mariancos.tripod.com /
> / marian_2001 <email protected> \ http://marian.8k.com /
> `-----------------------------`------------------------
>
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>