We have aan asp content management system running on IIS6 that produces hundreds of pages from one page template so each page is called mainpage.asp?id=22 and the number at the end changes.
Is there any way of attaching a virtual address to the pages so they could have for example news_story or about-us and control this using a database?
Scenario: I need a virtual directory in Site_B to serve the files in Site_A (without redirecting the request) so I just added for example Site_B/A as a vdir, and set it's home dir to the physical root of Site_A (eg. C:inetpubwwwrootSite_A) sounds simple enough... not for long:
Problem (nb. I tend to use forward slashes as web/iis paths and backslash as windows filesystem paths):
The include files in Site_A reside in: Site_Aincludes and the include statements in the ASP code seem to be absolute virtual paths (if such a thing exists) for example: <!--#include virtual="/includes/header.asp"--> Code:
ive got a piece of software (perl) that i use to track visitors on my site. this software displays both ip addresses and domains of visitors
e.g.
A visitor from 81-178-202-110.dsl.pipex.com (81.178.202.110) arrived without a referring URL, and visited www.newmediadesigns.co.uk/index.shtml at 03:01:28 PM on Friday, March 26, 2004. This visitor used Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1).
what code do i need to display this domain information in asp?
I want to block certain email addresses like,(See the MailTo Section, I don't want the Sandra email address), through my online forms. I've been receiving spam from people using the forms. My code below is ASP. The code basically sends the form data to 3 email addresses and send the visitor who filled out the form an HTML style email message as confirmation. I added an IF THEN statement (Look at the MAIL TO) for the unwanted email address thinking it would do the trick but it doesn't block or send the email to the unwanted email address. Here's the beginning of my code. Any help would be greatly appreciated. NOTE: I replaced the wanted email addresses with phony names because they are private.
<% If request.form("Email")="" then response.write "<p><br><center><font face='arial' size=3>" response.write "<b>Please don't forget to enter your" response.write " Email address!</b></font>" response.write "<form>" response.write "<input type=""button"" value=""Return to Form""" response.write " onclick=history.go(-1)></form>"
Simple question no doubt - I am trying to send an email to a form variable as well as a list of addresses, but I can't seem to get it to work. Please help. I want to combine these two lines - what is the syntax? Code: MyCDONTSMail.To= "xxxxxxx@nzl.xerox.com"
Code: MyCDONTSMail.To= creat_email They work individually (I have declared creat_email).
I'm looking at including the functionality of allowing the user to enter their ostcode / number and for the rest of their address details to be retrieved and populated.I have seen one or two solutions via google but these require you to pay, and I was wondering if this is something that can be achieved for free?
Im currently working on a simple form which only contains one text box, I would like it so that the content within the box is e-mailed to a specific address but for the senders e-mail address in the From line remains anonamously masked in some way. Is this at all possible/ any tutorials on this?
We need to import the contact details from Act! and Outlook/Outlook Express (Both) to a website (hosted database MSSQL or Access). Is that possible in any ASP Scripting?
I want to store multiple mailaddress like home address and shipping address. Sometimes addresses will be more than two. I am thinking about storing the details as a dictionary object....
I am wanting to validate the domain name of email addresses submitted through a form. Has anyone written a script for using nslookup to do this? My searches are finding components for sale.
I have an ASP page that emails the user who entered their email in the form, which could be an external or internal address. Internal addys come in the form of: symthe, poncenby when this is type manually in an outlook message it gets resolved as being on the global addres list.
Testing at the moment consists of me emailing myself using the TO field being an external address and the FROM field being internal. The email get to me but the sender's address is just the first part of form value before the comma. e.g. smythe .
I want to send an emailshot from my ASP/VBScript page without disclosing the email addresses of its recipients in the To: field. I've only considered CDONTS. Can it do this? Or is there another way?
I am using ASP formmail from www.brainjar.com. I keep getting this error message: Form could not be processed due to the following errors:
Email send failed: The server rejected one or more recipient addresses. The server response was: 550 endlessenergysystems.com.
The email address in the form is correct and does work. I have changed the settings to different email address and SMTP servers to try to figure out the issue. However I still get the same error. Here are the basic settings:
i have a problem with an asp form on my workplace site. Spammers appear to be hammering it daily with requests, our form sends an automatic email, but the email addresses they enter are all fake "donotreply@whatever.com" which is causing a mountain of repeated mail delivery subsytem messages that run on for days. AVALANCHE!!!
Is there a method of blocking the text "donotreply" in email addresses via validation?
I have an Intranet site sitting on an Windows XP server, which has IIS 6.0 installed. This Intranet site contains a virtual directory (VD), which sits on a second server and has Windows 2000 installed.
To test how a virtual directory would work for this particular Intranet site, I had previously set up the VD on the web server. Everything worked well...no errors.
Once testing was complete and the location of the VD changed to the second server, I have been receiving the following error:
Microsoft VBScript runtime error '800a004c' Path not found
I understand what this error is saying, but I was wondering if anyone knows of any problems between IIS 6 being on a XP server and the VD on a 2000 server and any possible implications.
Is there a way in asp to create a new default web site within IIS I am setting a content managament system and want to create a new default web site during on of the processes. So for example if people create a new site within the admin section and call it Jacinto this will create a new virtual directory called Jacinto.
This would then be accessed at http://localhost/jacinto
I haven't had a close look at the code yet but it's not in asp/vbscript
Has anybody done it in pure asp.I would like to do it on a site hosted by a third party and I am unable to install any dll's or exe's on the machine because it is a shared webserver.Both .NET and Non .NET would be good
I have a virtual directory set up and it's fine. Now what I want to do is write files into them. When I try to do that it gives me a "path not found" error.How can I do this? Is this even possible?
I have heard there is something called a 'virtual browser' which allows me to check asp and html output on the complete range of browsers without having to download each browser and version (side by side).I did a google search and see a variety of links but nothing conclusive. Is there a standard product experienced asp developers are using.can you point me towards it?What are the limitations and challenges in using this product?
My server has POP but only has SMTP if sending to my domain, and not other domains (such as hotmail). I'm therefore wondering, if anyone knows of any scripts etc, that will allow me to have a sort of "virtual" SMTP server on my site?. (I really can't afford to use a third party SMTP mailer).
In php you can have a script like: http://localhost/page/parameter1/parameter2 where page is acually a php script and the script gets the parameters in $PATH_INFO
I need something similar in asp. If possible without modifying any settings on IIS. Here is a tutorial on how to do it in php. http://www.zend.com/zend/spotlight/searchengine.php
I have a website hosted on an ISP server, my code creates folder and places files in it using the FileSyestemObject. The problem is that I have to write the absolute folder/file path in the createFolder method, and I don't know the absolute path on the server, when i use relative path, the folder is placed on the system32 directory as the root folder (That is where the ASP dll is located). So how can I create folders and files on the virtual directory without knowing the physical path.
I have a page that i find hard to maintain, or add new pages to. It is tha navigation bars down the sides of all the pages. At the moment they are all just like, well a normal page, so when i want to add a new page i need to go through ALL of my pages and change them.
I know there is a way, but i dont know how, to make the asp file call another file and basicaly ask for what goes in the side navigation bar. I have seen this done, it would have used framed, but personaly i think they are evil, you can only stick them to the top, side botton etc.... of a page. And i have made my page so that it is in the centre of the browser.
I created virtual directory(IIS) in which i placed images and scripts.I referred this directory from my application(ASP.Net).But during run time this folder is copied to my application root.How can i avoid this.
I used KB 308150 as a guide to create a virtual directory shared by a few webstores that my company hosts. The virtual folder and websites reside on the same box. The shared directory includes code files used by all the webstores.
The problem - when a user adds items to the shopping cart, ***sometimes*** the session variables get reset and all cart information is lost.I can't consistently make the error occur - it seems to be random.Also, if you have any different ideas on how to share code between many websites.
I am trying to build a virtual terminal. Can anyone tell me if there is a way ti can be done using as? I as trying to connect to a Visanet compatle gateway using my asp shopping cart.