Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 07-02-2005, 06:03 PM Capture URL
fancymoustache's Avatar
Ultra Talker

Posts: 316
Location: Michigan
Trades: 0
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..
fancymoustache is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-02-2005, 06:55 PM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
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?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-02-2005, 07:10 PM
fancymoustache's Avatar
Ultra Talker

Posts: 316
Location: Michigan
Trades: 0
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.

Thanks,
Micah
fancymoustache is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Capture URL
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12154 seconds with 12 queries