i have been searching long and hard for how to do this .. but there are'nt very many good sites that can give you more thn jsut basic understnding of php
what im looking for is i would like my script to add certain information to a text document ..
to go more into depth i am running a site very much similar to this one ...and i attempting to make it add certain information to a text document evry time a user regesters ... the reason i would like to do this is that my ftp servers user information is saved as a text document .. so by doing this any new users will automaticly be regesterd with my ftp server ..
can anyone help me with how to make a php document save certain aspects of its information to a text document (or add it really)
thanks
output to text document
Moderator: General Moderators
try the example here:
http://us2.php.net/manual/en/function.fwrite.php
use fopen() to create and or append the file
http://us2.php.net/manual/en/function.fopen.php
http://us2.php.net/manual/en/function.fwrite.php
use fopen() to create and or append the file
http://us2.php.net/manual/en/function.fopen.php
- devork
- Forum Contributor
- Posts: 213
- Joined: Fri Aug 08, 2003 6:44 am
- Location: p(h) developer's network
file handling and all it's related functions are listed php manual
you better read it http://www.php.net/manual
you better read it http://www.php.net/manual