/ Forside/ Teknologi / Udvikling / ASP / Spørgsmål
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
ASP
#NavnPoint
smorch 9259
Harlekin 1866
molokyle 1040
Steffanst.. 758
gandalf 657
smilly 564
gibson 560
cumano 530
MouseKeep.. 480
10  Random 410
er der nogen der kan
Fra : webmusta_1
Vist : 327 gange
20 point
Dato : 31-03-05 14:28

hvad ska man her jeg har download en gæstebog fra http://www.smartwebby.com/web_products/flash_guestbook/default.asp og jeg hved ikke nogged om asp så er der nogen der kan hjelpe det er til en gæstebog

mi server er fra www.1go.dk



Installation steps

   1. Important: Place all the above files in a folder called SmartGuestBook under your site root.
    Very Important : Please give the folder write permission (If you don't know how to do this, please contact your site administrator).
   
   2. If your site is being hosted by another site i.e. your site is a freely hosted site, you would have to most probably place the access database file in a specified database folder as assigned by your service provider. You will thus need to make a few changes to the pages to give the correct path to the SmartGuestBook files :
      a. Change the path to the access database (SmartGuestBook.mdb) in the SmartGuestBookCode.asp page. This can be done very simply by opening the page and going to the top of the code. Here you will find the following lines:

      '------------------If your site is hosted by another site then change your path in the DBQ value below i.e. in place of Server.MapPath("SmartGuestBook.mdb") type in Server.MapPath("/Your_site_database_folder_path/SmartGuestBook.mdb")-----------------

      strDB = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("SmartGuestBook.mdb") & ";DefaultDir=" & Server.MapPath(".") & ";DriverId=25;FIL=MS Access;MaxBufferSize=512;PageTimeout=5"

      '------------------End of Database connection string -----------------

      Just give your database's (SmartGuestBook.mdb file's) path in the DBQ value i.e. in place of Server.MapPath("SmartGuestBook.mdb") type in Server.MapPath("/Your_site_database_folder_path/SmartGuestBook.mdb").
      Important : After finishing the installation, if the guestbook doesn't save and display entries in and from the database please make sure that the database folder has been given write permission (sometimes the service provider sets the permission only when requested).

   3. Now you are ready to call your Guestbook from anywhere in your site.
    To do this, use the following link in your page (Hint: If you are using dreamweaver, copy and paste the following link in the Code View):
    <a href="javascript:{var xwin=window.open('/SmartGuestBook/SmartGuestBook.asp','GuestBook','width=350,height=350, resize=no')}">Guest Book</a>

    Note: for a site hosted by another site use the following link with your correct site path :-

       <a href="javascript:{var xwin=window.open('/Your_site_path/SmartGuestBook/SmartGuestBook.asp','GuestBook','width=350,height=350, resize=no')}">Guest Book</a>
   
   4. If you wish to keep the guest-book inside one of your site pages (i.e. the guestbook will be visible always on the page instead of popping out on clicking a link), you should place the SmartGuestBook.swf file and related scripts in your page body by adding the following code wherever you want the Guest-Book to appear (do not copy the 'Start of Code' and 'End of Code' lines). After you copy-paste the code please follow the important directions given below it.


 
 
Kommentar
Fra : sixhoej


Dato : 26-04-05 20:02

hvorfor laver du den ikke selv?...

følge da guiden på http://www.html.dk/tutorials/asp/


ellers, er det altså ikke så svært, så hvis du kaster ledt flere points i spørgsmålet, så er jeg klæar på at lave en simpel gæstebog til dig..

Hvilken database type bruger du? - Microsoft Access? eller en anden?

/jsc

Du har følgende muligheder
Dette spørgsmål er blevet annulleret, det er derfor ikke muligt for at tilføje flere kommentarer.
Søg
Reklame
Statistik
Spørgsmål : 177428
Tips : 31962
Nyheder : 719565
Indlæg : 6407936
Brugere : 218877

Månedens bedste
Årets bedste
Sidste års bedste