On Tuesday, September 02, 2003, at 05:12PM, Chris Shiflett <[EMAIL PROTECTED]> wrote:
>--- John Bryan <[EMAIL PROTECTED]> wrote: >> So looks like I can't have it both ways, i.e. POST and GET > >Yes, you can. > ><form action="/blah.php?foo=1" method="post"> ><input type="hidden" name="bar" value="2"> ><input type="submit"> > >The script blah.php can reference $_GET['foo'] and $_POST['bar']. The values of >these variables will be 1 and 2, respectively. > Thanks, Chris. That's pretty cool. I wish I had time to rewrite this dang cpp prog in php or something that better lends itself to these things. >Please keep in mind that this is a PHP list... > Will do. Was/am thinking I could use php to set 'session' variable(s) that would also be visible to an existing cpp prog currently invoked from a form. j b -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php