I`ve got a site that is built with this structure: www.theurl.com/Default.asp?page=archive&id=31
When I search Google for information that is in the article with id 31, Google shows the correct information but the link to it is wrong. It shows the link to the default.asp....
I need to get an asp version of the google search api working for my job, they don't allow php on their servers which is a bummer because it would be a piece of cake in PHP.
I have tried using code available on the internet and the simplist one I got is below, it's called google.asp, however it's giving me a internal 500 error, here is the message from IIS. Code:
Anybody have any experience with plotting map points with Google Maps API from an Access DB?
I have a database with about 90 locations that I would like positioned in the Google Maps. I found a cool tool to get the long and latitudes to complete the database, now just need to figure out how to get all that data to appear on the maps.
I have a database which has the start address and end address. Is it possible to get the Google Maps to work with this data so that when I click on an image, I get the driving directions from the start address all the way to the end address.
I have some pictures in database.now i am printing it using response.write in one page.It is working properly.I want to print it in such away(it should follows google page)like every page it should print 2 and then another page.
How would I add a form, text field and submit button, to handle the query and run the function. The code from the above link has a few syntax errors, Any ideas?? Code:
I am trying to use google checkout and paypal checkout for the shopping cart.
I have searched on googles website ways to do it but i have a question if i use google checkout ihave to redirect to googles page for the credit card information once the user hits the submit button is there a way i can have that data added in my table.
Is there any way to determine a website's Google page rank programatically? I can see the pagerank using Google's tool bar when I visit a website but does Google have hooks into this feature?
I'd like to know how can I work with Google (or any other Search Engine's search result).
I'd like to develop an application that takes in a keyword, searches Google, and based on results, it says how many results were produced.. Or what was the rank (PR) of a particular site, and so on..
I just logged onto Google sitemaps to check since I haven't logged on for a few weeks and I noticed a few new features.
One of these is a verification process and I tried to verify my site by following the instructions but I was then shown a message below...
"We've detected that your 404 (file not found) error page returns a status of 200 (OK) in the header."
I was then sent to this page (3rd paragraph from the bottom) https://www.google.com/webmasters/si...ileconfigerror
It reads as follows: ------------------ We've detected that your 404 (file not found) error page returns a status of 200 (OK) in the header.
this configuration presents a security risk for site verification and therefore, we can't verify your site. If your web server is configured to return a status of 200 in the header of 404 pages, and we enabled you to verify your site with this configuration, others would be able to take advantage of this and verify your site as well. This would allow others to see your site statistics. To ensure that no one can take advantage of this configuration to view statistics to sites they don't own, we only verify sites that return a status of 404 in the header of 404 pages.
Please modify your web server configuration to return a status of 404 in the header of 404 pages. Once your web server is configured correctly, try to verify the site again. If your web server is configured this way and you receive this error, click Check Status
What I would like to know is how I could set the status, whats the correct way to write this in the header of the 404 error page I made?
I have been searching for a search engine script done using CLASSIC ASP that uses the google data api but I could not find anything. I tried using a lot of codes (tutorials) but no one was effective with me.
I am integrating google checkout in my shopping cart. I am able to submit my cart on google. But i want that the user should be able to update the cart even after that.
For that we have to specify the url where user can do so. But i am stuck and not getting how the cart is updated after that and what should i do so that user can update while being on google itself.
I having trouble with some of my classic asp pages being dropped from google.Specifically, a set of four pages reused many times with the content identified via query strings (max 3 variables). I was under the impression that google no longer has a problem with urls appended with query strings. Does anyone know if it is possible to incur penalties for the "over use" of such pages? My product detail page for example is used to display 230 seperate products.
if using static urls may help get my pages re-indexed, but I have had difficulty finding a way to do this with classic asp. Could anyone suggest a suitable method or advise possible reasons for my google disaster?
I've always been looking for the best way to get an accurate percentage statistics.
For example, in a election scenario:
Person A gets 33 votes Person B gets 33 votes Person C gets 34 votes Person D gets 35 votes
Total votes = 33 + 33 + 34 + 35 = 135 Percent for A = 0.244.... = 0.24 = 24% Percent for B = 0.244... = 0.24 = 24% Percent for C = 0.251... = 0.25 = 25% Percent for D = 0.259... = 0.26 = 26%
Then add up the percentage values: 24 + 24 + 25 + 26 = 99 (where it should be 100)
So, does anybody have a way to get around this problem? How should I calculate the percentage for each person so that the percentage will add up to 100 in the end?
I am needing to response.write a variable within a snippet of Javascript. My Javascript code that I need to response.write with the variable is below:-Code:
response.write ("imageArray[ImageNum++] = new imageItem(image_dir + ""variable here"");")
I can response.write the static Javascript string fine. The problem arises when I try and state a variable into where it says, 'variable here' The variable I need to include is Code: rs.Fields("ImgURL") Would someone please be able to show me the correct formatting for this Javascript string which includes the variable.
My asp syntax is very lacking, it seems the double quotes that have been done by me are not what asp is looking for. Anyone that could correct my faulty thinking would be thanked.
how to display correct time according to user timezone i want to do an online meeting let say schedule meeting at 1:00pm server time, how do i display the correct time for users in their local time
I have a form where users can enter search criteria for various products. now, if this form has 2 fields, colour and size (it wil have more but I'm assuming the the principle for two fields will be the same for ten fields) what would be the correct syntax for performing a query where the user didn't enter a criteria for both fields? the search string would be
strSQL = "SELECT * FROM products where colour = " & "'" & request.form("searchstrcolour") & "'" & "AND size =" & "'" request.form("searchstrsize") & "'" & " ORDER by price"
so if the user selects blue and large, thats fine but what if the user only selected say blue and didn't bother with the size? is there a wild card that I could use?
can someone explain to me the diffrence between the 2 below and why one works and the other one doesnt.could you also explain what each part of the correct version is doing because i dont really no.
INCORRECT
sql = "SELECT * FROM userlogon WHERE (username)=' "& (username) & "' AND (password)=' " & (password) & " ' "
CORRECT
sql = "SELECT * FROM [userlogon] WHERE [username]=' "& username & "' AND [password]=' " & password & " ' "
i need to delete some values which have dates that are less than today's from a table. The date is in another table so i joined the two tables together and gave a clause
I did this:Code:
DELETE * FROM RMASerial, Sold WHERE RMASerial.SoldID=Sold.SoldID And Sold.Warranty_date<Date();
I have a few pages that require login to access. Assuming a user clicks a link containing a variable trying to access a password protected page. That user is redirected to the login page. After login, he's brought to a "logged in" page. How do I retain the original link he clicked and instead of redirecting to a logged in page, he's redirected to the page he originally requested?
Im trying to make a client area on my website and an not sure on how to go about editing clients details.When the client logs in they are brought to a menu where they can update there record. How can i get the appropriate record from the database so they can update there details?
I have a database which stores information,I have a page which has links to each of the rows in the database and to search by each row it has its own unique ID. The problem I am having is only one row keeps getting returned from the database.I have an access database and using ASP. I think the problem could be with the SQL statement.
SQL = "Select * FROM monitoring where monitoringID = & request('ID') &"
On asp.net, How can we programmatically verify whether the UserName and Password is Correct? and when i close the application directly and open again, is still in lon in status.?
i have this function in asp that should return false when a match is not found, but it keeps returning "exception occured". How do i go about getting this thing to work properly.Code:
public function isValidUserName(byVal user_name) dim sqlComm
sqlComm = "SELECT USERNAME FROM S_USER WHERE USERNAME = '" & user_name & "'"
set oRs = oConn.Execute(sqlComm)
' if a match is found then return true if oRs("username") = user_name then isValidUserName = true else isValidUserName = false end if