I'm new to ASP; and I'm trying to modify some ASP scripts found
on-line. What I need is to figure out the name of the computer the
script is running (server side), and assign the database open strings.
On the server, which is a shared host, the databases are on the "D:"
drive, and on a local IIS (on my dev PC), it's on "C:". I want to be
able just to upload the script, and allow the script to determine the
string to use. For example (not actual ASP code):
// all other pre stuff done
if (computer = my computer) then
// string for DB Connect if running on my PC
else
// string for DB Connect if running on server
end if
The first "computer" is some type of function call to get the computer
name.
Thanks loads..
onI need simple ASP code to
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/