Re: Relaying variables to distant site

From: Date: Thu, 14 Nov 2002 23:44:12 +0000
Subject: Re: Relaying variables to distant site
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-124533@lists.php.net to get a copy of this message
Pulling this idea from down south, but could you do serialize($_GLOBALS) and then POST that to the distant site and unserialize it? what are you trying to accomplish exactly? A Proxy? -js Mike MacDonald wrote: > Hi People! > Can anyone help with this: > > > Want to pick up variables passed from form in > PHP page and pass to distant site. Can use > long get, but would like to access ALL variables > in the PHP page and pass them forward, without > coding each individual one if possible > > > Port 80 Port 3000 > > +-WebForm-----+ +-PHP Page----+ +-DistantSite-+ > | | | | | | > | | | | | | > |Form Variables-------> | | | > | | | | | | > | | | readfile() ---------> | > | | | | ^ | | > | | | | | | | > | | | | | | | > | | | | | | | > | +--- | +--- | | +--- > | | / | | / | | | / > | |/ | |/ | | |/ > +----------- +----------- | +----------- > | > | > ------------ > > Need to on forward all > variables passed from > form >

« previous php.general (#124533) next »