mIRC Home    About    Download    Register    News    Help

Print Thread
#160607 28/09/06 06:24 PM
Joined: Sep 2006
Posts: 5
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Sep 2006
Posts: 5
I want to do this auto register filling in this site by socket method http://login.myfhn.net/subscribe.php
and this this what i write
Code:
 on *:sockopen:apply.*:{
  if (!$sockerr) {
    var %link = email=mailname&mail_ext=1&pwd=password&pwd_conf=password&nickname=nickname&name=username&bir_day=1&bir_month=1&bir_year=1980&living=earth&stato=1&sx=N&&agree=on
    sockwrite -n $sockname post /apply.php HTTP/1.1 
    sockwrite -n $sockname User-Agent: Mozilla/5.0 (compatible; MSIE 6.0; Windows NT 5.1)
    sockwrite -n $sockname Host: login.myfhn.net

    sockwrite -n $sockname Content-Length: $len(%link )   
    sockwrite -n $sockname 
    sockwrite -n $sockname %link
    sockwrite -n $sockname Connection: Keep-Alive
    sockwrite -n $sockname $crlf
  }
} 



but i got this from the sock read
Quote:
HTTP/1.1 302 Found
Date: Wed, 27 Sep 2006 18:41:43 GMT
Server: Apache/2.0.54 (Win32) PHP/5.1.2
X-Powered-By: PHP/5.1.2
Expires: Mon, 6 October 2003 12:05:45 GMT
Last-Modified: Wed, 27 Sep 2006 18:41:47 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Location: reg_err.php?err=Born date invalid
Vary: Accept-Encoding
Content-Length: 0
Connection: close
Content-Type: text/html


its told me invalid born date

and this is its part of the date in the source code of the page

Code:
         <td width="33%" height="25" valign="top"><img border="0" src="images/bullet_blue.gif" width="10" height="8">
          Born Date:*</td>
        <td width="67%" height="25" colspan="3"><select size="1" name="bir_day">
          <option>1<option>2<option>3<option>4<option>5<option>6<option>7<option>8<option>9<option>10<option>11<option>12<option>13<option>14<option>15<option>16<option>17<option>18<option>19<option>20<option>21<option>22<option>23<option>24<option>25<option>26<option>27<option>28<option>29<option>30<option>31          </select>  <b>/</b>  <select size="1" name="bir_month">
          <option value=1>January<option value=2>February<option value=3>March<option value=4>April<option value=5>May<option value=6>June<option value=7>July<option value=8>August<option value=9>September<option value=10>October<option value=11>November<option value=12>December          </select>  <b>/</b>  <select size="1" name="bir_year">
          <option>1996<option>1995<option>1994<option>1993<option>1992<option>1991<option>1990<option>1989<option>1988<option>1987<option>1986<option>1985<option>1984<option>1983<option>1982<option>1981<option>1980<option>1979<option>1978<option>1977<option>1976<option>1975<option>1974<option>1973<option>1972<option>1971<option>1970<option>1969<option>1968<option>1967<option>1966<option>1965<option>1964<option>1963<option>1962<option>1961<option>1960<option>1959<option>1958<option>1957<option>1956<option>1955<option>1954<option>1953<option>1952<option>1951<option>1950<option>1949<option>1948<option>1947<option>1946<option>1945<option>1944<option>1943<option>1942<option>1941<option>1940<option>1939<option>1938<option>1937<option>1936<option>1935<option>1934<option>1933<option>1932<option>1931<option>1930<option>1929<option>1928<option>1927<option>1926<option>1925<option>1924<option>1923<option>1922<option>1921<option>1920<option>1919<option>1918<option>1917<option>1916<option>1915<option>1914<option>1913<option>1912<option>1911<option>1910<option>1909<option>1908<option>1907          </select></td>
      </tr>  


any one can help me in this ?

Joined: Aug 2005
Posts: 128
S
Vogon poet
Offline
Vogon poet
S
Joined: Aug 2005
Posts: 128
Take a closer look at what method is needed to send "bir_day". Maybe you have to send it via POST. Also, try using HTTP/1.0 instead of HTTP/1.1. If those still don't work, maybe the server is wrong at handling errors. Maybe something else happened but you got the wrong error. Also use a uppercase "post", not a lowercase one.

Joined: Sep 2006
Posts: 5
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Sep 2006
Posts: 5
ooh thx mush lol the problem in the post
i look @ this code 1000 time and didnt notice that
thx again for ur reply stefys99


Link Copied to Clipboard