Reply to Re: Passing arguments to a script

Your name:

Reply:


Posted by David Cartwright on 10/08/05 13:32

"Hemanth" <hemanth.singamsetty@gmail.com> wrote in message
news:1128650022.222083.142550@g49g2000cwa.googlegroups.com...
> I tried the following (hoping it would work;)
> <form name="ex" method="GET" action="example.php?arg1=val1&arg2=val2"

Someone else has mentioned that you should use <INPUT TYPE="hidden" ...>
form elements. May I just add that the way you were hoping to do it is
dangerous simply because it'll work on some systems and not others - oh, and
because it's a non-standard way of doing things, it'll be a pain for anyone
to debug in the future.

I say this because I've inherited some scripts that someone else wrote and
which are done in exactly the way you describe, so it took me some
head-scratching and "can you _really_ do it like that?" moments to figure
out what was going on!

D.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация