Forwarding POST info from a PHP script

From: Date: Tue, 31 Dec 2002 20:07:01 +0000
Subject: Forwarding POST info from a PHP script
Groups: php.windows 
Request: Send a blank email to php-windows+get-17602@lists.php.net to get a copy of this message
I want to be able to retrieve POST variable in one PHP script (which is straight-forward) and then send these from the script to another one returning the processed input. I have written a script that will parse a frames-based page and render it as a flat page (i.e. all frames displayed as a table in one HTML file) - this is so that I can create a website using frames, and still let browsers that don't support frames to access it without my having to create a separate version of the site. e.g.: http://www.redradish.co.uk/rr/index.htm (frames based site) http://www.redradish.co.uk/php/framesprocessor.php?Frameset=http://www.redra dish.net/rr/index.htm&RenderMethod=1&MainFrame=main&AllHead=1 (the same site rendered as single page). The problem is that if in the frames-based site one of the frames is a form submission, I need to be able to send this data to the original form and retrieve the output to display in the rendered page. e.g. http://www.redradish.co.uk/php/framesprocessor.php?Frameset=http://www.redra dish.net/rr/index.htm&TargetName=main&Target=http://www.redradish.net/rr/con tact/contactF.htm&MainFrame=main&RenderMethod=1&LinkSearch=1&AllHead=1&Debug =1 (this is a page that has a contact form). I can't find any information on how to forward such a request. Does anyone have any ideas on this? Thanks. Dave

« previous php.windows (#17602) next »