uploading a file

Results 1 to 2 of 2

Thread: uploading a file

  1. #1
    Join Date
    Dec 1969

    Default uploading a file

    Im trying to upload a file from a web page. but im having problems displaying the text fields from the forms into the database. in the database it just appears as a square box. <BR><BR>Set rs = Server.CreateObject("ADODB.Recordset")<BR>rs.Open "highlights", cn, 2, 2<BR>Set load = new Loader<BR>load.initialize<BR>filePathComplete = load.getFilePathComplete("file")<BR>title = load.getValue("title")<BR>information = load.getValue("information")<BR>Set load = Nothing<BR>rs.AddNew<BR>rs("picture") = filePathComplete<BR>rs("title") = title<BR>rs("information")= information<BR>rs.Update<BR>rs.Close<BR>Set rs = Nothing<BR>

  2. #2
    Join Date
    Dec 1969

    Default A multitude of questions...

    Lets start off - this probably isn&#039;t advanced. You should have tried posting to the Q&A first.<BR><BR>Secondly, how are we meant to help with the code you have posted? All we can tell is that you initiate a version of this "Loader" class, and then call some functions in it, and store the values in the database.<BR><BR>How large is this Loader class? Did you download it from somewhere? Basically, is there somewhere we can view what exactly it does?<BR><BR>I&#039;m trying to discourage you from code-dumping the entire of it here uf possible, because it&#039;s probably quite big.<BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts