Главная страница


ru.perl

 
 - RU.PERL ----------------------------------------------------------------------
 From : Alexandr Murin                       2:6070/148     05 Mar 2001  23:08:43
 To : Serge Shikov
 Subject : Content-type:image/jpeg
 -------------------------------------------------------------------------------- 
 
 
 05 Мар 01 13:49, некто Serge Shikov написал All:
 
  >>  AM> print "Content-type: image/gif\n\n";
  >>      open(GIF, 'image.gif');
  >>      binmode(GIF);
  >>      binmode(STDOUT);
  >>      print <GIF>;
  >>       close(GIF);
  >> Hаконец-то всё зароботало,Спасибо!!!!!!!!!!!
  >> Косяк был в строчке binmode(STDOUT),а точнее в её отсyтсвие.
  SS> Дык сразу предупреждать надо, что у вас система кривая...
 
     Мужики, маны курить не надо. Причём тут "кривая"/"не_кривая" система (или 
 разжигать flame wars - ваша цель)?
     Попробуйте использовать маны по назначению:
 ========
 On many systems binmode() currently has no effect, but in future, it will be 
 extended to support user-defined input and output disciplines. On some systems 
 binmode() is necessary when you're not working with a text file. For the sake 
 of portability it is a good idea to always use it when appropriate, and to 
 never use it when it isn't appropriate.
 
 In other words: Regardless of platform, use binmode() on binary files, and do 
 not use binmode() on text files.
 ========
 
    За cим вcе. Alexandr AKA /948. (amur<at>forus.ru)
 --- Windows 2000 Professional ENG SP1 (UpTime: 11d 02:04:47)
  * Origin: Заказывайте кирпичи по адресу (2:6070/148)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Content-type:image/jpeg   Maxim Goncharov   02 Mar 2001 13:23:34 
 Content-type:image/jpeg   Leonid Subbotin   03 Mar 2001 04:01:01 
 Content-type:image/jpeg   Maxim Goncharov   04 Mar 2001 14:44:44 
 Content-type:image/jpeg   Alexandr Murin   04 Mar 2001 21:41:48 
 Content-type:image/jpeg   Maxim Goncharov   04 Mar 2001 23:33:17 
 Content-type:image/jpeg   Dmitry Smolin   05 Mar 2001 02:29:33 
 Content-type:image/jpeg   Alexandr Murin   05 Mar 2001 13:00:12 
 Content-type:image/jpeg   Maxim Goncharov   05 Mar 2001 13:23:41 
 Re: Content-type:image/jpeg   Serge Shikov   05 Mar 2001 14:49:34 
 Content-type:image/jpeg   Alexandr Murin   05 Mar 2001 23:08:43 
 Re: Content-type:image/jpeg   Serge Shikov   06 Mar 2001 11:56:59 
 Content-type:image/jpeg   Pavel Pavlovets   04 Mar 2001 18:25:13 
 Re: Content-type:image/jpeg   Artem Chuprina   05 Mar 2001 13:44:28 
 Content-type:image/jpeg   Leonid Subbotin   05 Mar 2001 11:10:35 
Архивное /ru.perl/23153aa40ff1.html, оценка 1 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional