[thelist] PHP & post form problem

Beau Hartshorne beau at members.evolt.org
Fri Jun 7 14:03:01 CDT 2002


> > Instead of checking using your method to check if the form has been
> > submitted, you could try the following:
> >
> > if ($REQUEST_METHOD=='POST') {
> > ...
> > }
>
> Thanks that solved my problem ;)

I ran into this problem a long time ago, and I solved it by doing
something like this:

<input type="image" name="submit" src="images/btn_submit.gif"
border="0">

(notice the name attribute)

Is there anything wrong with this approach? Has anyone had trouble with
one or the other?

Thanks,

Beau





More information about the thelist mailing list