Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2007
    Posts
    1

    Red face Unanswered: upload images to a path and save the path on the sql database (was "Please Help")

    i am a new user of ASPvbs , I am Making a Personal Site where i collect data from users and Photos , i dont know how to upload images to a path and save the path on the sql database , can any one help me , i am sure it will be easy for you , but as a beginner it is very hard for me , please reply in details so i can understand it , Please Note i am using Dreamweaver8

    Thanks
    Last edited by bobgab; 03-30-07 at 08:00.

  2. #2
    Join Date
    Feb 2004
    Location
    New Zealand
    Posts
    1,423
    Provided Answers: 8
    I wouldn't put the Images in the database make i hard to display then

    What i do UPload images check is it a jpg same it to the images/photo folder

    add the filename to the database and update record

    don't forget to write the delete images code and run that when you are deleting the records

    Them the ASP code look somelike

    <img src="images/photo/<%=rst("FeildNameOfPhoto")%>" ..... >
    hope this help

    See clear as mud


    StePhan McKillen
    the aim is store once, not store multiple times
    Remember... Optimize 'til you die!
    Progaming environment:
    Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010
    VB based on my own environment: vb6 sp5
    ASP based on my own environment: 5.6
    VB-NET based on my own environment started 2007
    SQL-2005 based on my own environment started 2008
    MYLE
    YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.

Posting Permissions

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