Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Bitmag 24.09.2002 08:16
@auto.p:@CONF[] $request:charset[windows-1251] $response:charset[windows-1251] $response:content-type[ $.value[text/html] $.charset[$response:charset] ] @auto[] $SQL[$.drivers[^table::create{protocol driver client mysql parser3mysql.dll libmySQL.dll}]] $charsetsdir[c:/web] $CHARSETS[ $.koi8-r[$charsetsdir/koi8-r.cfg] # $.windows-1250[$charsetsdir/windows-1250.cfg] $.windows-1251[$charsetsdir/windows-1251.cfg] # $.windows-1257[$charsetsdir/windows-1257.cfg] ] $SQL.connect-string[mysql://user:pass@host/db?charset=cp1251_koi8] #for ^file::load[name;user-name] mime-type autodetection $MIME-TYPES[^table::create{ext mime-type zip application/zip doc application/msword xls application/vnd.ms-excel pdf application/pdf ppt application/powerpoint rtf application/rtf gif image/gif jpg image/jpeg png image/png tif image/tiff html text/html htm text/html txt text/plain mts application/metastream mid audio/midi midi audio/midi mp3 audio/mpeg ram audio/x-pn-realaudio rpm audio/x-pn-realaudio-plugin ra audio/x-realaudio wav audio/x-wav au audio/basic mpg video/mpeg avi video/x-msvideo mov video/quicktime swf application/x-shockwave-flash }] $LIMITS[ $.post_max_size(10*0x400*0x400) ] $MAIL[ $.SMTP[mail.viaduk.net] ]Только так получилось !!! по другому или Exception или charset !!!