ok. to anser my own questions. oi. type=image name=done then the var will not be $done but $done_x and $done_y -- Chris Lee [EMAIL PROTECTED] ""Chris Lee"" <[EMAIL PROTECTED]> wrote in message 9ehgvu$s2b$[EMAIL PROTECTED]">news:9ehgvu$s2b$[EMAIL PROTECTED]... > <?php > echo " > $done1<br> > $done2<br> > > <form action='$PHP_SELF' method='post'> > <input type='submit' name='done1' value='done1'> > <input type='image' src='image/done.gif' name='done2' value='done2'> > </form> > "; > ?> > > ok, type='submit' works like it should, the headers > > Packet ID (from_IP.port-to_IP.port): 208.181.210.98.3830-209.52.174.206.80 > E . . . . . @ . . . ' . . . . b . 4 . . . . . P G . z . F . . k P . C P I % > . . P O S T / t e s t 2 . p h p H T T P / 1 . 1 . . U s e r - A g e n t > : M o z i l l a / 4 . 0 ( c o m p a t i b l e ; M S I E 5 . 0 ; W > i n d o w s 2 0 0 0 ) O p e r a 5 . 1 1 [ e n ] . . H o s t : m > e d i a w a v e o n l i n e . c o m . . A c c e p t : t e x t / h t m l , > i m a g e / p n g , i m a g e / j p e g , i m a g e / g i f , i m a > g e / x - x b i t m a p , * / * . . A c c e p t - L a n g u a g e : e n > . . A c c e p t - E n c o d i n g : d e f l a t e , g z i p , x - g z > i p , i d e n t i t y , * ; q = 0 . . R e f e r e r : h t t p : / / m > e d i a w a v e o n l i n e . c o m / t e s t 2 . p h p . . C o n n e c t i > o n : K e e p - A l i v e , T E . . T E : d e f l a t e , g z i p , > c h u n k e d , i d e n t i t y , t r a i l e r s . . C o n t e n t - > t y p e : a p p l i c a t i o n / x - w w w - f o r m - u r l e n c o d e > d . . C o n t e n t - l e n g t h : 1 8 . . . . d o n e 1 = d o n e d o n > e d o n e > > are sent correct. and the var $done1 is set with the correct value. > > but type='image' does not work, the headers are correct though > > Packet ID (from_IP.port-to_IP.port): 208.181.210.98.3831-209.52.174.206.80 > E . . . . . @ . . . ' . . . . b . 4 . . . . . P G . . P G } . . P . C P 9 . > . . P O S T / t e s t 2 . p h p H T T P / 1 . 1 . . U s e r - A g e n t > : M o z i l l a / 4 . 0 ( c o m p a t i b l e ; M S I E 5 . 0 ; W > i n d o w s 2 0 0 0 ) O p e r a 5 . 1 1 [ e n ] . . H o s t : m > e d i a w a v e o n l i n e . c o m . . A c c e p t : t e x t / h t m l , > i m a g e / p n g , i m a g e / j p e g , i m a g e / g i f , i m a > g e / x - x b i t m a p , * / * . . A c c e p t - L a n g u a g e : e n > . . A c c e p t - E n c o d i n g : d e f l a t e , g z i p , x - g z > i p , i d e n t i t y , * ; q = 0 . . R e f e r e r : h t t p : / / m > e d i a w a v e o n l i n e . c o m / t e s t 2 . p h p . . C o n n e c t i > o n : K e e p - A l i v e , T E . . T E : d e f l a t e , g z i p , > c h u n k e d , i d e n t i t y , t r a i l e r s . . C o n t e n t - > t y p e : a p p l i c a t i o n / x - w w w - f o r m - u r l e n c o d e > d . . C o n t e n t - l e n g t h : 2 1 . . . . d o n e 2 . x = 3 9 & d o > n e 2 . y = 1 7 > > but the var $done2 is not set. any ideas ? this a php bug? I cant see it > being a browser error or a apache error, the headers are all right. > > -- > > Chris Lee > [EMAIL PROTECTED] > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] >