Problem: Remove Domain When Creating Link

I've created an address book, and each user's record has a few fields that hold their website URLs. Each time I query the database for a record, I save the URLs as string variables... website1, website2, and website3. In the webpage to view each member's profile, I code their websites like so:

<a href='<% =website1 %>' target=_blank><% =website1 %></a>

The problem is that the domain where I host the page gets appended to the front of the string. So if a user enters something like me.blogspot.com as their webpage, it actually links to "http://www.mydomain.com/myrootfolder/me.blogspot.com/" when it's supposed to just link to "http://me.blogspot.com"

Is there a sure-fire way to solve this problem?

View Replies


ADVERTISEMENT

Remove The Page.asp After The Link

How can I remove the page.asp link from the address bar? For example I have a link called www.mysite.com/page.asp?f=1, after the user clicks on the menu navigation. How can I get rid of page.asp?f=1 so that only www.mysite.com appears? Another thing, will request.querystring still work then?

View Replies View Related

Creating 'vanity' Domain Names On The Fly

I'm working on something similar to blogger.com. Users sign up and they get
their own webpage, with a domain name of 'username.blogger.com'.

Since blogger.com is doing it on the fly (as you sign up), I'm sure
they are doing it programmatically. Anyone has any clue on how they do
that?

View Replies View Related

Creating A Link For The URL That Is Inside Record Set

How can i make the URL to be a link that is in record set (coming from the database)? Along with URL this field might alo contain some text message.

View Replies View Related

Redirect All Pages From Domain B To A Maintenance Page On Domain A

We have two sites hosted on different servers and we have many pages on
domain A which has many links(asp programs) to domain B.

My question is if domain B server is in trouble, what is the best way to
have all domain pages redirect to domain A? Right now I just have redirect
code in each program on domain B to redirect to a maintenance page on domain
A.

Can I just write on program to solve this issue?

View Replies View Related

Domain Name

I'm trying to get the all the information from a URL but after the domain name eg.

Quote:
http://www.domain.com/search.asp?id=123abc

I want to get the information that is in bold

View Replies View Related

Need To Remove DAY Name

I found a simple date script, which is this:

<%
var_date=date() 'get the current date
var_date=FormatDateTime(var_date,1)
Response.Write(var_date)

Wednesday, September 29, 2004

How can I get this to not display the day of the week, I only want - September 29, 2004

View Replies View Related

Remove DAY Name

I found a simple date script, which is this:

<%
var_date=date() 'get the current date
var_date=FormatDateTime(var_date,1)
Response.Write(var_date)
%>

Wednesday, September 29, 2004

How can I get this to not display the day of the week, I only want - September 29, 2004.

View Replies View Related

Remove Dot

i have a variable which holds a value like this

stramount=Trim(Request.form("txtamount"))

response.write stramount

the output sometimes is

50.00 or
50 or
50.

if it is 50.
i want to remove the (dot) at the end. can someone tell me how to use the instr function to see if there is a dot at end and if it is there then remove it.

View Replies View Related

Remove The Gap

i have problem in removing the gap between two images, pls see the attached image. coz my item name is quite long, i dun wnat it display in horizontal, i want it display as vertical. so i create the images for the character and use ascii to recognized it.

my code is as below:

<td align="left" class="BorderLeft" width="1%">
<%dim word, pic, word1
word = "AAAAABABABBA"
pic = ""
for i = 0 to len(word)-1
word1 = cstr(right(left(word,len(word)-i),1))
pic = asc(word1) & ".gif"%>
<img src="../images/<%=pic%>" border=1 vspace=0 hspace=0>
<%next%>

</td>

View Replies View Related

Domain Redirect

How do I do this? When someone comes to www.mywebsite.com/12345 it
redirects them to www.mywebsite.com/details.asp?id=12345

View Replies View Related

Changing Domain

I'm having a domain change foisted upon me and the test I did resulted
in every last ASP and
ASP.Net script stopping cold. Nothing but plain old html worked.
Is there a FAQ or some other document available that outlines what has
to be done when the
IIS server machine is disconnected from one domain controller and
reconnected to a totally different one? If not, does anyone here know
what would have to be changed to make the ASP code play nice in the new
domain?A relevant bit of info, they're also changing the name of the
administrator account. I don't know if that would contribute to the
death of ASP* on the system, but it might.

View Replies View Related

ASp Domain Search

I need Asp Domain Search .. like Whois.. or any type .. asp,asp.net or PHP .. no matter of language .. but i need complete domain Search ..

View Replies View Related

Cross Domain

I have a swf file in one domain and an ASP file in another domain; the swf doesn't not receive the variables form the ASP, how can solve the problem with crossdomain policy?

View Replies View Related

NT Domain Account

Using classic ASP I want to check if a username and password are correct
before passing the details on to an object (stocktake module) that uses
them to authenticate the object. The object defaults to a preset user if
the authentication fails and doesn't warn the user, so I wanted to do
the check manually before passing it to the object.

View Replies View Related

Domain Controller

Can anyone tell me how to get ASP to work on a Server 2003 domain controller?I keep getting 10004 errors in the system log.I've tried resynching passwords etc.

View Replies View Related

Email To Same Domain

I have made a mail script to executed whilst on domain (say mydomain.com). It can email fine to any address except those that end in '@mydomain.com'.Anyone know why?I'm sending it from 'info@mydomain.com' to 'info@mydomain.com'.

