Can You Grab The Computer Name?

can you grab the computer name via asp?

View Replies


ADVERTISEMENT

Grab ID# From Address Bar

I bet this is a simple one, but I just don't know.

www.mydomainname.com/12345

How do I grab the 12345 in my ASP page as the ID#?

View Replies View Related

Grab Specific

I am looking to find out how to grab a specific content on a particular Website and put it on my Website. Of course, I will get permissions before doing so. Any ideas? I have found a sample ASP script that shows how to grab the entire page, but certain sections of the page.

View Replies View Related

Grab IP Address

Is it possible to grab a client side IP Address using JavaScript in an htm page? I have a web page hosted on a non-ASP server and I want a piece of code in JavaScript to grab the IP address of the client and send it to a web page on another server. The other page will be ASP.I need this for both Netscape and IE browsers.

View Replies View Related

Grab HTML

I'm looking for a way to grab the HTML behind one of my pages and display it
to the user. The page I'm trying to get the HTML from is an ASP page, so
obviously I'm looking for the post-asp processing results. Basically I want
the same HTML that the user could get if they had done a "View Source" in
their browser on the page.

Does IIS/ASP provide a way to do this natively, or do I have to buy a third
party component?

View Replies View Related

Grab Web Content

how to grab web content on another Website and put it inside mines? Such as grabbing text, or links then reformmating it on my Webpage. Any ideas on how to do it?

View Replies View Related

Grab Content From Others Website

i need some help to grab others website content. after grab the data, i need to store into database. Any idea??

View Replies View Related

Can't Grab A Record From A .mdb Table

There's only 15 rows in the table 'FiscalYr', but I can't grab the row I need.

Here's 3 typical rows:

..Year...Start..........End...... Column names = 'year', 'start', 'end'
2003 12/29/2002 12/27/2003
2004 12/28/2003 12/25/2004
2005 12/26/2004 12/24/2005

For example, if the value of 'today' is #07/10/2004", I want the record where the key is 2004. In fact, any value for 'today' between 12/28/2003 and 12/25/2004 should pull up the '2004' row.

Here's my non-functioning code:

SQL = "SELECT * FROM FiscalYr WHERE Start >= #" & today & "# AND End <= #" & today & "#"
Set rs = DBConn.Execute(SQL)

The resultSet obviously should have only one record because the Start and End dates are unique and don't overlap from row-to-row.

but when I:

if rs.recordcount >= 0 Then
response.write. "There are " & rs.recordcount & "rows that match your search."
else
response.write "While attempting to tally a RecCount there is an Error with recordset. <br />"
end if

I keep getting the Error msg. What am I doing wrong?

View Replies View Related

Grab Results From Recordset

Is it possible to grab recordset even after SQL throws error, but also returns data?

View Replies View Related

Grab Server Variables

