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...
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...
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...
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
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...
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...
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...
Wasn`t sure which forum to use so I gambled on this one...
I want to see the screen resolution of our users say over just 1 month to gauge what most people are using and was going to send to DB or write to a simple file.
So I need to use clientside to grab the screen res and serverside to send...
I need to look at a row in a DB, if it is null they need to fill it in
if trim(rs("thisfield")) = null then
response.write "you need to fill in this field"
end if
I have also tried if rs("thisfield") = "" then
but nothing is output. If I use 'if NOT rs("thisfield") = "" then response.write'...
I have a form that runs a piece of javascript to validate using onSubmit="return fnValidateForm(this);"
I need to run another piece of javascript when the submit button is pressed, how can I do this?
I have tried onSubmit="return fnValidateForm(this); fnother();" but that only ran the first...
I have set up an asp page to use as a stylesheet and all works great using cookies to determine the output in the css.
I need to set another variable to change the colour if on a certain page, the variable is set on the page itself
<%
'var to tell nav file which to highlight
strPage =...
WE are linking to various external websites and we want to keep track of how many people click each link.
I guess I need a database (we have mssql), but I am having trouble getting my head around the logic required.
1. Is it best to log each time a link is clicked as a seperate row then use a...
A database is named aaaaaa.com, this poses no problems for everyday tasks but I have been asked to export the data from several tables in the DB.
Right click the table > all tasks > export data
I select the server and DB, press next
select to export as .xls
it then errors our as it is trying to...
Does anyone use any version control software? We need to keep a record of all updates to a site.
In a previous agency I used vsiual sourcesafe but we do not have a copy of visual studio here. I looked into subversion but it seems to be command line, we need something whereby all our developers...
I have a .html page that need to be a little smarter.
Is it possible in javascript to do the following
Check the url of the page
IF the page is say page1.com THEN redirect to page1.com/new
ELSE it will be page1.com/new so process page.
I would usually do this using php but the page has to...
We are running out of disk space on one of our servers running 2000 server.
Looking at Treesize the deleted items folder has 2GB of data in it, however windows says it is empty.
I have tried adding another file to the bin and deleting that in the hope it will delete these mysterious files but...
I developed a cms for certain pages of our website, people log in, select the page to update then update the textareas (fed by MSSQL), press submit and the website is updated.
Some of the updates however are shocking so I need to put an approval system onto it.
Basically, when they press...
I have found this superb script at http://demo.script.aculo.us/shop that allows the user to drag an item into a box that then acts as a shopping cart. Unfortunately this script uses Javascript and Ruby on rails, which I do not know (I know asp).
After a little research I found this shopping...
For many years I had an ntl cable modem (I am in the UK) and my buffalo WBR-G54 broadband wireless router st up and had no problems at all.
I have since moved house and cannot receive cable, so I had to sign up with adsl. Can I still use my buffalo with adsl?
I used to use a network cable to...
People need to enter their login id to progress to the next page. My script works ok if they enter a valid number however if they enter a wrong login that isn`t in the DB, I get an unfriendly error message. Is there a way to check first if the login is correct and if not display a friendly...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.