![]() Preserved Topic: Any suggestions? (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Canada, Toronto |
![]() We have an oracle database. The url-s are very very long. To output one record about one customer in database is almost 200 characters long URL. It would be neat if I could get this with www.blabla.com/customername instead of calling the long url. I can create one folder in my root that is called 'customername' and have in there one index file that redirects to the long url. But it would involve creating thousends of folders. It is not efficient solution I guess :-) |
Paranoid (IV) Inmate From: Madison, Indiana, USA |
![]() Why not create a scrpt called customername.cgi and pass the customers name as an option to the script? |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() Sash, I would suggest you to use sessions to store values instead of passing them through URL. Anyway, if you're stuck with that and your web server is Apache, you can try to use mod_rewrite to implement something similar to your idea with folders... |