Sorry about the split links in the previous post. The script in question is located at: http://www.redradish.co.uk/php/framesprocessor.php
It uses these variables: $Frameset frameset page. This needs to be parsed and a static HTML page created. $Target (optional) full URL of page to be displayed in frmae named $TargetName. $TargetName (optional) name of the frame that $Target should appear in. $MainFrame (optional) is the frame from which header info, etc. is taken. Default is first frame. $AllHead (optional) If set (is 1 or more), copies <HEAD> content from all frames. $RenderMethod (optional) defines how the frameset is to be represented: 1 - All frames dumped into new page in order they appear in frameset. 2 - tables are used to attempt to recreate original format Default is 1. $LinkSearch (optional) how links are replaced: 1 - Only specific tags are replaced 2 - Anything within quotes (' or ") that contains document path is replaced Default is 1. $Debug If set (greater than 0), debug info is added in comments. It works to a good degree on most frames-based sites, but does have a couple of failings (such as the one mentioned) that I would like to overcome. The other problem is handling JavaScript in e.g. <frame src="JavaScript:openpage(xx)">. There is no way to process JavaScript in PHP that I am aware of - does anyone have a workaround for this? i.e. so that my script can process the JavaScript function and retrieve the relevant page for inclusion in the rendered page. Thanks again. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php