Como se hace????

| |||
nombre del fichero input file tengo un input file del que guardo la ruta (request.form("ruta")) de las imagenes en la base de datos, pero a mi me gustaria solo guardar el nombre y no toda la ruta fisica, que no me vale para nada. :-p Como se hace???? ![]() |
| ||||
yo utilizo esta. espero te sirva y a los demas tambien.
Código:
<% archivo = "C:\Documents and Settings\Administrator\Desktop\archivo.xxx" archivo = replace(archivo, "/", "\") archivo = right(archivo, len(archivo) - instrrev(archivo, "\")) response.Write(archivo) %>
__________________ Saruman One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them. |