What I would like to do is build a page that displays HTML pages from a sub directory in one long page like an FAQ page.I have code to build a table of contents, I just need to know how to extrac the document tietle from the Meta tag and how to compile the content beloe the table of contents.Could someone point me to an asp routine that compiles FAQ's?
Does anyone have any idea how I can run ASP code and search a database directly from a CD-ROM?I have this small website (HTML & ASP) and it searches a microsoft Access database, and I'd like to be able to have it run directly from a CD-ROM, so the user can view the site without having to install software on their machine.
Example is: http://www.phdcc.com/ -- but it doesn't work as well as I'd like.
I have a client that wants to be able to search both our html and asp pages at the same time.I need to know if this is possible and if so any solutions that I can use.I am working in asp,and access.
I am trying to get a poor mans mod-rewrite done on an IIS server which I do not have full access to.
What I have decided to do is literally copy the interpreted code from the asp page and create an html file with the name that I would like.
Other than manually doing this, is there an ASP or VB command to save the contents of a page after its been run on the client side, and save it as another file?
I'd like to process HTML documents in an ASP script, i.e. to remove any unwanted elements and extract desired element and attributes. I know how to do it on client side within IE using its HTML DOM. But what I'd like is to do it server-side. Is there a way, for instance, to reuse MSIE technology to retrieve interfaces like IHTMLElement, IHTMLDOMAttribute, aso, or just built-in features that would allow me to do the same?
I have a large database of reviews, and the asp processing slows down the server a lot when retrieveing the information. I want an asp application to generate an html page everytime a review is entered into the database so people view static pages.Anyone have a clue on how to do this, i've searched everywhere i cant find the solution.
I have a table having 3 columns. There is a checkbox for each line. I need to get those lines whose checkboxes are checked, and show those lines to another webpage. Is there any way to do that? My concern is that all information in the table are in <tb></tb> pairs without any name tag. Any idea?
I'm planning to design a comprehensive shopping cart in asp that will work on different pre-designed html templates. This means that for each html template, the various asp pages like categories (category.asp), products (products.asp), cart (cart.asp) and so on will have same appearance in terms of page background, top logo, company slogan, top links, copyright & privacy statements at bottom, etc. My question is --
Is it possible to divide the html code of a particular template in two parts, like header (header.asp or header.inc) and footer (footer.asp or footer.inc) so that for any asp page, I just include header first followed by asp scripts and then footer ?
If possible, how it is done ? I heard that it is possible in php pages with the help of 'Require' statement. Can anyone suggest any similar page on the web ?
I have a couple of static HTML pages live, as a sort of family blog. Now I just found out how ASP could work, experimenting with WikiAsp. What I would like to know is whether it is possible to include some DHTML in my static pages for gathering comments on blog entries, which are saved to a database for example on 1asphost. Of course it would also be nice to read out the database again to see the comments to each blog entry in the static pages. Can this all be done using ASP?
I am running an ASP script which I require to get the source html from some URL so I can pick out bits of this and include the data in my webpage. So it should have a function something like this:
Function GetHTMLSource(String URL)
which retuns the source for example as a string or an array of strings
I'm not sure how to tackle getting the html source. I've tried setting up an Internet Explorer object and also using the createDocumentFromUrl function which have worked in VB but I can't get to work in ASP
I am trying to prevent users from submitting HTML pages from their local machine to our website and I was wondering what the best way of doing this was.
I was thinking about using the HTTP_REFERER server variable (to check where the user has submitted a page from) as a blanket fix however when you use the javascript document.location on a page the HTTP_REFERER is always blank, which makes that a flawed fix.
I have seen other sites protect against this, so I know it can be done. Whats the best way.
I am looking for a way to pass an ADO recordset that has been retrieved in an ASP page to another HTML-page. Is there someone who can provide me with a small sample or a link to see how this is done?
I have a ASP Page[inline frame in an html page] that does login to a database.
When the user visits the site, the first attempt to login will always failed and session is broken. Login name and password are correct though.
Only when the user re-try agian he/sge is then able to login to the site successfully. Can anyone tell me what could had caused the first time login failure?
I have a web form page that passes values to an asp page, in which an email is sent to the customer with those values. The email functionality works fine. But I also want to display these values on a separate "thank you" web page after that.
What is the code to make those values display in the "thank you" web page? Does this involve adding code to the asp page and the "thank you" html page as well?
I'm currently writing an asp page . There are many variables inside i want to transfer to another asp pages to use them. They are just normal variables calculated in this page (not variables received with http query ), therefore i dont know how to receive and use them in a new asp page.
Because of �refresh� problem after updating the form. So, I have to put the confirmation message in a seperate page:
1.update.asp page click update - goes to updated.asp (update to the db and sending email) then redirect to updatedconfirmation.asp page (confirmation message)
I would like to carry a few information from update.asp page such as name and their address to the confirmation page depends on their ID, how can we I do that in the updatedconfirmation.asp?
I�ve used hidden fields in the update.asp page. but there is nothing display in the UpdatedConfirmation.asp page Code:
I have FrontPage 2003 on my XP laptop. I need to test some web pages with *.asp codes which worked perfectly well with my old Win95 computer in the past. Of course I had to install Personal Web Server to it in order to do the job.
The help files of FP, gives the clue that it has the facilities to behave like a server and test interactive web pages. But I haven't seen the use of ASP pages with it. I do not wish to install a server on my XP just to test ASP pages.
Using ASP I'd like to modify a string that contains HTML. I need to modify the content (the bit that the users see) but not the stuff in the tags. For example, if I had the following string Code:
I developed the asp page which shows the all transaction records of the particular day in tabular form.But the probelm is that when i take print preview of the page directly from broswer ,print result takes more than one page so i want to reprint report header and then rest of records
I'm using VBScript to display a list of the ten most recently updated pages on my web site. Right now, the script lists the filenames and the date modified in a given directory.
What I want to know is if there is any way to extract the page title and display that instead of the file name? Can I use .asp and VBscript to "delve" into the file and extract the title? Code:
I have a html form, and I like to know how to capture the values in the form after the user hit the submit button. How do I capture these values in an ASP page?
I have developed a HTML page containing form and table having some fields, Now What I want is that when I Click on Submit Button then all of the Form Fields should be email to a particular email address just like as they r on the form. So my problem is that i have created an ASP page containing code about to pick data form form fields n send it to email address i mentioned, But i dun know how to request an ASP page in a html page, Iam using
Just after the table creation but it doens;t work because when i click on submit it ask me to save or open MailForm.asp. So is there anyone who can explain me how to run this file directly with in html page or how to use asp code in html page.
I have a HTML page named Index.html which is divided into 3 frames. The URL of 2 of the frames are HTML pages but the 3rd frame houses a ASP page.
Now when I go to Windows Explorer, navigate to the folder in which the all the 4 files (3 HTML + 1 ASP) reside & select Index.html (by clicking with the mouse or by using the arrow keys on the keyboard), strangely the Windows "File Download" dialog box (with 'Open', 'Save', 'Cancel', 'More Info' buttons) pops-up with the message Code:
Is this affective way using HTML Templates in ASP:
I have html template file with <<TAG1>> .. <<TAGN>> in places, where I want to insert some data then i generate this data in asp:
Dim d ' Create a variable. Set d = CreateObject("Scripting.Dictionary") d.Add "TAG1", "Athens" ' Add some keys and items. d.Add "TAG2", "Belgrade" d.Add "TAG3", "Cairo"
, open html template, replace each <<TAGx>> with generated data (d.Item("TAGx") ), and print it with Response.Write
Or there is any other usual methods to use templates?