掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
multipart/form-data形式の取得について (ID:15568)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
...... intContentEnd := Length(buf); intContentStart := Pos('Content-Type:', buf); if intContentStart > 0 then begin intTypeStart := intContentStart + Length('Content-Type:') + 1; i := intTypeStart; while not(buf[i] in [#13, #10]) do begin if i >= intContentEnd then begin ShowMessage('Content-Type 取得失敗'); exit; end; inc(i); end; strContentType := Copy(buf, intTypeStart, i - intTypeStart); end;
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.