Broken Link Checker
Anyone knows how to detect broken link using ASP?
View RepliesAnyone knows how to detect broken link using ASP?
View RepliesHow can I check a link in ASP?I need to verify the exact link, just as
http://validator.w3.org/checklink performs the validation -
e.g.: if a user inserts http://www.exampleURL.com, i'd like to verify whether it's
http://www.exampleURL.com OR
http://exampleURL.com OR
http://www.exampleURL.com/home.asp
How can I do it?
Not sure if this is the right forum? however
Using Dreamweaver MX 2004 and HTML pages graphics show fine. Just trying some ASP pages (a template) and graphics always show as the broken link red square.
Pages are inserted relative to document ../ and the properties of the broken link gives:
http://localhost/thesoccersite/Images/logo.gif
which is correct and the image is there.
i have a search engine which contains all of the links in an access db.
basically what i am wanting to know is:
is there some code i can make to query all the results for a matching word such as "elephant" all the results (url) in the database would be opened and checked, Any broken links would be removed.
does any one know how to do this. what i was thinking of doing was creating some code to open all the pages that match a search....say 50 open
i could then click through them closing them individually to check all urls rather than doing it manually
We created an asp.net 2.0 app, which sends smtp email using System.Web.mail.
The app is in an IIS 6 application pool isolated to 2.0 apps on a 2003
server.
The app worked fine for a few days; recently however it began failing when
sending to external addresses (it works fine if the recipient is inside our
internal domain).
Comparing the logfiles, I notice when it was working both versions of the
CLR appear in log entries, for example:
(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+C LR+1.1.4322;+.NET+CLR+2.0.50727)
Log entries from when it fails only contain CLR 1.1, for example:
(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+C LR+1.1.4322)
The app is configured to use ASP.NET 2.0. What would be causing that
version to disappear from the log entries (and presumably the app) like
this?
I have a login check that calls Login_Check.asp to place a cookie when the user correctly logs in or redirect to Login.asp if they haven't yet logged in.There are many pages that require the check before viewing.one of those pages opens in a split frame.When trying to access the framed page before login the login form opens in both frames.How do I open the login screen in a new window instead of in the frames?
View Replies View RelatedI want to build a domein name checker using ASP & Vbscript but I don't have a clue how to start or what I need to do precisely.
An example of the checker can be found at. http://www.denit.net/ it's called an domeinnaam check an can be found at the middel of the right side of the page.
im looking for domain checker code for australian.com.au domain name. any one have the coding?
View Replies View RelatedI am designing a site for a friend using dreamweaver and unfortunately my link has gone down to my test server. I use dreamweaver to generate most of my asp but since I can;t do this with a broken connection I wondered if anyone would be kind enough to help me with a very simple bit of code.
I simply need an asp page. That reads the first record in a db (db.mdb).
the record has two fields ID (whish is 1) and news (a memo field).
This memo field then needs can then be updated via a simple html form.
Essentially its just a page that allows the user to update the memo field in the first record of the database.
Anybody know of a good form spell checker other than the ones suggested on
ASPFAQ?
I've created a content management sys and it would be nice to give them the
facility, but I don't want them to have to have such as Word installed on
their machine or the need for me to install a COM on my server (because I
can't!!) to be able to do this.
Was thinking of telling the user that they should simply download the Google
toolbar to have this facility, but don't know if this works on a Mac and
Safari!!
What do you call it when search results are broken up into page numbers across the bottom? I want to try that instead of getting a long list of results. I was going to search but none of the terms I tried returned anything.
View Replies View RelatedI'm making the register form to add user in my system. I want user to type fullname,username, password & repeat password. So I write function to check the input from users.This is one of the part in function
else if(form.pwd2.value <> form.pwd1.value){
alert("Repeat password again!")
form.pwd2.focus();
return(false);
}
This part are giving error when submit clicked. So i cut this part & try again & it's ok & no error. i want to make this repeat password checker.
Not sure if this can be done with ASP but I would like to find a way to detect if an image is missing and replace it with a default image instead of the dreaded RED X showing up.
View Replies View Relatedon our Windows 2000 server (SP4) all ASP pages which utilise Javascript have stopped working with the following error
Active Server Pages error 'ASP 0129'
Unknown scripting language
/whateverfile.asp, line 2
The scripting language 'JavaScript' is not found on the server.
In the Intranet-based Ticket tracking app I have built for our tech support, there is a feature where some customers are going to be able to see the stuff that was typed in by the tech support person taking the call, including the problem description. It would be nice to install some client-side validation which would check their spelling. Is there such a thing? A Dreamweaver extension, some freebie js code, maybe?
View Replies View RelatedI have a dictionary.txt whereby the form will check each word against the dictionary. Now, one of the features that I need to add in is to add a new word to the dictionary sorted alphabetically whenever the user clicks on the "Add to Dictionary" button.
How can I go about doing this? Code:
Any code that accesses the Server object appears to break, such as:
Set conn = Server.CreateObject("ADODB.Connection")
OR
Response.Write(Server.ScriptTimeout & " seconds")
Does anyone know how to hide and show a link depending on the level of the user. Like I want the link to show if the person loging in is an admin, but if the person is a user than I dont want the link to show?
View Replies View RelatedHow to get a link / url in a var ? This is what I need to do :
newmsg = " <a href="http://www.my-url"?pa=<%=userid%>> Click here </a> "
Clicking url that points to an exe pops up Open/Save dialog box. But I want
only the Open option to be enabled
How display a link like a plain text (not underlined) with css code.
View Replies View RelatedHaving a problem getting my asp url to work. Im trying to pass a var and some of them have the & in them. This is breaking my url since it looks for another var with the &. If i put the %26 instead of the & manually it works fine. How do I get that to encode that on the link ?
I know the problem is the data that is in the heading field has & in them. I can not fix that part. Is there a way to force the & in the url to go to %26 ? Code:
I would like to build a dynamic link based upon a value returned from a db
There is data in the db because objRS("Description") returns a value.
something like
Code:
if objRS.EOF then
%>
<a href="/somepage.asp?id="<% objRS("Id") %> "><%response.write(objRS("Description"))%></a>
<%
else
end if
I get
http://localhost/somepage.asp?id=
Nothing else at the end.
What am i doing wrong?
To secure files on a site with authentication we have put the
attachments in a folder outside the IIS web site like this:
D:Documents<ItemID>filename.doc
where ItemID is a number which we use to check permissions inside our
application.
In order to download the file from the site we have made a binary
reader component (we could probably use SAFileUp or something instead,
but this works) to send the file through an ASP-file:
http://mysite/Docs/ShowDoc.asp?ID=<ItemID>
This works well.
So to my problem:
If I right click the link to save the file on my local computer (Save
target as), it will save the file properly, but the filename in the
Save As-dialog is ShowDoc.asp. I want it to be filename.doc instead.
Is it possible?
I've heard that on a Apache web server you can write the link like
this:
http://mysite/something/filename.doc?ID=<ItemID>
but then the server knows that it's
http://mysite/Docs/ShowDoc.asp?ID=<ItemID> it should load. If this is
possible in IIS, the Save As-problem will be solved.
I am using this code
<table border="1">
<%
Do While Not rstSimple.EOF
%>
<tr>
<td><%= rstSimple.Fields("username").Value %></td>
<td><%= rstSimple.Fields("password").Value %></td>
<td><%= rstSimple.Fields("email").Value %></td>
</tr>
<%
rstSimple.MoveNext
Loop
%>
</table>
How can I make the email field a hyper link?
I have the following link:
<A HREF=""Schedule.asp?JobNumber=" & RS("JobNumber") & "&PONumber=" &
RS("PONumber") & """>" & RS("JobNumber") ONCLICK= popup() & "</a>
I want the link to reference a function in the <Script> tag as
follows:
<script>
function popup() {
window.open( "Schedule.asp" , ""
,"top=40,left=40,width=200,height=100" ) ;
}
</script>
I am not sure where to place the ONCLICK code in the hyperlink as this
link is written out via response.write......Its all the " " & ' ' that
get me ...
I have a database of literature and I've created a search page that pulls up the records matching the search criteria. However, I'd like to create a link to the article in pdf format, if it exists. I have a field in the database that contains the file name (and path), but not all records have a corresponding pdf file.
Code:
<td><a href="<%=(rs.Fields.Item("Article").Value)%>"><%=(rs.Fields.Item("Title").Value)%></a></td>
How do I check whether there is a corresponding pdf file before displaying the title with a link?
I would like to have a link that when clicked, sends info to an ASP page to process, but does not submit the entire page. This way, the user will
click on a link and will not be taken to another page, but precessing will occur.
This is mainly for a 'Rating' Application.
Amazon.com does this and I want to know how they do it. Here is the link to the amazon page (you may need to be logged in)
http://www.amazon.com/exec/obidos/t...5480771-6490552.
(1)I posted this in general but didnt get anywhere. Then I recalled seeing something recently on the web on an ASP site but cannot recall where.
(2)I have a list of pdf files avaiable for the user to view. When they click the pdf link, the pdf file opens. How can I make the link be a 'save' link? ie, when they click the link, windows treats it as a file to 'save as' etc...
What I vaguely recall on the ASP site was: 'How to hide the path of a download file by using an ASP redirect page'. I was wondering if anyone knows this method, and if they do, would it solve my problem in (2)
I would like to put a picture on may page and I would like to use this picture as a button to execute an sql query, so when you clik on the picture you will hace displayed in the next page the product in the data base and other info like price for example.
I have this code to access the data base but I do not know how to use a picture s a buton to use it. Code:
anyone in here got an idea on how i could transfer a value of a form text to another asp page just by using <a href="">
View Replies View RelatedMy hidden field is
Code:
<input type=hidden name="action" value="login">
<input type=hidden name="ret_page" value="<% =request("ret_page") %>">
and my link is
<A href='register.asp?ret_page=<% =request("ret_page") %>
But the ret_page appears as /vfolder/Content.asp?ContentID=700.
How would I get rid of the /vfolder/ and just have the content.asp?contentID=700 alone.
I am trying to create a link that takes a record ID and opens up a PDF file that is associated with the record ID in the database. The following code works
Response.Write "<a href=""file.asp?ID=" & rs("ID") & """>"
Response.Write rs("File Name") & "</a></td><td>"
I'm trying to rework this code to work a little more easier with Dreamweaver. I would like it to look a little more like this:
"<a href=""file.asp?ID=" & <%=(rsNews.Fields.Item("ID").Value)%> & """>" <%=(rsNews.Fields.Item("File Name").Value) & %>" </a>
I'm receiving a syntax error when I try and run it.