Guest So Called Posted July 3, 2012 Share Posted July 3, 2012 Another experiment: http://validator.w3..../wiki/Main_Page Okay in this case I've used an actual URL instead of the word "referer" so it validated the page I sent it to. Funny, Wikipedia has 6 errors on their main page! So Westman, do you understand what's happening now? Link to comment Share on other sites More sharing options...
westman Posted July 3, 2012 Author Share Posted July 3, 2012 ok thank you ;)last 1, can i use it like this?<?php$new_url = $_SERVER['HTTP_REFERER'];?>to get it in a $? Link to comment Share on other sites More sharing options...
westman Posted July 3, 2012 Author Share Posted July 3, 2012 i do i understand thank you but what about...<?php$new_url = $_SERVER['HTTP_REFERER'];?>to get it in a $? Link to comment Share on other sites More sharing options...
Guest So Called Posted July 3, 2012 Share Posted July 3, 2012 i do i understand thank you but what about...<?php$new_url = $_SERVER['HTTP_REFERER'];?>to get it in a $? You can use that in your own script to capture the URL of a site that linked to you. For example, if you paste a link to your site here in this topic that points to the script with the code you showed, you will get $new_url = "w3schools.invisionzone.com/index.php?showtopic... etc etc." Link to comment Share on other sites More sharing options...
justsomeguy Posted July 3, 2012 Share Posted July 3, 2012 What the ######, am I speaking Swahili here? I answered your question in post 2. i do i understand thank you but what about...<?php$new_url = $_SERVER['HTTP_REFERER'];?> to get it in a $?Did you bother to test that? What happens when you print $new_url? Link to comment Share on other sites More sharing options...
Guest So Called Posted July 3, 2012 Share Posted July 3, 2012 What the ######, am I speaking Swahili here? I answered your question in post 2.I think it's an "English as a second language" problem. The OP just needed some extra help. It took me about 7-8 posts just to figure out what the question was, since I didn't understand why post #2 wasn't the answer. Apparently it was. Link to comment Share on other sites More sharing options...
justsomeguy Posted July 3, 2012 Share Posted July 3, 2012 Apparently it's our fault. ppl you are missing the piont. Link to comment Share on other sites More sharing options...
Guest So Called Posted July 3, 2012 Share Posted July 3, 2012 Well it's not the OP's fault that you can't read minds! Link to comment Share on other sites More sharing options...
westman Posted July 4, 2012 Author Share Posted July 4, 2012 please do not bicker.cant we all be friend here thank you all for taking your time to awnser my Q. thank you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now