Chris is right on both counts. :-)
and this is exactly how i do it in my file upload progress bar.

best regards
raditha


Chris Shiflett 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.

Please keep in mind that this is a PHP list...

Chris

=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/





--
http://www.raditha.com/php/progress.php
A progress bar for PHP file uploads.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to