1
0
mirror of https://github.com/php/doc-de.git synced 2026-03-24 15:22:14 +01:00
Files
archived-doc-de/reference/curl/curlstringfile.xml
2024-06-14 17:01:25 +01:00

120 lines
3.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: joshuaruesweg Status: ready -->
<reference xml:id="class.curlstringfile" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Die Klasse CURLStringFile</title>
<titleabbrev>CURLStringFile</titleabbrev>
<partintro>
<!-- {{{ CURLStringFile intro -->
<section xml:id="curlstringfile.intro">
&reftitle.intro;
<para>
<classname>CURLStringFile</classname> ermöglicht es Dateien direkt aus einer Variable hochzuladen.
Diese Klasse ist ähnlich wie <classname>CURLFile</classname>, nimmt allerdings den Inhalt der Datei und nicht den Dateinamen entgegen.
Diese Klasse oder <classname>CURLFile</classname> sollte benutzt werden, um eine Datei mit
<constant>CURLOPT_POSTFIELDS</constant> hochzuladen.
</para>
</section>
<!-- }}} -->
<section xml:id="curlstringfile.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis class="class">
<ooclass>
<classname>CURLStringFile</classname>
</ooclass>
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>public</modifier>
<type>string</type>
<varname linkend="curlstringfile.props.data">data</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<type>string</type>
<varname linkend="curlstringfile.props.postname">postname</varname>
</fieldsynopsis>
<fieldsynopsis>
<modifier>public</modifier>
<type>string</type>
<varname linkend="curlstringfile.props.mime">mime</varname>
</fieldsynopsis>
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.curlstringfile')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='CURLStringFile'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
<!-- }}} -->
</section>
<!-- {{{ CURLStringFile properties -->
<section xml:id="curlstringfile.props">
&reftitle.properties;
<variablelist>
<varlistentry xml:id="curlstringfile.props.data">
<term><varname>data</varname></term>
<listitem>
<para>Die hochzuladenden Daten.</para>
</listitem>
</varlistentry>
<varlistentry xml:id="curlstringfile.props.postname">
<term><varname>postname</varname></term>
<listitem>
<para>Der Name der Datei in den Upload-Daten.</para>
</listitem>
</varlistentry>
<varlistentry xml:id="curlstringfile.props.mime">
<term><varname>mime</varname></term>
<listitem>
<para>Der MIME-Typ der Datei (Vorgabe ist <literal>application/octet-stream</literal>).</para>
</listitem>
</varlistentry>
</variablelist>
</section>
<!-- }}} -->
<section xml:id="curlstringfile.seealso">
&reftitle.seealso;
<para>
<simplelist>
<member>
<function>curl_setopt</function>
</member>
<member><classname>CURLFile</classname></member>
</simplelist>
</para>
</section>
</partintro>
&reference.curl.entities.curlstringfile;
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->