Click here to Skip to main content
16,005,120 members
Home / Discussions / Web Development
   

Web Development

 
QuestionForcing an ActiveX Version to download Pin
Vasudevan Deepak Kumar1-Sep-05 5:54
Vasudevan Deepak Kumar1-Sep-05 5:54 
QuestionHiding Image when select dropdownlist Pin
macca241-Sep-05 4:21
macca241-Sep-05 4:21 
QuestionPHP Help Pin
#realJSOP1-Sep-05 0:22
professional#realJSOP1-Sep-05 0:22 
AnswerRe: PHP Help Pin
alex.barylski2-Sep-05 14:17
alex.barylski2-Sep-05 14:17 
Questionincludes errors Pin
evlxtc1-Sep-05 0:20
evlxtc1-Sep-05 0:20 
AnswerRe: includes errors Pin
enjoycrack1-Sep-05 0:42
enjoycrack1-Sep-05 0:42 
GeneralRe: includes errors Pin
evlxtc1-Sep-05 1:13
evlxtc1-Sep-05 1:13 
GeneralRe: includes errors Pin
JKroschel1-Sep-05 4:21
JKroschel1-Sep-05 4:21 
There are a couple problems with your setup. First, you can't connect ADO through HTTP, which is what you are doing by using the URL (http://....). Granted, you can see the file when you type in its url, but that just allows you to download the database via your browser. HTTP doesn't have anything to do with ADO, which is what you use to get the data out of the file and into your page. You will have to use the actual file system path.

Here is how you can find the path to the folder your database is in. Make a file with the following code and place it in the same folder as your database and browse for it.

<%
longpath=Server.MapPath(".")
Response.Write(longpath)
%>

This will show you the full path to this file. Subtitute the filename of the database with the file name of the script, and there is your path to the database.

The second problem I see here is that you have published your database to a folder that is viewable to the entire world. This means that anyone could go to your site and download the entire database file. Perhaps your database does not have any sensitive data, but let's say for example that you had login names and passwords in it. Someone could download your database, open it, and have full access to your site. This is pretty poor security.
If I were you, I'd call up my hosting company and ask about a database folder which is outside of the document root, thus placing the database somewhere that only you can access it. They will also tell you the path to this folder, which solves your first problem as well.
GeneralRe: includes errors Pin
evlxtc1-Sep-05 4:56
evlxtc1-Sep-05 4:56 
QuestionAny one can help me about Html Help Workshop? Pin
a_kiani31-Aug-05 21:45
a_kiani31-Aug-05 21:45 
AnswerRe: Any one can help me about Html Help Workshop? Pin
enjoycrack1-Sep-05 0:48
enjoycrack1-Sep-05 0:48 
GeneralRe: Any one can help me about Html Help Workshop? Pin
a_kiani3-Sep-05 1:48
a_kiani3-Sep-05 1:48 
GeneralRe: Any one can help me about Html Help Workshop? Pin
enjoycrack4-Sep-05 16:44
enjoycrack4-Sep-05 16:44 
QuestionJavascript in popup Pin
pangerancinta31-Aug-05 20:15
pangerancinta31-Aug-05 20:15 
GeneralRe: Javascript in popup Pin
Guffa31-Aug-05 21:09
Guffa31-Aug-05 21:09 
QuestionUSB. Camera & Windows Media . Pin
LEE_3451531-Aug-05 17:55
LEE_3451531-Aug-05 17:55 
QuestionOn load not visible Pin
macca2431-Aug-05 5:24
macca2431-Aug-05 5:24 
QuestionHotKeys for HREF links Pin
Daredeviljpr31-Aug-05 4:31
Daredeviljpr31-Aug-05 4:31 
AnswerRe: HotKeys for HREF links Pin
minhpc_bk31-Aug-05 16:07
minhpc_bk31-Aug-05 16:07 
AnswerRe: HotKeys for HREF links Pin
enjoycrack31-Aug-05 16:14
enjoycrack31-Aug-05 16:14 
AnswerRe: HotKeys for HREF links Pin
Vasudevan Deepak Kumar1-Sep-05 20:15
Vasudevan Deepak Kumar1-Sep-05 20:15 
QuestionUsing ASP to get an image from MS Access Pin
stevusuk30-Aug-05 23:18
stevusuk30-Aug-05 23:18 
QuestionDisable &lt;script&gt; at runtime Pin
ali khan msc30-Aug-05 23:02
ali khan msc30-Aug-05 23:02 
GeneralRe: Disable &lt;script&gt; at runtime Pin
enjoycrack30-Aug-05 23:46
enjoycrack30-Aug-05 23:46 
AnswerRe: Disable &lt;script&gt; at runtime Pin
Guffa31-Aug-05 3:43
Guffa31-Aug-05 3:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.