Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: derwent
  • Order by date
  1. derwent

    top.location.replace variation

    I hadn`t had chance to try it till today sorry. It worked great thanks
  2. derwent

    top.location.replace variation

    I have a page that I need to open in an iframe, I am able to edit both pages. The iframe content page breaks out of the iframe, I guess it is because of <body onLoad="top.location.replace('index.asp')"> that is within it. Basically this page I need to place in the iframe logs the user on using...
  3. derwent

    sending records of certain id value

    The to address has to stay as my boss as al emails need to go to her. This is what I have <!--#include virtual="/include/dbconn.asp"--> <% sql = "Select email from mytable where ID BETWEEN 250 AND 300" rs.Open sql, objConn If Not rs.EOF arrResultSet = rs.GetRows() End If Set rs= Nothing...
  4. derwent

    sending records of certain id value

    so do I put the email script in between the for and next lines to send my boss an email with the content of each row?
  5. derwent

    export if .com in DB name

    Bugger, me thick sorry! It has been one of those days, servers going down galore
  6. derwent

    sending records of certain id value

    It is just a standard connection script <% Dim cs, objConn Set objConn=Server.CreateObject("ADODB.Connection") cs = "DRIVER={SQL Server}; SERVER=servername; UID=usename; PWD=password; DATABASE=dbname; REGIONAL=NO'" objConn.open cs %>
  7. derwent

    sending records of certain id value

    Sure <!--#include virtual="/include/dbconn.asp"--> <% dim emailAddress strTo = "emailofstaff@company.com" strFrom = "website application" strBCC = "myemail@company.com" strSubject = "Emails from database" counter = rs("ID") dim strContent dim myMail strContent =...
  8. derwent

    sending records of certain id value

    I have to grab data out of a DB and email it to someone, but only if the ID's of the records are between 250 and 300 (so I will end up sending 50 emails). I have written the email script using cdosys but this will send only one email, how do I get it to check through DB then send seperate...
  9. derwent

    export if .com in DB name

    Sorry to rehash this one back up, is it possible using a query to export the headers as column names so that we can easily match up the data to the row.
  10. derwent

    querystring and iframe

    I have searched for an answer to this but found nothing useful... I have a page that has to use an iframe (loading a form based on another server), the main page grabs Request.ServerVariables("LOGON_USER") which needs to be passed to the iframe form as I cannot use this server variable inside...
  11. derwent

    check external link and display div

    I have open blank at the moment but every now and again I receive emails saying that my site isn`t working, when I ask for the url of the offending page it is an external website! Believe it or not one of those emails was from my IT manager! I guess I just have really stupid users.
  12. derwent

    check external link and display div

    sorry, my original post was a little vague reading it back. Basically if there is an external link on my site (so the user opens up a webpage that isn`t mine) I want a div to pop onto the screen to say you are leaving my site, it is an external link etc etc. Inside the div it will give two...
  13. derwent

    check external link and display div

    Can someone help, I am wanting to have a javascript check for an external link and if it is then display a div to say it is an external link. An example is http://clagnut.com/, if you scroll down and click a book for sale. thanks
  14. derwent

    deleting files in a folder

    I have a folder that is so large that I cannot open it so I wrote a simple .vbs script to wipe the files within it. dim fso dim folder dim file dim x Set fso = CreateObject("Scripting.FileSystemObject") Set folder = fso.GetFolder("C:\myfolder") For Each file In...
  15. derwent

    adding authentication to cdonts

    I have many web forms on my website using cdonts to send 2 emails per form. The first goes to whoever at our office needs the email and the second to the user saying that we will contact them shortly. Lately the website has been under attack of spammers, I can`t even open the badmail folder it...
  16. derwent

    smtp clogged up with spam

    Since the start of the year we have been receiving a hell of a lot of rubbish sent using online forms on our website. The forms are set up with cdonts, I have just looked through the C:\Inetpub\mailroot\Queue and it is full of emails such as ----------------------------------- This is an...
  17. derwent

    sending javascript with asp

    It works thanks a lot. By the looks of it so far (10 mins) most people are on 1024x768.
  18. derwent

    sending javascript with asp

    nah, still won`t write :o(
  19. derwent

    sending javascript with asp

    nah I can`t get it to work tho. The text file remains blank.
  20. derwent

    sending javascript with asp

    Oh right, thanks for that. Looking at the source code however the variables haven`t been read by the asp, and the text file is blank.

Part and Inventory Search

Back
Top