downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/fr/function.setrawcookie.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/ref.network.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'fr',
  ),
 
'this' =>
  array (
   
0 => 'function.setrawcookie.php',
   
1 => 'setrawcookie',
  ),
 
'up' =>
  array (
   
0 => 'ref.network.php',
   
1 => 'Fonctions réseaux',
  ),
 
'prev' =>
  array (
   
0 => 'function.setcookie.php',
   
1 => 'setcookie',
  ),
 
'next' =>
  array (
   
0 => 'function.socket-get-status.php',
   
1 => 'socket_get_status',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="function.setrawcookie" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">setrawcookie</h1>
  <p class="verinfo">(PHP 5)</p><p class="refpurpose"><span class="refname">setrawcookie</span> &mdash; <span class="dc-title">Envoie un cookie sans encoder sa valeur en URL</span></p>

 </div>

 <a name="function.setrawcookie.description"></a><div class="refsect1 description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><b>setrawcookie</b></span>
    ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$name</tt></span>
   [, <span class="methodparam"><span class="type">string</span> <tt class="parameter">$value</tt></span>
   [, <span class="methodparam"><span class="type">int</span> <tt class="parameter">$expire</tt><span class="initializer">= 0</span></span>
   [, <span class="methodparam"><span class="type">string</span> <tt class="parameter">$path</tt></span>
   [, <span class="methodparam"><span class="type">string</span> <tt class="parameter">$domain</tt></span>
   [, <span class="methodparam"><span class="type">bool</span> <tt class="parameter">$secure</tt><span class="initializer">= false</span></span>
   [, <span class="methodparam"><span class="type">bool</span> <tt class="parameter">$httponly</tt><span class="initializer">= false</span></span>
  ]]]]]] )</div>

  <p class="para rdfs-comment">
   <b>setrawcookie()</b> est exactement la même que
   <a href="function.setcookie.php" class="function">setcookie()</a> excepté que la valeur du cookie ne sera pas
   automatiquement encodée URL lors de l&#039;envoi au navigateur.
  </p>
 </div>


 <a name="function.setrawcookie.parameters"></a><div class="refsect1 parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">
   Pour plus d&#039;informations, reportez-vous à la documentation de la
   fonction <a href="function.setcookie.php" class="function">setcookie()</a>.
  </p>
 </div>


 <a name="function.setrawcookie.returnvalues"></a><div class="refsect1 returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
   Cette fonction retourne <b><tt class="constant">TRUE</tt></b> en cas de
succès, <b><tt class="constant">FALSE</tt></b> en cas d&#039;échec.
  </p>
 </div>


 <a name="function.setrawcookie.changelog"></a><div class="refsect1 changelog">
  <h3 class="title">Historique</h3>
  <p class="para">
   </p><table class="doctable informaltable">
   
     <thead valign="middle">
      <tr valign="middle">
       <th>Version</th>
       <th>Description</th>
      </tr>

     </thead>

     <tbody valign="middle" class="tbody">
      <tr valign="middle">
       <td align="left">5.2.0</td>
       <td align="left">
        Ajout du paramètre <i><tt class="parameter">httponly</tt></i>
.
       </td>
      </tr>

     </tbody>
   
   </table>
<p>
  </p>
 </div>


 <a name="function.setrawcookie.seealso"></a><div class="refsect1 seealso">
  <h3 class="title">Voir aussi</h3>
  <p class="para">
   </p><ul class="simplelist">
    <li class="member"><a href="function.setcookie.php" class="function" rel="rdfs-seeAlso">setcookie()</a> - Envoie un cookie</li>
   </ul><p>
  </p>
 </div>


</div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites