|
|
|
как передать данные с помошью методов GET или POST
|
|||
|---|---|---|---|
|
#18+
Помогите с такой проблемой, пожалуйста. Не могу передатъ данные из формы на сервер (IIS4, Windows NT). Получаю 405 Method Not Allowed. Запрос такой: </script> <form acion="http://www.exacttarget.com/subscribe.asp?lid=253989" name="subscribeForm" method="post" onSubmit="return checkForm();"> <input type="hidden" name="thx" value="http://.../email_signup_thankyou.html"> <input type="Hidden" name="err" value="http://.../signup_error.html"> <!-- <input type="hidden" name="SubAction" value="sub">--> Заранее спасибо и извиняюсъ если вопрос немного не по теме. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.01.2005, 18:58 |
|
||
|
как передать данные с помошью методов GET или POST
|
|||
|---|---|---|---|
|
#18+
Наверное я неправилъно сформулировал вопрос. Как правилъно сконфигуриробатъ сервер IIS4, чтобы он воспринимал POST? Заранее спасибо ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.01.2005, 21:41 |
|
||
|
как передать данные с помошью методов GET или POST
|
|||
|---|---|---|---|
|
#18+
Andrey_KievНаверное я неправилъно сформулировал вопрос. Как правилъно сконфигуриробатъ сервер IIS4, чтобы он воспринимал POST? Заранее спасибо причем тут PHP&Perl ?? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.01.2005, 10:32 |
|
||
|
как передать данные с помошью методов GET или POST
|
|||
|---|---|---|---|
|
#18+
Николай aka Motodor причем тут PHP&Perl ?? Да, наверно ни при чем. Но где же можно об этом спроситъ? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.01.2005, 16:11 |
|
||
|
как передать данные с помошью методов GET или POST
|
|||
|---|---|---|---|
|
#18+
И еше, если естъ какои-нибудъ способ написатъ это на PHP, то это бы тоже оченъ помогло. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.01.2005, 16:14 |
|
||
|
как передать данные с помошью методов GET или POST
|
|||
|---|---|---|---|
|
#18+
Andrey_Kievесли естъ какои-нибудъ способ написатъ это на PHPЕсть. Только приведённый вами код к серверным языкам вообще отношения не имеет - это HTML. А HTML, как известно, отображается браузером, поэтому серверные языки программирования тут практически не при чём - разве что они могут генерировать этот HTML. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.01.2005, 16:20 |
|
||
|
как передать данные с помошью методов GET или POST
|
|||
|---|---|---|---|
|
#18+
Andrey_Kiev Николай aka Motodor причем тут PHP&Perl ?? Да, наверно ни при чем. Но где же можно об этом спроситъ? к сожалению так сразу не вспомню хороший сайты по настройки веб-серверов, попробуйте задать вопрос тут http://forums.webscript.ru/forumdisplay.php?s=68e7953dd7ec2603efdcbe07e95dabfb&forumid=38 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.01.2005, 16:24 |
|
||
|
как передать данные с помошью методов GET или POST
|
|||
|---|---|---|---|
|
#18+
How to Resolve an HTTP 405 Resource not allowed Error in IIS Cause The file type is not registered in the IIS script map settings (e.g. .html or .htm). IIS 5.1 only allows HTTP requests of type to GET to unmapped files. HTTP requests of type POST, HEAD, and all others are responded to with a 405 resource not allowed error. As a security note, you should always remove unused script mappings. This is the default behavior of IIS 6, which will only serve named extensions and refuse all others. Resolution Add a script map for the extension. A script map associates a particular file type with a given script module. The web server runs the module on the given file and sends the output to the browser, instead of sending the file directly to the browser. Go to "Control Panel"-"Administrative Tools"-"Internet Information Services". Expand the tree to "COMPUTERNAME"-"Web Sites"-"Default Web Site". Right-click on "Default Web Site" and select "Properties". (Alternately, select "Default Web Site" and press Alt+Enter.) Select the "Home Directory" tab. Click the "Configuration" button. From the "Mappings" tab, select the "Add" button. Click the "Browse..." button, choose "Dynamic Link Libraries *.dll" from the "Files of Type" dropdown, and select c:\WINDOWS\System32\inetsrv\asp.dll. Type ".html" (without quotes) in the "Extension" box. Select the "Limit to:" radio button, and type in "GET, POST" (without quotes) in the box next to it. Click the "OK" button and close all the dialogs. (If the "OK" button is greyed out, then make sure all the entries are correct and try clicking in the file name box.) See the screen shot below. You must adjust the above instructions to your particular OS, web site configuration, and file type. You can associate the file type with a different script engine besides asp.dll, which is the ASP 3.0 script engine. There is no need to give IWAM_COMPUTERNAME permission to the file, only IUSR_COMPUTERNAME needs NTFS read and execute permission. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 12.01.2005, 17:24 |
|
||
|
|

start [/forum/topic.php?fid=23&msg=32859998&tid=1478955]: |
0ms |
get settings: |
5ms |
get forum list: |
13ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
47ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
35ms |
get tp. blocked users: |
1ms |
| others: | 199ms |
| total: | 317ms |

| 0 / 0 |
