Force Full URL
Just curious: is there a bit of ASP code you can place in the top of a document that will force all root relative image and file paths in the HTML of this doc to expand to include the full URL?
I doubt it, but before I did it manually, I thought I'd ask. We use a template of sorts, but need one document to use the full URL, and it would better to just have it that way in the one document and not the entire template.
View Replies
ADVERTISEMENT
I need to get the full URL of the current page in ASP. When using Request.ServerVariables("URL") anything after the filename (such as a #section1 to jump to an area on the page or data submitted from a form using the GET method) is automatically removed. I do not know of any keys for the Request.ServerVariables collection that do this, but cannot find any other objects/properties that would be appropriate.
View Replies
View Related
I have a query that displays values from a db.
The problem is that the value displays like this:
R 6.5
instead of like this:
R 6.50
How would I get it to show the full value?
View Replies
View Related
I'm using Windows Integrated Authentication on my company intranet ASP web
site (IIS6 W2K3).
I would like to know how could I get the full Active Directory domain name
from the Logon_User variable.
I always get the netbios name of the domain, but I need the full domain name
to be able to distinguish users (because actually there is two companies on
the intranet having their AD forest linked, but also having some subdomains
with identical netbios name !).
I mean, for instance for a user login "theuser" coming from the domain is
"thedomain.thecompany.com", I need to get in Logon_User environement variable
the following content: "thedomain.thecompany.com heuser"
At the moment I only get "thedomain heuser", excepted if I switch to basic
authentication, that I don't want.
View Replies
View Related
I am not sure that asp is a right place for that question, so gurus will move it to proper section. But as soon as I display images using aspupload the solution probably will be also in asp. I do not have problem to show them on asp page, so it is not a problem of aspupload. Its just a general asp question:
Do you know any techniques how to display full screen images without using popup window?
I would like image to take all the full screen without any browser menues or explorer menu bars. Something like you see when screensaver turn on.
View Replies
View Related
i have a string and i would like to run through this string to find a "."(fullstop), and once found put a break in so that i could continue the rest of the string on the next line.
View Replies
View Related
if there is a way to do a text search through pdf documents?
If there is, can someone show me how, or at least point me in the direction of a good tutorial?
View Replies
View Related
I have a price field in a cms,it can deal with full stops fine, but i cant understand why it wont accept commas.
View Replies
View Related
I have a text file that is called up in an ASP page. The text file is the content of a table that is built into the ASP page. My question is if the text file does not have anything in it or is equal to a certain value like "No Updates Available" how can I tell the ASP page not to display the table at all?
I figure it will be using some form of FileSystemObject. I just don't know how to do it.
View Replies
View Related
I have developed a website with ASP.NET Jscript. Im fairly new to development so i used DreamweaverMX and Webmatrix which was very useful. Now I want to enhance it further by adding a search facility into my website and thus providing users to actually find contents within my webpages and display the same.
View Replies
View Related
i want to know how to use the MySQL full-text search feature using ASP.
Also, how do i index my web pages using MySQL full-text search.
View Replies
View Related
I have an Access database driven website using ASP in IIS 6. On my website, I have a discussion forum, I wonder how can I add a full text indexing feature into my forum. So for example, when someone wants to search the word "fish" in the forum. All threads that contains the word "fish" should popup as the search result.
View Replies
View Related
help me with a simple asp code snippet, since I have no idea how to implement it (in asp anyway...) I wish my script to print the full path from which it is running on the server. How can I do this ?
View Replies
View Related
I have just got a datafeed and i'm trying to put it in an actinic website for a customer. I match every record eccept price feed Actinic says imported fields must not contain any decimal points i.e £1000.00 should be 100000 how do i do this in excel ? I can't see anyway of formatting it to match the requirements.
View Replies
View Related
i need to know that when i make some asp pages in .NET then i arrange all the contents such that it would capture all the space in the browser window. but it leaves some
space emty when i run this page in Internet Explorer. please any when let me know that hw can i slove it?
View Replies
View Related
I'm trying to figure out if this is possible before i have someone start scanning a bunch of images.
If i scan a bunch of images and give them specific names can i then look at that dir and read the name of the file and write a link in a field of a table?
example
FOLDER CONTENTS
123254.jpg
125684.jpg
168468.jpg
TABLE record example
epn =123254
name = Bob
Picture = 123254.jpg
i want the name of the file to be written if there's one in the folder for that epn.
View Replies
View Related
I need to show two pictures in a table with two TDs
The pictures R dynamic and I don't want to enlarge the table...
How can I load the picture with IMG tag so that it's width will remain smaller than 150 pixels (or set it to 150 pixels if it's longer than 150...)
Must I check the picture file width or is there a faster workaround ?
View Replies
View Related
My main page shows a table to which a user can add data to by clicking on a button, this in turn loads up a pop up window where the data to be entered is typed. Once the data is submitted the popup window is closed via Close button, but the table on the main IE page only shows the updated information if the refresh button is clicked.
All i want to know is, is there a way of forcing refresh of the main page when the close button in the popup window is clicked. Code used for the close button:
<TD><a href="javascript:self.close()" title="Close"><IMG align="center" src="http://localhost/***/close.gif" alt="Close Window"></a></TD>
View Replies
View Related
I need to find a way to force all the asp code on a web page to load
regardless if the user hits the reload or stop button on the browser.
I am seeing where more and more users are doing this and it is causing
me some problems on some pages. I would guess there is a way to do
this I am just searching for the wrong thing?
View Replies
View Related
I got my excel doc to export but it has a white background, can i export it with with out the background and show the grid like a normal file
View Replies
View Related
how would i for a browser to download a file (specifically mpgs) i can get it to go for small 4mb files, but the larger ones if they do go, take bout 15 mins to even begin the download.
View Replies
View Related
I'm trying to create mp3 downloader and force download instead open in explorer. it's ok if the song is at my server but what if songs are at another server. I try to split full path to file path and file name but doesn't work. Script don't work if is song at my server and path to song start with http://www...
View Replies
View Related
Every time my page loads in IE6 the navigation reloads. How do I stop this happening? It works fine in FireFox.
I do have <% response.expires = -1 %> at the top of my page. Would this affect the navigation graphics as well?Can I force a user's browser to cache the nav?
View Replies
View Related
Is there a way to force a file to be saved instead of using the "default action". In my situation, I've got a series of MP3 files that are being used by my chorus as a learning tool for learning the current music quickly. I have instructions on the site telling them to save the files to their hard drives and to play them from there.
However, people are just clicking on the links and their default MP3 players are trying to play the files. Now, I have compressed the files pretty hard because some were griping about the filesizes, so if they are played right off the link, the quality is a bit choppy. If they save it to their hard drive and play it there, it sounds fine.
View Replies
View Related
Is there an easy way to force ASP to display integers less than 10 thus: 01, 02, 03 etc
There must be an easier way than doing an If < 10 calculation etc. and adding a prevailing '0' - mustn't there
View Replies
View Related
I'm trying to force a file download using ASP but not getting very far... I want the browser to send .pdf files to the user rather than trying to open them within IE (or wotever browser). Does anyone know what code I should use for this?
View Replies
View Related
Is there a way I can force a Save As dialog? I have a page with a bunch of files listed for download. Unfortunately, these files attempt to open directly in the browser. I need a way to force a Save As.
View Replies
View Related
How to force a file download
Is it possible to use ASP to create something like, the following webpage, where you click on the download Mozilla now and up pops the downloader.
http://www.download.com/Mozilla-Fire...eatured.editor
I need to make it so that I can download a .WMV video file. because giving users the direct link doesn't work and I think its alot better than asking them to right click and save item as..
View Replies
View Related
The below code forces a prompt to the user to open or save the .pdf file file to their local machine. It seems to work great except I have one user who can not open any .pdfs using this prompting method. He gets an error that says "File could not be found". However, if we choose the 'save' option instead, we can save the file to his local machine. He can open .pdf files from normal links to .pdf files. It's just this prompting method that is causing a problem. So, I'm perplexed.
I did some digging and found that there is also an FSO (File System Object) method (which may or may not solve my problem), but I'm not sure how to impliment the FSO or if that will even help me with this.
View Replies
View Related
How do i force a user to download from a hyperlink as adobe pdf file, it loads up in a new window and I need them to download it, or at least give them the choice to download it.
View Replies
View Related
We have a web application that prompts the user to accept an ActiveX control (in this case, a report creation control) and then continues. If the first time the user gets this prompt, they accidentally decline to accept, they have no way to force it to load later. Any suggestions on how we can force this prompts again?
View Replies
View Related
I have a server that hosts a few intranet sites. The one that all my coworkers have their Home Page set for causes their browser to authenticate, which is all good.
The one i'm working on now requires Anonymous Access in order to work, but the authentication from the first one is carrying over to the other. Can I use WWW-Authenticate to force anonymous access isntead of using it to force NTLM, Basic, etc?
View Replies
View Related
is there a function in ASP that can force a database result to automatically wrap at say.. 25 characters in length? Reason for this is because I have a database and people could go in and put a message like
"MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM"
and when it is displayed on the site it will make the layout all messed up.
View Replies
View Related