Re: How to submit a form from the browsers' address bar?
| From: | Andrew Etemadi | Date: | Mon, 14 Aug 2000 18:12:10 +0000 |
| Subject: | Re: How to submit a form from the browsers' address bar? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11656@lists.php.net to get a copy of this message | ||
In the form tag, change the method from "post" to "get."
<form method="post" action="http://dmoz.org/cgi-bin/add2.cgi">
should be
<form method="get" action="http://dmoz.org/cgi-bin/add2.cgi">
Oktay wrote:
> How to submit a form from the browsers' address bar?
>
> Hello,
> I have a below form.
> I would like to submit the information on this form using a single line
> like this
>
> http://dmoz.org/cgi-bin/add2.cgi?submit=1&index=67a9698c86ae0e789c8b85407fb3d8d6&where=Recreation/Humor&lk=&url=http://test.com&description=this+is+description&email=test@test.com
>
> I was unseccesful so far.
>
> Can anybody help me to achieve this?
>
> Thank you all in advance
>
> <form method="post"
> action="http://dmoz.org/cgi-bin/add2.cgi">
> <input type="hidden" name="index"
> value="67a9698c86ae0e789c8b85407fb3d8d6">
> <input type="hidden" name="where" value="Recreation/Humor">
> <input type="hidden" name="lk" value="">
> <input type="text" size="40" name="url"
> value="http://">
> <input type="text" size="40" name="title"
> maxlength="100">
> <textarea maxlength="300" rows="8" cols="40"
> wrap="virtual"
> name="description"></textarea>
> <input type="text" size="40" name="email">
> <input type="submit" value="Submit">
> </form>
> --
> _______________________________
> http://demokratik.net
> ucretsiz isminiz@demokratik.net
> formatinda eposta hesabi ve
> "HERKESE AMA HERKESE SOZ HAKKI"
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net