Re: Simulating a POST
| From: | Barry | Date: | Thu, 15 Jun 2006 07:15:33 +0000 |
| Subject: | Re: Simulating a POST | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238044@lists.php.net to get a copy of this message | ||
Man-wai Chang schrieb:
> I hit the script by http://server/haha.php?ip=192.168.1.1
>
> But the script entered an endless loop. What's wrong?
>
>
>
> ------------------------------------------------------------------------
>
> <html><head></head>
> <body onload=document.myform.submit()>
This is causing the reload.
It says : everytime page loads submit the form.
And since submitting a form is like reloading a page it will go over and
over again.
--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)