Posting variables from one php script to another
| From: | Graham Anderson | Date: | Fri, 23 Sep 2005 00:25:46 +0000 |
| Subject: | Posting variables from one php script to another | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-223040@lists.php.net to get a copy of this message | ||
I am using GET to send variables from one php script to another php script
How would I POST the same variables ?
This is the php script I am sending GET variables to...
$movieBuilder = "./movieBuilder.php?mask=mask.gif&drag=drag.gif&movie=fonovisa.mov";
I am placing $movieBuilder in the "src = " attribute
Is it possible to POST these same variables to movieBuilder.php ?
The below generates a Quicktime movie:
$xml = <<<EOB
<?xml version="1.0"?>
<?quicktime type="application/x-quicktime-media-link"?>
<embed
autoplay="$autoplay"
cache="$cache"
kioskmode="$kioskmode"
quitwhendone="$quitwhendone"
movieid="$movieid"
moviename="$moviename"
src="$movieBuilder"/>
EOB;
many thanks