Well... like my title says, is there anyway, using php or javascript or something, to capture the URL of a page and set it as a variable, dynamically? I want to use this for users to be able to click a validation link, directed to http://validator.w3.org/check?uri=mysite/Xpage.ext;verbose=1, and see that my page is valid. What I want to avoid is manually putting the link on there.
Thanks,
Micah
Last edited by fancymoustache; 07-02-2005 at 06:07 PM..
Taken from the valid html results page at w3.org. In the instructions on how to add the icon and link to the validator.
HTML Code:
<p><a href="http://validator.w3.org/check?uri=referer"><img
src="http://www.w3.org/Icons/valid-html401"
alt="Valid HTML 4.01!" height="31" width="88"></a></p>
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
Well what do you know... that does work. Now I feel kind of dumb. I thought "referer" part of that was something i was supposed to replace. Oh well. Live and learn.