HI all,
I needed one thing in my current project...
if url is like this..
http://localhost/raj/resume.doc
I want to hide that "resume.doc" and also show another name while downloading ....
How can i achieve this in php..
Please any body Help me out......it is very urgent....
how to hide some part of URL for some security purpose ....?
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: how to hide some part of URL for some security purpose ....?
And for the record, your urgency is not our responsibility.
- lonelywolf
- Forum Commoner
- Posts: 28
- Joined: Tue Jun 10, 2008 6:15 am
Re: how to hide some part of URL for some security purpose ....?
function header() maybe suite your purpose. you can send a header to show a dialog box for downloading file, read data from selected file...
read http://php.net/header for more details.
read http://php.net/header for more details.