Pagina 2 di 3 primaprima 1 2 3 ultimoultimo
Visualizzazione dei risultati da 11 a 20 su 22

Discussione: Ancora aiuto

  1. #11
    non mi sono spiegato...
    codice:
    <% 
    Set OBJConn = server.createobject("ADODB.Connection") 
    OBJConn.ConnectionString="DRIVER={Microsoft Access Driver (*.mdb)};" & "DBQ=" & Server.MapPath("\MDB-DATABASE\talentscout\talentscout.mdb") 
    OBJConn.open 
    set RS=server.CreateObject("ADODB.Recordset") 
    Sql="SELECT * FROM DaApprovare" 
    RS.Open Sql,objconn,1,1 
    Do While Not Rs.Eof 
    
    a = RS("Filename")
    response.write a:response.end 
    %> 
    
    
    <%=RS("IDBrano")%> 
    
    <%=RS("Artista")%> 
    
    <%=RS("Titolo")%> 
    
    <%=RS("Filename")%> 
    
    <%=RS("PermettiDownload")%> 
    
    
    <% 
    Rs.MoveNext 
    Loop 
    Rs.Close 
    Set RS = Nothing 
    OBJConn.Close 
    Set OBJConn = Nothing 
    %>

  2. #12
    Nn riesco
    ti posso inviare la pagina?...qui nn riesco ad allegare file asp

  3. #13
    non allegare la pagina asp, posta tutto il codice.

  4. #14
    <% If Session("Username2")= "" Then Response.Redirect("/Pannello-controllo/login.asp") %>
    <html>

    <head>
    <title>ARTISTA</title>
    </head>

    <body topmargin="0" leftmargin="0">

    <div align="center">
    <center>
    <table border="0" width="100%" cellspacing="0" cellpadding="0" style="font-family: Verdana; font-size: 10 pt; font-weight: bold">
    <tr>
    <td width="20%" align="center" bgcolor="#FFFF00" height="30"><font color="#000000">Approva
    Brani</font></td>
    <td width="20%" align="center" bgcolor="#E5E5E5" height="30">Download mp3</td>
    <td width="20%" align="center" bgcolor="#E5E5E5" height="30"><a href="DettaglioVoti.asp">Dettagli
    voti</a></td>
    <td width="20%" align="center" bgcolor="#E5E5E5" height="30"><a href="ApprovazioneArtisti.asp">Approva
    Artisti</a></td>
    <td width="20%" align="center" bgcolor="#FF0000" height="30"><font color="#FFFFFF">GooveMania</font></td>
    </tr>
    </center>
    <tr>
    <td width="20%" align="center" height="30">
    </td>
    <td width="20%" align="center" height="30"></td>
    <td width="20%" align="center" height="30"><font color="#FFFFFF">.</font></td>
    <td width="20%" align="center" height="30"></td>
    <td width="20%" align="center" height="30"></td>
    </tr>
    <tr>
    <td width="20%" align="center" height="30">
    </td>
    <td width="60%" align="center" height="30" colspan="3" style="font-family: Verdana; font-size: 18 pt; font-weight: bold">
    <p align="center"><font color="#FF6600">TALENTSCOUT</font></td>
    <td width="20%" align="center" height="30"></td>
    </tr>
    <tr>
    <td width="20%" align="center" height="30">
    <p align="left"></td>
    <center>
    <td width="20%" align="center" height="30"></td>
    <td width="20%" align="center" height="30"><font color="#FFFFFF">.</font></td>
    <td width="20%" align="center" height="30"></td>
    <td width="20%" align="center" height="30"></td>
    </tr>
    </table>
    </center>
    </div>
    <center>

    <div align="center">
    <center>

    <table border="0" cellpadding="5" cellspacing="0" width="655" style="border-left: 1 solid #808080; border-right: 1 solid #808080">
    <tr>
    <td width="645" align="center" colspan="5" background="/Pannello-controllo/immagini/azilo2.gif" style="font-family: Verdana; font-size: 12 pt; font-weight: bold" height="35"><font color="#FFFFFF">Approvazione
    Brani</font></td>
    </tr>
    <tr>
    <td width="21" align="center" background="/Pannello-controllo/immagini/menu.gif" height="30"></td>
    </center>
    <td width="219" align="center" background="/Pannello-controllo/immagini/menu.gif" height="30">
    <p align="left"><font size="1" face="Verdana">ARTISTA</font></td>
    <td width="233" align="center" background="/Pannello-controllo/immagini/menu.gif" height="30">
    <p align="left"><font size="1" face="Verdana">BRANO</font></td>
    <td width="111" align="center" background="/Pannello-controllo/immagini/menu.gif" height="30">
    <p align="left"><font size="1" face="Verdana">FILENAME</font></td>
    <td width="61" align="center" background="/Pannello-controllo/immagini/menu.gif" height="30">
    <p align="left"><font size="1" face="Verdana">DOWNLOAD</font></td>
    </tr>
    <%
    Set OBJConn = server.createobject("ADODB.Connection")
    OBJConn.ConnectionString="DRIVER={Microsoft Access Driver (*.mdb)};" & "DBQ=" & Server.MapPath("\MDB-DATABASE\talentscout\talentscout.mdb")
    OBJConn.open
    set RS=server.CreateObject("ADODB.Recordset")
    Sql="SELECT * FROM DaApprovare"
    RS.Open Sql,objconn,1,1
    Do While Not Rs.Eof

    %>

    <tr>
    <td width="21" align="center" style="border-bottom: 1 solid #808080" height="32">">[img]/Pannello-controllo/immagini/approva.gif[/img]</td>
    <td width="219" align="center" style="border-bottom: 1 solid #808080" height="32">
    <p align="left"><font size="1" face="Verdana"><%=RS("Artista")%><font color="#FFFFFF">.</font></font></td>
    <td width="233" align="center" style="border-bottom: 1 solid #808080" height="32">
    <p align="left"><font size="1" face="Verdana"><%=RS("Titolo")%><font color="#FFFFFF">.</font></font></td>
    <td width="111" align="center" style="border-bottom: 1 solid #808080" height="32">
    <p align="left"><font size="1" face="Verdana"><%=Rs("Filename")%><font color="#FFFFFF">.</font></font></td>
    <center>
    <td width="61" align="center" style="border-bottom: 1 solid #808080" height="32"><font size="1" face="Verdana"><%=RS("PermettiDownload")%><font color="#FFFFFF">.</font></font></td>
    </tr>

    <%
    Rs.MoveNext
    Loop
    Rs.Close
    Set RS = Nothing
    OBJConn.Close
    Set OBJConn = Nothing
    %>

    </table>
    </center>
    </div>
    <div align="center">
    <center>
    <table border="0" width="655" cellspacing="0" cellpadding="0" style="font-family: Verdana; font-size: 10 pt">
    <tr>
    <td width="100%">
    <p align="center"><font color="#FFFFFF">.</font></td>
    </tr>
    <tr>
    <td width="100%"> Leggenda</td>
    </tr>
    <tr>
    <td width="100%">
    <div align="center">
    <table border="0" width="650" cellspacing="5" cellpadding="0" style="font-family: Verdana; font-size: 10 pt">
    <tr>
    <td width="22">[img]/Pannello-controllo/immagini/approva.gif[/img]</td>
    <td>Approva i brani in coda</td>
    </tr>
    </table>
    </div>
    </td>
    </tr>
    </table>
    </center>
    </div>



    </p>

    </center>


    </p>

    </body>

    </html>

  5. #15
    codice:
    <p align="left"><font size="1" face="Verdana">"><%=Rs("Filename")%><font color="#FFFFFF">.</font></font></td>

  6. #16
    si...ho visto...puntava alla cartella public senza nome del file

    pero mi da stesso errore...nn trova il file...eppure c'è :master:

  7. #17

  8. #18
    azz... a te funzia.....come mai?
    nn sara perchè sono su server 2003?
    dico questo perchè da quando sono passato a server 2003 se digito a mano un link sul broswer nn me lo scarica....chissa perchè...

  9. #19
    ma hai copiato bene l'ultimo codice che ho postato?
    guarda che è diverso dal primo:
    codice:
    <p align="left"><font size="1" face="Verdana">"><%=Rs("Filename")%><font color="#FFFFFF">.</font></font></td>

  10. #20
    si certo....guarda lo messo su altro server
    http://www.vegrannunci.com/Pannello-...provazione.asp

    qui funziona

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.