PeFo Posted July 3, 2007 Share Posted July 3, 2007 Hi I'm a copy-n-paste kind of javascript guy. Is getting close to having each framed document to redirect to top-document if no frameset is loaded. But I would like the GET-message to follow the redirection. Each frame-site got: <SCRIPT type="text/javascript" language="JavaScript"> pageLoc = self.location; pageAdd = top.location; if (pageLoc == pageAdd) { contentSrc = escape(pageLoc); contPage = 'index.php?' + contentSrc; top.location.href = contPage; } </SCRIPT> How do I read/copy whatever after ? in the source-URL and add it to contentSrc? PeFo Link to comment https://forums.phpfreaks.com/topic/58287-forwarded-get/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.