Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ad to url with form? 1

Status
Not open for further replies.

toias

IS-IT--Management
Sep 4, 2002
19
SE
Is it posible to ad a subfolder to the url with data from a form field?

getURL ("subfolder+default.html

can you get the subfolder namn by typing it in to a form field and sending it with getURL, adding it to a base URL and automaticly adding the filename default.html


Gratefull for any help
T
 
This works:
Code:
subfolder = "/flashtesting";
my_html = "/temp2.htm";
url = "[URL unfurl="true"]http://odin.prohosting.com/~oldnew"+subfolder+my_html;[/URL]
// No line feed in the above line!

getURL(url, "_blank");

But so does this:
Code:
subfolder = "/flashtesting";
my_html = "/temp2.htm";
url = "[URL unfurl="true"]http://odin.prohosting.com/~oldnew";[/URL]

getURL(url+subfolder+my_html, "_blank");

Use "_self", rather than "_blank", if you want to open the link in the same browser window.
Regards,

oldman3.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top