logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



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

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



display the page link ???

 
Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner



View previous topic :: View next topic  
Author Message
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: 6255
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


Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner
Page 1 of 1