Is it posible that the created text file that is generated by an web forum you can download it, insted of showing it in the browser when you klick on it?
If this is posible how can I do this and wher can I find some info about this subtject?
Greathings Skywalker
Downloading a created txt file.....!
Moderator: General Moderators
can be done with a Content-Disposition header.
Take a look at the header() manual page
Take a look at the header() manual page
Be careful with concurrency issues...Think about what happens when two users request the same functionality and the contents of the files they require is different...So i would not recommend actually generating a physical text file on the server for download, just output the contents of the file from a PHP script with the appropriate headers as suggested above, generated dynamically upon each request.