RE: [PHP] NOT a PHP question..(JavaScript)

From: Date: Mon, 05 Nov 2001 22:27:05 +0000
Subject: RE: [PHP] NOT a PHP question..(JavaScript)
Groups: php.general 
Request: Send a blank email to php-general+get-73518@lists.php.net to get a copy of this message
Doesn't look like anyone's answered this so.... As I understand it, if you're trying to access a "tainted" method or attribute, then you'll need to get your script signed, then it should all work... -----Original Message----- From: Jean-Arthur Silve [mailto:jeanarthur@eurovox.fr] Sent: Tuesday, November 06, 2001 2:04 AM To: php-general@lists.php.net Subject: [PHP] NOT a PHP question..(JavaScript) Hi ! Sorry, I know that is a PHP mailing list (and I use and Love PHP !) but I have a little problem in Javascript (I definitively don't like js !) and after hour of search I keep searching an answer : I have 2 frames (A and B) The URL of the content of the A frame is http://www.domain-A.com/page.html The URL of the content of the B frame is http://www.domain-B.com/page.html I want a JS script in the B frame can access to the property document.URL (or location) of the A frame... Problem is that if you try to access from the B frame to parent.frameA.document.location you have a Security Error : JS doesn't allow a script from a domain to access to this property of another script if it is not on the same domain... Is there a way for the script in the A frame to allow access to its document.location property to another script on another domain ?? Sorry for my english, not very clear ! Thank you ! ---------------------------------------------------------------- EuroVox 4, place Félix Eboue 75583 Paris Cedex 12 Tel : 01 44 67 05 05 Fax : 01 44 67 05 19 Web : http://www.eurovox.fr ---------------------------------------------------------------- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#73518) next »