mikeyandyou Posted December 19, 2006 Share Posted December 19, 2006 My website allows a visitor to navigate to another site. At this site, I wish to send the url of this site back to my website so I can parse the html information.How do I accomplish this?Any help is appreciated.Mikey Quote Link to comment Share on other sites More sharing options...
drifter Posted December 19, 2006 Share Posted December 19, 2006 you mean when a visitor is on another site send information back to yours? Do you control this other site? Quote Link to comment Share on other sites More sharing options...
mikeyandyou Posted December 19, 2006 Author Share Posted December 19, 2006 No.This is an independent website. Quote Link to comment Share on other sites More sharing options...
drifter Posted December 19, 2006 Share Posted December 19, 2006 then there is not way to pass information from that site to yours...you may want to look at frames? I believe you can get the remote URL of a framed page. Not positive - I would have to look it up. I know javascript can not interact with a frame on a foreign domain, but I think it can read the URL...then you can know the URL and then parse that page?I am not really sure what you are trying to do. Quote Link to comment Share on other sites More sharing options...
mikeyandyou Posted December 19, 2006 Author Share Posted December 19, 2006 There is php script that asks for an url input.It then goes to that url and sends it backand dispays the page source.http://www.bme.ie/resource/php/phpapp_viewwebpagesource_en.htmGo figure? Quote Link to comment Share on other sites More sharing options...
drifter Posted December 19, 2006 Share Posted December 19, 2006 but the user can not navigate to this other site and have the URL passed back - they have to enter the url Quote Link to comment Share on other sites More sharing options...
mikeyandyou Posted December 19, 2006 Author Share Posted December 19, 2006 Yes, they don't travel there.But again, if they open up a new window from my website,I want that url from the new window passed back to myoriginal web site.I know it can be done.I would think using some form with a $_request['url'] ????All help is appriciated.Mikey Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.