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


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

Can You Grab The Computer Name?

can you grab the computer name via asp?

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

Specific Row

I was able to alternately change the rows colors, but this time lets say I have 10 records in a table taken from my database. How do i put colors on rows where value(certain value from a field) is lets say greater than 10?
Like for example I want to highlight only those student number greater than 10.

View Replies View Related

Getting A Specific Date

I have a program that needs to rely on the date for Sundays on a given month. Here's an example:

Today is 3/18/2005 (Friday). When a user logs into my page, I need to grab the date that the past Sunday fell on (3/13/2005)

If the user logged in on 3/24/2005 (a thursday), I would need to grab 3/20/2005 (that sunday)

Any ideas in vbscript?

View Replies View Related

Get Column Name And Value Of Specific Row

Ok let me explain what I am trying to do as easily as I can. I have a table in my access database that I am connecting to. I select a specific id number using my SQL statement. Now what I am trying to do is scroll through that records row and get the column name of that column along with the value of that cell. I hope that isn't to confusing. Now I'm not sure whether this would be done using ASP or done in my SQL statement. Code:

View Replies View Related

Specific Field

I am working on a college project which has a user area and a page where only a user can access their information and no one elses.I am trying to do a select statment to read specific information from a field without reading any other users info.
The code below is for a drop down menu for payment months i have stored in a database...
Here is what i have got so far...

Code:
Set oRs = Conn.Execute("SELECT [Payment_Period] FROM wages WHERE [Staff_ID]=" & staffid" ORDER BY [fullname]")

View Replies View Related

Specific Values

I need to execute different asp programs based on different values of a parameter. For example, if the user inputs ID of 1, program1 needs to be executed automatically, if user inputs ID=2, program2 needs to be executed in the background automatically. How do we do this in asp?

View Replies View Related

Getting A Specific Date

I'm then going to use the answers in my select statement to pull data from the database.

Heres what i have now:
sql= "select * from assistancerequest where datein >= Date() - 7"

heres the problem with it:
it gives no errors but when it shows my output it shows wrong data.

Example:
27/08/04
28/09/04
28/09/04
29/09/04

this is some of what i get. as you can see it counts back 7 days, but its not working because this is from two different months! so it looks like its only checking for the days and not the month. does any of this make sense?

View Replies View Related

Specific Reservation Id

i want to check item before insert new item. let say resID = 1052. before that, i have inserted item which is prodNumber = 100 for resID = 1052. then, still at resID = 1052, i insert another item, prodNumber = 100.

then an error message will come out. but if i insert item, prodNumber = 100 but for resID = 1047, suppose there is no an error message.

that means the sql conditions are at current resID and prodNumber.

View Replies View Related

Specific Sql Roles

i need to connect to sql with different roles. is there any way for do that without passing users or passwords in the connection string?

View Replies View Related

Specific Date

Does anyone know a way to find out the numeric value of a day of the week for a specific week, I am trying to display week periods from Mon-Sun. Ive toyed around with is but can seem to come up with anything.

View Replies View Related

Insert Variable Into Specific Row

I have a feeling someone can answer this very quickly, but Im having problems. Basically Im trying to get the rate variable which will be either a 0 - 10 inserted into the appropriate row. I want the variable filename to match up with the matching filename in the database and then insert the rate variable into that filenames rate column. Hope I didnt confuse you to much.. Code:

View Replies View Related

How Can I Get Data In A Specific Format

I want to get data in a specific format. For example i have 10 names in database and i want to show these 10 names in this format.

Name1 Name2
Name3 Name4
Name5 Name6
........ ........
....... .........

how it could be possible.

View Replies View Related

Remove A Specific Item

I have a script which creates an array by doing this:Code:

strInputValue = "this will be split into an array"

arrMyArray = split(strInputValue)
This produces an array of 6 (UBound(arrMyArray) = 6).

Is it possible to remove part of the array, so that "into" for example will be removed, such that UBound(arrMyArray) = 5?

View Replies View Related

Sql Statement For Specific Data

im a bit of a rookie and i couldnt find anything using search,how can i have a statement which selects only the records which contain data.
Code:

sSQL = "SELECT * FROM VIEW_COLLECTION " &_
"WHERE (BusinessID = 20) AND (Parentid = " & objRScats("CategoryID") & ") " &_"ORDER BY CollectionName"

Thats what i currently have. This is for the page navigation - and i dont want a those collections that do not have any data to be diaplyed - but i do not want to delete these records altogether just yet.

View Replies View Related

Return Specific Page

If Request.ServerVariables("URL") renders

/myserver/mywebpage.asp

How can I just return mywebpage.asp?

I can use the RIGHT function, but I'd like for it to work on any page,
regardless of the length of the page name. I'm looking for a good example of
using a combination of MID, LEFT, RIGHT, etc to get certain parts of
strings.

View Replies View Related

How I Can Getting Data Specific Format

I want to get data in a specific format.For example i have 10 names in database and i want to show these 10 names in this format.

Name1 Name2
Name3 Name4
Name5 Name6
.. ...
... ....
how it could be possible.

View Replies View Related







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