# Filereference vs forced download php

**URL:** <https://forum.kirupa.com/t/filereference-vs-forced-download-php/248608>\
**Category:** Uncategorized\
**Created:** [January 10, 2008, 2:33am UTC](https://forum.kirupa.com/t/filereference-vs-forced-download-php/248608 "2008-01-10T02:33:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ToubMor](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/toubmor/32/3422_2.png) [@ToubMor](https://forum.kirupa.com/u/ToubMor)\
**Post date:** [January 10, 2008, 2:33am UTC](https://forum.kirupa.com/t/filereference-vs-forced-download-php/248608/1 "2008-01-10T02:33:08Z")

</div>

Hi…  
a time ago was playing around with filereference because i wanted to make photogallery with a option to download the pictures. I took me a couple hours to figure it out and get it working. see [here problem is/was that people cant change the name of the file because i wont be recognized anymore. you good put the extension behind the name, but not everybody knows that. So lately i was searching for a solution. Why isn’t it possible to put an extension while saving with filereference. I couldnt find the answer. But i stumbled into a small solution. force it with php. this will keep the file extension. a pity is that i lost my download bar and function with this. check it out [URL=“http://www.mambocuracao.com/v2/photogallery/djchuckie/djchuckie\_download.swf”]here](http://www.mambocuracao.com/v2/photogallery/djchuckie/djchuckie.swf) if someone wants the code mail me. toubmor
