Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

print "Content-Disposition: attachment; filename = admin-log.txt\n\n";

Status
Not open for further replies.

skosterow

Technical User
Feb 23, 2002
135
US
I am using the following code. However, i cant seem to figure out how to put data into the file.....

for example lets say that $data is the data or better yet @data is the data....

how do i get it to save into the file called admin-log.txt when the user saves the file?

thanks in advanced!
 
print "Content-Disposition: attachment; filename = admin-log.txt\n\n";
 
Sorry about that the code was the posting ;-)

here it is again!

print "Content-Disposition: attachment; filename = admin-log.txt\n\n";
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top