View Replies View Related

Domain Name Checker

I want to build a domein name checker using ASP & Vbscript but I don't have a clue how to start or what I need to do precisely.

An example of the checker can be found at. http://www.denit.net/ it's called an domeinnaam check an can be found at the middel of the right side of the page.

View Replies View Related

Domain Option

Are there any articles / resources out there about the point of setting the domain when you set cookies? I have been able to find nothing and fail to see the point in setting a domain. As cookies can only be accessed by the domain that set them, what is the point in setting a domain? if the domain is set for say .example.com, can all subdomains read it?

View Replies View Related

Changing Domain

I have domain name, eg www.abc.com. Use the Dynamic DNS web site to register. How the IP of www.abc.com. can be shown once I click The Domain Name,e.g.click http://www.abc.com.

Then show http://123.123.123.123

Is it the ASP program can help me? or any other solution.

View Replies View Related

Domain Checker

im looking for domain checker code for australian.com.au domain name. any one have the coding?

View Replies View Related

Pull Domain Out

http://www.google.com/search?biw=868&hl=en&q=http%3A%2F%2Fwww.dimplesanddandelions.com%2Ftest.asp&btnG=Google+Search

I get this result by using: Request.ServerVariables("HTTP_REFERER")

I'd like to pull the www.google.com out of it and save it as a session variable for conversion tracking. Is there an easy way do that using ASP?

View Replies View Related

IP Address From A Domain Name

I want to resolve domain names to an IP address. e.g. turn google.com into 64.233.167.99.
I cannot install components on the server hosting the web page so I need a way that either doesn't need to use a component or uses standard components found on all windows servers.

View Replies View Related

App-Domain Could Not Be Created

After restart some time is everithing ok. After some hours - some days, problem start. Only in pool, where dll VB6 is used, aspx pages (asp ok) does not work.

Event:
Failed to execute request because the App-Domain could not be created.
Error: 0x8007000e Not enough storage is available to complete this operation.

Source: ASP.NET 2.0.50727.0
Event ID: 1088

OS: Windows 2003 Server SP1

HW: dual Xeon, 4GB RAM, Server is not Domain server. dll VB6 is used in pool where aspx pages does not work, in other pools aspx pages work.

View Replies View Related

Change Domain To IP

I have domain name , eg www.abc.com. Use the Dynamic DNS web site to register.

If will show the IP of www.abc.com once I click The Domain Name. e.g. click http://www.abc.com.

Then show http://123.123.123.123

If the ASP program can help me? or any other solution.

View Replies View Related

How Can I Extract A Domain ?

How do you fetch just the domain name part of a variable in a script?
The variable can be
http://www.domain.com/blahblah/whatever/page.htm
or
http://sub.domain.com/blahblah/whatever/page.htm

What I need is to extract just the "domain.com"

View Replies View Related

Domain Name Error

when I hit my http://<domain name> site,I am getting this error msg: I have also installed my SSL cert on the IIS 5.0

********************************
The page must be viewed over a secure channel

Please try the following:

Try again by typing https:// at the beginning of the address you are attempting to reach.

HTTP 403.4 - Forbidden: SSL required nternet Information Services
**********************************

View Replies View Related

How To Remove Cookie?

How can I remove a cookie from the client in ASP? I'm not talking about setting the value to a blank string and I've tried this:

[vbs]
Response.Cookies("mycookie").Expires = Now()
[/vbs]
and
[vbs]
Response.Cookies("mycookie").Expires = Date() - 100
[/vbs]

Neither of which work.

Is there any way to completley remove the cookie?

View Replies View Related

Remove Header

can anyone temme the script or style sheet to remove the hearder and footer url address of the web page when printing the pag

View Replies View Related

How To Remove Duplicates

How to write asp code to remove duplicates in an array.

For Eg: A()=(1,5,10,15,10,20,5)

After removal of duplicates it should be

A()=(1,5,10,15,20).

View Replies View Related

Add Remove Button

The main idea goes like this: I have a textarea, on the right I have a listbox whose elements are loaded from an Oracle Database, I want to have an "Add" Button which when pushed will insert in the textarea the value selected on the listbox between "{ }" (ej, The {white} cat), you can add as many values as you wish and also manually edit the text, and a Submit button which open another ASP page that will check the sintax of the textarea and insert it on the Database.
So far I already have the part which checks the sintax and inserts it on the db, and the listbox with the elements you can insert on the textarea, but my boss really wants the "Add-Remove" feature and I need to finish this for Tuesday

View Replies View Related

Remove Underline

I have image icons that are clickable. I want to remove the hyperlink from around the image.
I tried the STYLE="TEXT-DECORATION: NONE" tag but thats not working. How should I remove the underline from the hypelink.
Code:


strImage = "<A target=""_blank"" href=""document.asp?job="
strImage = strImage & jobid & "&doc=" & filename & """ STYLE="TEXT-DECORATION:NONE">"
strImage = strImage & "<IMG SRC='" & GenerateIcon(rs("filename")) & "'/></A>"

View Replies View Related

Remove Left Of ,

Would search for this but forgot what its called? I wanna remove everything from the left of the camma in a variable:

43,7-3-05

to 7-3-05

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved