I am new - I mean completely new to ASP. I am trying to install an asp script on my site that I got for free at: called surveysays.
My server is readyhosting.com and does support asp but I don't know exactly what to do. The main 2 problems are these:
' This is the path to the data file the script will use to store results.
' The script must either have permissions to write to the directory the
' file will be stored in (and it will create the file itself on first run),
' or you can create the file yourself (as a 0-byte file), and just give
' the script permission to write to the file.
datafile = Server.MapPath("/" & "\data.txt"
What goes above? I just need an example. For example, my exact server path is: d:\html\user\small-miracles.com\html\cgi-bin then do leave the & "\data.txt?
Do I need that much info in my server path?
' This is the URL needed to call the script directly.
script_url = "poll.asp"
I'm assuming the above would be:
Am I on the right path here?
Then how do I make the page call the script? Do I put this where I want the poll to be? <!--#include file="surveysays.asp"--> with the correct path, of course?
Lastly, where and how can I learn ASP?
Thanks so much,
Christy
My server is readyhosting.com and does support asp but I don't know exactly what to do. The main 2 problems are these:
' This is the path to the data file the script will use to store results.
' The script must either have permissions to write to the directory the
' file will be stored in (and it will create the file itself on first run),
' or you can create the file yourself (as a 0-byte file), and just give
' the script permission to write to the file.
datafile = Server.MapPath("/" & "\data.txt"
What goes above? I just need an example. For example, my exact server path is: d:\html\user\small-miracles.com\html\cgi-bin then do leave the & "\data.txt?
Do I need that much info in my server path?
' This is the URL needed to call the script directly.
script_url = "poll.asp"
I'm assuming the above would be:
Am I on the right path here?
Then how do I make the page call the script? Do I put this where I want the poll to be? <!--#include file="surveysays.asp"--> with the correct path, of course?
Lastly, where and how can I learn ASP?
Thanks so much,
Christy