Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Downloading file from my website (post 2)

PhalaenopsisPhalaenopsis Posts: 20Member
Hello I also posted this message in the Web Dev. forum. Hope that is OK. I have not been able to find any satisfactory leads. I am pretty much beginning but not sure how to pull this off.

I am trying am using a PHP script to access a DB and get all names from a member name field. I put all these names in a text file each in its own line (row). Simple file I/O. What I am not sure how to go about is after creating that file, how can I make a feature that will allow the user to download that file to his/her computer like the way you might download an attachment from an email (javascript maybe)?

I know I can simply create a link like this-> right click here to download file but I would prefer to make it better.

Any help will be greatly appreciated!
Sign In or Register to comment.