Jump to content
Fórum Script Brasil
  • 0

Socorro Endereço Path


Guest - Wellington -

Question

Guest - Wellington -

Pessoal não estou consguindo encontrar o caminho do path, no arquivos settings, está assim,

<%

Response.buffer=True

Set Connect = Server.CreateObject("ADODB.Connection")

Connect.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & Server.MapPath("noticias.mdb")&";"

Set objFSO = Server.CreateObject("Scripting.FileSystemObject")

strImageFolder="/imagens/"

folder1 = strImageFolder

folder2 = Server.MapPath(folder1)

Set files = Server.CreateObject("Scripting.FileSystemObject")

If Not files.FolderExists(folder2) Then

files.CreateFolder(folder2)

End If

Set objfolder = files.getFolder(folder2)

%>

e ele dá este erro

Active Serve Page error ASP0131

Disallowed PArent Path

noticias/htmlarea/insert_image.asp, line 7

the include file ' ../settings.asp ' cannot contain '..' para indicate the parent directory

alguém pode me ajudar?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.


  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652.1k
×
×
  • Create New...