| | Some webpage with frames that each can be assigned to link to an url path, i.e. http://a.domain/test.php. When webpage A is requested by a browser, another webpage B containied in the frame of webpage A will be queried too. As we know, a phpinfo() can tell us the information about the url of the webpage we get or post. When a webpage "B" is requested by the get or the post from a frame, can webpage B know the url where the webpage A locates? I hope to know that because I wich webpage B can only be used in the frame of webpage A. If anyone request it directly, the webpage B return a something else. For example, if someone save webpage A in his harddisk, the url of the saved page will not be the original one where the webpage A is. Thus webpage B won't be shown correctly in the frame of the saved webpage. Can anyone tell me whether webpage B can know the url of webpage A? And how? Or is there any other way to reach the same objective? |


