htaccess securing url
View Single Post
01-19-2008, 09:04 PM
Join Date: Dec 2007
Location: Bucharest, Romania
The name for the file is randomly generated after you upload it, and that link represents nothing but a truncation of a real file path. You can do that easily by writing a little htaccess file:
RewriteEngine On RewriteRule ^~([a-zA-Z0-9])$ /some/path/on/server/script.php?process=$1
...for example. Get your script to work correctly first, and after that you take care of the urls. But to make it easier, don't hard code them (the urls).
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
View Public Profile
Send a private message to xenon
Visit xenon's homepage!
Find More Posts by xenon