I am trying to grab the server name and IP address using Response.Write (Request.ServerVariables("ALL_HTTP"). I am using this one because I wanted to see everything that is brought back.

The server name I am getting back seems to be the host name found in IIS not the fullly qualified domain name of the server. Is there a way to get the fully qualified domain name of the server?

Also this server is one of two servers in a cluster and the IP address being returned is the IP address of the cluster server. Is there a way to get the IP address of the server that I am actually logged into?

View Replies View Related

Grab Top 3 Vote Questions

I have a voting system that works perfect. It calculates the % of votes and shows the total percentage that people picked 1st, 2nd, and 3rd, and a total.

However, I want to be able to select the top 3 of those, and highlight the row, using a bgColor variable that I have defined. The problem with this is that I am calculating the %'s as I am writing the rows, and do not know how to check to see if that row is one of the top 3.

Here is my code:

View Replies View Related

Grab From Database And Send Email

I have another script where i pull all the information from the database and I want to send it to the person. What they do is they enter in their email, and if the email matches, than it will email them their login information.

How do you grab the info and than use that info and put it into an email to send?

Here is my code thus far for it: ....

View Replies View Related

Grab Data From A Text Box And Pass It On!

Ok i have a shopping cart got everything pretty much going but it didn't allow for quantities to be updated. So in my cart view i decided to add a quantity box so u could enter a new value and then click update to update that item.

However i don't know how to grab the value from the txt box.

I have the code working for all the db updates cause i tested it by hard coding it in. I just cant grab the value and pass it on from the txt box....

View Replies View Related

How? Parsing HTML To Grab Images And Info

I need to grab product info including images from specified websites with no RSS or common structure.

I've been searching and reading articles for 2 days and have played around with grabbing html from a site and trying to find out what to do with it at that point. I think I need to parse it for the patterns I'm looking for, (creating an array out of them?) and save that information to my DB. I also want to grab the actual images and display them from my site so that the product suppliers bandwidth is not used by the pics being on my site...

I'm thinking, with my current skills which are limited, I'll be doing this with ASP (vbscript) and javascript (if necessary). I'm not great with those but good enough to figure stuff out eventually.

Can you tell me if you think I'm on the right track and recommend any learning resources specific to the skills needed to accomplish this?

If it's not too much to ask, a bit of pseudocode might keep me on the right track... what to do and when.

View Replies View Related

Grab Logged In User's Email Address

I have this asp page (see code below). It grabs the values from the previous page and populates the email which gets sent to the recipient from the person bidding on his product. I need to grab the bidder's email address (he is logged in when sending this email) from the database.

I can't seem to figure out the code for grabbing a logged in visitor's information from the database to display in the "From" field. Can anyone help? I need the code that grabs his email address, and the code that goes in the "mailer.from" variable to populate that field. Here's the code:

View Replies View Related

Connect To A Remote Server To Grab Data

I am wondering if it is possible to have an asp script, called script1.asp sitting on a server called server1. when this asp script runs, i want it to connect too a different server (called server2) somewhere else in the world and grab data, maybe an xml file.

Is this possible? and if so what is the process called (and/or function names etc) that can help me do this, so i can look them up in google and get cracking on the code.

View Replies View Related

How To Grab Outlook Calendar Info And Display On A Webpage.

I've been trying to figure out how to grab Outlook information and place it on a webpage for a corporate Intranet site. I've downloaded both ASP and ASP.NET example.

I have gotten the ASP.NET example to work, but can not modify it to showmore than one day. The ASP version will not authenticate properly.

What is the best way to do this? Is there an example of how to grab information from Outlook? Is there a way to connect through SQL or export to a SQL database easily?

View Replies View Related

Regex :: Grab Any Style Attribute Within HTML That Uses Double Quotes

I have the following regular expression:

re.Pattern = "style[^=]*=[^""]*""[^""]*"""

It will grab any style attribute within HTML that uses double quotes, and put it in the re.Matches collection.Now, I want to include single quotes into this regular expression. Here's what I have so far:

re.Pattern = "style[^=]*=[^""']*(""|')[^1]*1"

but it does not work.

View Replies View Related

Computer Name

I'm building an Intranet for my company and would like to retrieve the computer name of the users PC which they're using to access the Intranet. Is this possible? If so how?

View Replies View Related

Computer Name In ASP

How can I retrieve the computer name of the browser and output it to the
webpage in ASP/VBScript?

View Replies View Related

Get Computer Name

I need to get the computer name of the computer that is accessing my page.I have a web app on an Intranet (server) that is getting the name "INTRANET" if I use the " Wscript.Network " code. If I access this web app, I need the name of my computer, the one accessing the web app, not the name of the Intranet server.

View Replies View Related

Computer Can't Count

Essentially all I'm trying to do is add numbers together. If there isn't a record then create one with the number 001.

If there is a record add one to the number (Which in most cases will be 001) so the next number should be 002.

My problem is that it gets to 002 and stops. Any ideas why? Code:

View Replies View Related

Database To Another Computer

I use Sql Server.I want to back up a database on server over network to my computer.I do not have Sql server on my computer.It will be kept as a file.
The questions come to my mind:Should I first back up database from Sql server to server which Sql Server resides? or Is there any possibility to back up database from Sql server directly to my computer over network?If it is not, how should I accomplish this? Using Vbscript?First Create "Scheduled tasks" then using ".vbs" file which I will create to automatically send file to my computer over network.

View Replies View Related

Computer Room

we have 7 computers can access our web application.Is there a way I can use their computer names to identify which computer login?I use asp and javascript.

View Replies View Related

Search For A Certain Computer On A LAN

how to search for a certain computer on a LAN? Using its name for example.

View Replies View Related

Install Asp In My Computer

how to install asp into my computer and i know that it needs iis server connection.can u tell me how to do that.

View Replies View Related

Retrieve Computer Name

how to retrieve the computer name using ASP?

View Replies View Related

Request Computer Name

Is there a way to request the computer name (ie. Request.ServerVariables ("REMOTE_ADDR"))? I want to be able to pull the computer name and enter it directly into a form, but I'm not sure how to pull the name.

View Replies View Related

Where Are Exactly Cookies Stored In Computer?

Does anyone know where the cookies are stored in the computer. I guess depending on the brower the client uses, they are stored in diff places.

But when i make a search for cookies, i can find few txt files inside the cookie folder with names userid@websitename[1].txt but i cannot see the any cookies with the domain name iam working ....

View Replies View Related

Open The Asp Page On Another Computer

I have a network. Let's say the ASP pages are on computer 1. I try to open the pages from an other computer, let's say computer 2, in the network. How can I realize this?
I tried to make a drive (M:) on computer 2 which referes to the (shared) map on computer 1 where the ASP pages are. The pages are shown, but the asp-code isn't used in the displayed page. Only all the html-content is shown.
Is there any (other) way to show the ASP pages on computer 2?Computer 2 is not connected to the internet, so over the internet is not an option.

View Replies View Related

About Testing On Local Computer

I have been teaching myself ASP for several months now and seem to have a pretty good handle on it. All along, I have been uploading changed files directly to the website and refreshing to test.

However, today I will be at a location with no internet access and would still like to be able to work and test my programming. How do I go about testing ASP pages on my local computer without an internet connection?

For now I am not worried about testing any databases or anything, just layout and design.

If it is useful, I am running Windows XP Home edition and I use Dreamweaver to write the ASP.

View Replies View Related

Retrieve UserName And Computer Name

I have tried using servervariables("XXX") to request the username and computer name of the individual running code on our internal server, but what I want and can't seem to capture is the user's network logon and computer name. The user's logon anonymously.

View Replies View Related

Get Computer Name From Mapped Drives

I am trying to get the computer/server names from the mapped drives on the Clients PC when they select a file from the upload "browse" button. When the user clicks on the "Browse" button on the "<input type="File"... control and selects a file located in one of many possible mapped drives. I want to save the location of the file as a path as you would see when mapping a drive. For instance, "serverfolders... instead of the
mapped path of "P:foldersubfolder... etc. Therefore, when a user views the document they can click on the link and get access to the file regardless of how their drives are mapped. Oh, I need to be able to do this from classic ASP.

I attempted to use the FileSystemObject object but cannot find the method that gives me this information.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved