file name as log in user id
I am trying to make people download pdf files using digital file pro.
I am making the pdf file name same as user log in ID.
I have $_SESSION['MM_Username'] stored in the page.
how can I make use of this value of user ID, $_SESSION['MM_Username'] and make files to download as $_SESSION['MM_Username'] plus .pdf???
any suggestion or help will be deeply appreciated.
I don't think
putting $_SESSION['MM_Username'].pdf would work. Can someone tell me what I should exactly put down as file name so that people download their log in User ID plus .pdf as their file to download??