
Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
|
23.11.2002, 11:23:36
|
|||
|---|---|---|---|
|
|||
SQLXML, Updategram: upload image problem! |
|||
|
#18+
Требуется загрузить картинку в таблицу посредством updategrams, все файлы, таблицы и формы представлены ниже: Таблица БД: ----------- Images(name varchar(256), img image) Форма ввода: ------------ <form method="post" action="http://111.111.111.111/vmn/template/img_u.xml" enctype="multipart/form-data"> <input type="text" name="name">Имя</input> <input type="file" name="img">Фото</input> <input type="submit"/> </form> Updategram image_u.xml: ----------------------- <ROOT xmlns:updg="urn:schemas-microsoft-com:xml-updategram"> <updg:header> <updg:param name="name"/> <updg:param name="img"/> </updg:header> <updg:sync mapping-schema="img_s.xml"> <updg:after> <Images name="$name" img="$img"/> </updg:after> </updg:sync> </ROOT> Schema image_s.xml: ------------------- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas-microsoft-com:mapping-schema"> <xsd:element name="Images"> <xsd:complexType> <xsd:attribute name="name" type="xsd:string" /> <xsd:attribute name="img" type="xsd:base64Binary"/> </xsd:complexType> </xsd:element> </xsd:schema> В результате выдается ошибка: ----------------------------- ERROR: 415 Unsupported Media Type HResult: 0x80004005 Source: Microsoft SQL isapi extension Description: The encoding 'multipart/form-data' is not supported ... |
|||
|
:
Нравится:
Не нравится:
|
|||
|
|
|

start [/forum/topic.php?fid=46&tablet=1&tid=1818557]: |
0ms |
get settings: |
7ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
44ms |
get topic data: |
8ms |
get forum data: |
2ms |
get page messages: |
24ms |
get tp. blocked users: |
1ms |
| others: | 223ms |
| total: | 329ms |

| 0 / 0 |
