ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Morsov <samurai@ricom.ru>
To: community@altlinux.ru
Subject: Re: [Comm] file uploading via http
Date: Wed, 27 Apr 2005 11:29:36 +0400
Message-ID: <426F3F60.5040305@ricom.ru> (raw)
In-Reply-To: <426F4384.9000101@ngs.ru>


Denis G. Samsonenko wrote:

> Но это не суть важно. Просто я не нашёл описания того, как этот файл(ы) 
> передаётся(ются) cgi-скрипту. Соответственно не знаю, как это обрабатывать.
А передаются они как по методу POST, только форма иная ( 
enctype="multipart/form-data")
а данные из форм (в том числе и сам файл) выдаются как обычно в POST на 
STDIN - можете попробоватьего просто выдать на stdout - увидете что 
после значений из форм идет содердимое файла (подсунте какой-нить 
текстовой файлик)
Но вот как выцепить этот файл я в свое время на Си не понял :)


-- 
Всего наилучшего,
Системный Администратор ЗАО "ИК "РИКОМ-ТРАСТ"
Алексей Морсов
ICQ: 196766290
Jabber: Samurai@jabber.pibhe.com
http://www.ricom.ru
http://www.fondmarket.ru


      parent reply	other threads:[~2005-04-27  7:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-27  6:29 Denis G. Samsonenko
2005-04-27  5:41 ` Stanislav Yadykin
2005-04-27  5:44   ` Aleksander N. Gorohovski
2005-04-27  7:47   ` Denis G. Samsonenko
2005-04-27  5:57     ` Aleksander N. Gorohovski
2005-04-27  6:58     ` Stanislav Yadykin
2005-04-27 12:13       ` Denis G. Samsonenko
2005-04-27 10:48         ` Aleksander N. Gorohovski
2005-04-27 21:17       ` [Comm] " Arioch
2005-04-27  7:29     ` Alexey Morsov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=426F3F60.5040305@ricom.ru \
    --to=samurai@ricom.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git