作者ckmarkhsu (深藍站長)
看板PHP
標題Re: [請益] 利用網址post東西出去的問題
時間Sat Apr 1 10:31:32 2006
get 是從網址中傳遞,post 則不然
你說的是...get method, not post:)
但無名的 code 中可能是用 $_POST 會抓不到你傳的資料...
解決方式....
如果你是想要大量 try 密碼....
你可以寫個 php 去自動產生一樣的表單
帳號密碼程式自動填,用 javascript 自動送出
或者用 VB 去寫也可以,那很簡單:P
先承認你要用在你朋友的無名上吧 XDD
※ 引述《jonesya (~)》之銘言:
: 想要寫一串網址 讓他直接post我的帳號密碼在無名上面
: http://www.wretch.cc/lib/login.php?userid=xxxxxx&passwd=xxxxxxxx
: 可是不知為何無法使用...
: 以下是無名登陸的程式碼
: <form name="loginform" action="/lib/login.php" method="post">
: <table>
: <input type="hidden" name="location" value="/lib/error.php">
: <tr>
: <td align=right>
: 撣唾?:
: </td>
: <td>
: <input class="small-c" name="userid" type="text" size="12"
: maxlength="12" style="width:65pt;height:12pt" value="">
: </td>
: </tr>
: <tr>
: <td align=right>
: 撖疯Ⅳ:
: </td>
: <td>
: <input class="small-c" name="passwd" type="password" size="12"
: maxlength="12" style="width:65pt;height:12pt">
: </td>
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.59.177.141
1F:推 qrtt1:亂替人貼上罪名是不好的吧 04/01 11:09
2F:推 ckmarkhsu:樓上的 輕鬆點嗎:) 04/01 11:17
3F:推 ileadu:?其實他是想做網路約魚 :p 04/01 14:25
4F:→ mkjplayer:用curl or socket寫成純php程式也可以..不過..無名不會 04/01 23:49
5F:→ mkjplayer:發現嗎??XD 網管要查出來還蠻簡單的... 04/01 23:50