| Новости | FAQ | Авторы | Документация | В действии | Библиотека |
| Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
skiv 14.10.2005 18:12
Имею такой файлик:@main[]
$response:charset[windows-1251]
^try{
$test[^file::load[text;http://*******/test.txt?111; $.method[GET] $.timeout(60)]]
$test.text<br>
}{
$exception.handled(1)
ERROR!<br>
type: $exception.type<br>
comment: $exception.comment<br>
source: $exception.source<br>
file: $exception.file<br>
lineno: $exception.lineno<br>
}
^try{
$test[^file::load[text;http://*******/test.txt?222; $.method[GET] $.timeout(60)]]
$test.text<br>
}{
$exception.handled(1)
ERROR!<br>
type: $exception.type<br>
comment: $exception.comment<br>
source: $exception.source<br>
file: $exception.file<br>
lineno: $exception.lineno<br>
}Содержимое запрашиваемого файла: