%@ Language=VBScript %> <% option explicit Response.Expires = -1 Server.ScriptTimeout = 600 %> <% ' **************************************************** ' Change the value of the variable below to the pathname ' of a directory with write permissions, for example "C:\Inetpub\wwwroot" Dim uploadsDirVar, tipo, strTitulo tipo = request.QueryString("t") if tipo = "video" then uploadsDirVar = strCaminhoFisico & "imagens\capas\produtos" strTitulo = "Enviar imagem" elseif tipo = "img" then uploadsDirVar = strCaminhoFisico & "imagens\capas\produtos" strTitulo = "Enviar imagem capa" end if ' **************************************************** ' Note: this file uploadTester.asp is just an example to demonstrate ' the capabilities of the freeASPUpload.asp class. There are no plans ' to add any new features to uploadTester.asp itself. Feel free to add ' your own code. If you are building a content management system, you ' may also want to consider this script: http://www.webfilebrowser.com/ function OutputForm() %>