logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Coding & Scripting Corner View previous topic :: View next topic
Reply to topic   Topic: display the page link ???
Author
Ang3lus



Joined: 02 Aug 2010
Posts: 18

PostPosted: Sat 11 Sep '10 13:18    Post subject: display the page link ??? Reply with quote

Hi

I want to create html page to display the site link inside page
for example
if i type www.apachelounge.com/page.html in the browser it should display the link www.apachelounge.com/page.html inside the page

i can done this use cgi variable : <a href="<!--#echo var="SCRIPT_URI" -->?<!--#echo var="REMOTE_PORT" -->"><!--#echo var="SCRIPT_URI" -->?<!--#echo var="REMOTE_PORT" --></a>

but my question there is any possible way to done this in html page without use cgi variable
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Wed 15 Sep '10 22:14    Post subject: Reply with quote

javascript. With it you can read the query from the URL
Back to top


Reply to topic   Topic: display the page link ??? View previous topic :: View next topic
Post new topic   Forum Index -> Coding & Scripting Corner