[PHP] select tag doesn't update post or get

2006-08-08 Thread Roel Dillen
I have a xhtml form with a  with options

if I click submit the processing page is loaded and the result of the form is
shown.
The option given to the processing page however is always the same: the first
in the list. It doesn't matter what I select in the drop down menu, the value
of $_POST['nameOfSelectTag'] (or get for that matter) never differs from the
first value in the drop down list. I don't use a default selected value
because the  tag values are dependent on the contents of a certain
table in my database.

The weird thing is that in get mode the field nameOfSelectTag does take the
right value in the adress bar but that doesn't get translated into the correct
value in $_GET so i am thinking the same happens in $_POST.

Ideas anyone

Roel

--
Scarlet Club: Iedereen wint! Indien u nu klant wordt van Scarlet via een 
bestaande Scarlet klant kunnen jullie beide cadeaucheques ontvangen ter waarde 
van 50 euro! Bezoek snel http://www.scarletclub.be

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



[PHP] starting shell script on server: defer acces when running

2006-06-06 Thread Roel Dillen
I have a shell script I want to run which generates an html page after it
runs some tests on the software I am writing.

I call the script with exec(…);

The tests take more than 2 minutes to complete.

If I try to run more than one test at the same time: trouble.

 

I want to solve this by checking somehow whether the tests are running.

If so, then the php code just waits until the running test are complete,
referring the second user to the same results page as the first.

 

Ideas anyone?

 


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.8.2/356 - Release Date: 5/06/2006