IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Langage PHP Discussion :

lancer une session en php


Sujet :

Langage PHP

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre Expert
    Avatar de laurentSc
    Homme Profil pro
    Webmaster débutant perpétuel !
    Inscrit en
    Octobre 2006
    Messages
    10 493
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 61
    Localisation : France, Isère (Rhône Alpes)

    Informations professionnelles :
    Activité : Webmaster débutant perpétuel !
    Secteur : Industrie

    Informations forums :
    Inscription : Octobre 2006
    Messages : 10 493
    Billets dans le blog
    1
    Par défaut lancer une session en php
    Bonjour,

    pour lancer une session en php, je mets un "session_start()" tout au début du code : si je le mets, ça génère des warnings ; voici les 2 warnings que ça génère :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mnt/163/sda/2/6/laurentschmitt18/ben2/index.php:1) in /mnt/163/sda/2/6/laurentschmitt18/ben2/index.php on line 2
     
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/163/sda/2/6/laurentschmitt18/ben2/index.php:1) in /mnt/163/sda/2/6/laurentschmitt18/ben2/index.php on line 2
    Pourtant, si je mets ce code en commentaires, le warning disparaît mais ça ne marche plus. Qqun aurait-il une solution ?

  2. #2
    Membre Expert
    Avatar de Eusebe
    Inscrit en
    Mars 2006
    Messages
    1 992
    Détails du profil
    Informations personnelles :
    Âge : 47

    Informations forums :
    Inscription : Mars 2006
    Messages : 1 992
    Par défaut
    Bonjour,

    Voir la :
    http://php.developpez.com/faq/index....s_already_sent

    Vérifies si tu n'as pas un caractère parasite avant <?php à la première ligne de ton index.php...

  3. #3
    Membre Expert
    Avatar de laurentSc
    Homme Profil pro
    Webmaster débutant perpétuel !
    Inscrit en
    Octobre 2006
    Messages
    10 493
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 61
    Localisation : France, Isère (Rhône Alpes)

    Informations professionnelles :
    Activité : Webmaster débutant perpétuel !
    Secteur : Industrie

    Informations forums :
    Inscription : Octobre 2006
    Messages : 10 493
    Billets dans le blog
    1
    Par défaut
    Je connaissais le pb ; ça m'est déjà arrivé ; j'ai vérifié, mais il n'y a rien.

  4. #4
    Modérateur
    Avatar de sabotage
    Homme Profil pro
    Inscrit en
    Juillet 2005
    Messages
    29 208
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juillet 2005
    Messages : 29 208
    Par défaut
    Si ton fichier est ecrit en UTF8, verifie qu'il est sans BOM.
    N'oubliez pas de consulter les FAQ PHP et les cours et tutoriels PHP

  5. #5
    Membre Expert
    Avatar de laurentSc
    Homme Profil pro
    Webmaster débutant perpétuel !
    Inscrit en
    Octobre 2006
    Messages
    10 493
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 61
    Localisation : France, Isère (Rhône Alpes)

    Informations professionnelles :
    Activité : Webmaster débutant perpétuel !
    Secteur : Industrie

    Informations forums :
    Inscription : Octobre 2006
    Messages : 10 493
    Billets dans le blog
    1
    Par défaut
    Je ne comprends pas ce que ça veut dire. Pour vous donner une idée, voici le code (il n'est pas simple-simple ; en fait, il est généré par un logiciel qui génère des sites (en html), et j'ai rajouté une fonction php ds le code ; mais à part ce rajout, je n'ai rien changé, et à part les warnings, ça marche bien) :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    <?php session_start();?>
    <head>
    <!--Serif WebPlus 9 HTML Export-->
    <!--Supports HTML 4.01-->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="Generator" content="Serif WebPlus 9.0.1.004">
    <title>Accueil</title>
    <meta name="keywords" content="Vercors, Canyon, Escalade, Nature, Sport, Montagne, Accompagnement, Ecouges, Via Ferrata, Via Cordata, Canyonning, Groupe, Loisir, Equipe,Rendez-vous, Amité, Amis, Club, Jeux, Eau, Rivière, Rocher, Corde, Cordage, Grotte, Sortie, Ecologie, Liberté, Moniteur, Plein Air, Terre   ">
    <meta name="description" content="Benjamin vous accueille sur Vercors Canyon Esalade, le plaisir naturellement ! ">
    <script LANGUAGE="JavaScript">
    <!--
    function initArray() 
    {  
      this.length = initArray.arguments.length
      for (var i = 0; i < this.length; i++)
      this[i+1] = initArray.arguments[i]
    }
    var JourArray = new initArray("Dimanche","Lundi","Mardi","Mercredi",
                                  "Jeudi","Vendredi","Samedi");
    var MoisArray = new initArray("Janvier","Février","Mars","Avril",
                                  "Mai","Juin","Juillet","Août","Septembre",
                                  "Octobre","Novembre","Décembre");
    var DateJour = new Date();
     
    function Calendrier() 
    {
      var PictArray = new initArray("images/fond.gif","images/fond.gif","images/fond.gif","images/fond.gif",
                                    "images/fond.gif","images/fond.gif","images/fond.gif");
      document.write("<table width=100 height=120 border=0><tr><th background=" + PictArray[(DateJour.getDay()+1)] + "><b>" + JourArray[(DateJour.getDay()+1)] + "</b><br><font size=+4 color=red><b>" + DateJour.getDate() + "</b></font><br><font color=blue><b>" + MoisArray[(DateJour.getMonth()+1)] + "</font><br>" + (DateJour.getYear()) + "</b></th></tr></table>");
    }
    //-->
    </script><style type="text/css">
    <!--
    body {margin: 0px; padding: 0px;}
    .Normal-P
            {
            margin:0.0px 0.0px 0.0px 0.0px; text-align:left; font-weight:400; 
            }
    .Normal-P0
            {
            margin:0.0px 0.0px 0.0px 0.0px; text-align:center; font-weight:400; 
            }
    .Normal-P1
            {
            margin:0.0px 0.0px 0.0px 0.0px; text-align:justify; font-weight:400; 
            }
    .Normal-P2
            {
            margin:0.0px 0.0px 0.0px 16.0px; text-align:left; font-weight:400; 
            }
    .Normal-2-P
            {
            margin:0.0px 0.0px 7.0px 0.0px; text-align:left; font-weight:400; 
            }
    .Normal-C
            {
            font-family:"Arial", sans-serif; font-weight:700; font-size:21.0px; 
            line-height:1.19; color:#ff8000; 
            }
    .Normal-C0
            {
            font-family:"Times New Roman", serif; font-weight:700; 
            font-size:24.0px; line-height:1.13; color:#1f1f1f; 
            }
    .Normal-C1
            {
            font-family:"Times New Roman", serif; font-size:16.0px; 
            line-height:1.25; 
            }
    .Normal-C2
            {
            font-family:"Arial", sans-serif; font-size:15.0px; line-height:1.13; 
            }
    .Normal-C3
            {
            font-family:"Arial", sans-serif; font-weight:700; font-size:15.0px; 
            line-height:1.20; color:#cc6000; 
            }
    .Normal-C4
            {
            font-family:"Arial", sans-serif; font-size:15.0px; line-height:1.13; 
            color:#cc6000; 
            }
    .normal-c11-C
            {
            font-family:"Arial", sans-serif; font-weight:700; font-size:15.0px; 
            line-height:1.20; 
            }
    .normal-p2-C
            {
            font-family:"Arial", sans-serif; font-size:16.0px; line-height:1.19; 
            }
    .Normal-C5
            {
            font-family:"Times New Roman", serif; font-style:italic; 
            font-weight:700; font-size:16.0px; line-height:1.25; 
            color:#fc7800; text-decoration: underline; 
            }
    .Normal-C6
            {
            font-family:"Verdana", sans-serif; font-weight:700; font-size:16.0px; 
            line-height:1.13; color:#9cfcfc; 
            }
    .Normal-2-C
            {
            font-family:"Times New Roman", serif; font-weight:700; 
            font-size:40.0px; line-height:1.18; 
            }
    .Normal-2-C0
            {
            font-family:"Times New Roman", serif; font-weight:700; 
            font-size:40.0px; line-height:1.18; color:#fca85c; 
            }
    .Normal-2-C1
            {
            font-family:"Times New Roman", serif; font-weight:700; 
            font-size:40.0px; line-height:1.18; color:#fcf440; 
            }
    -->
    </style>
    <script src="_wp_scripts/jsRollover.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    <!--
    PPImgInit('roll0-0','_wp_generated/wp4cc2fd45.png','_wp_generated/wp75fcb1f8.png','','',0,0);
    PPImgInit('roll0-1','_wp_generated/wp4cc2fd45.png','_wp_generated/wp75fcb1f8.png','','',0,0);
    PPImgInit('roll0-2','_wp_generated/wp4cc2fd45.png','_wp_generated/wp75fcb1f8.png','','',0,0);
    PPImgInit('roll0-3','_wp_generated/wp4cc2fd45.png','_wp_generated/wp75fcb1f8.png','','',0,0);
    PPImgInit('roll0-4','_wp_generated/wp4cc2fd45.png','_wp_generated/wp75fcb1f8.png','','',0,0);
    PPImgInit('roll0-5','_wp_generated/wp4cc2fd45.png','_wp_generated/wp75fcb1f8.png','','',0,0);
    PPImgInit('roll0-6','_wp_generated/wp4cc2fd45.png','_wp_generated/wp75fcb1f8.png','','',0,0);
    PPImgInit('roll0-7','_wp_generated/wp8da12a1f.png','_wp_generated/wp4ac1a0a8.png','','',0,0);
    PPImgInit('roll0-8','_wp_generated/wpf3e46789.png','_wp_generated/wpadf6a8b0.png','','',0,0);
    PPImgInit('roll0-9','_wp_generated/wp7a96d417.png','_wp_generated/wp5a900b4b.png','','',0,0);
    PPImgInit('roll0-10','_wp_generated/wpb8de7ec1.png','_wp_generated/wpb787ae32.png','','',0,0);
    PPImgInit('roll0-11','_wp_generated/wp9322ac5a.png','_wp_generated/wp567aa128.png','','',0,0);
    PPImgInit('roll0-12','_wp_generated/wp12362324.png','_wp_generated/wp7d35e377.png','','',0,0);
    PPImgInit('roll0-13','_wp_generated/wp4a5b3737.png','_wp_generated/wp583773d8.png','','',0,0);
    PPImgInit('roll0-14','_wp_generated/wp4cc2fd45.png','_wp_generated/wp75fcb1f8.png','','',0,0);
    //-->
    </script>
    </head>
     
    <body bgcolor="#ffffff" link="#0000ff" vlink="#800080" text="#000000">
    <noscript>
    <center>
    <div style="position:relative;width:1024px;">
    </noscript>
    <script type="text/javascript">
    <!--
    if (!document.layers) { document.write("<center> <div style=\"position:relative;width:1024px;\">"); }
    //-->
    </script>
    <div style="position:absolute; left:0px; top:60px; width:180px; height:708px;">
        <img src="_wp_generated/wped5d87b0.png" width="180" height="708" border="0" title="" alt="wped5d87b0.png"></div>
    <div style="position:absolute; left:4px; top:396px; width:38px; height:23px;">
        <a href="canyoning.html" onMouseOut="PPImgAction('out','roll0-0')" onMouseOver="PPImgAction('over','roll0-0')"><img src="_wp_generated/wp4cc2fd45.png" width="38" height="23" border="0" name="roll0-0" title="" alt="wp4cc2fd45.png"></a></div>
    <div style="position:absolute; left:4px; top:333px; width:38px; height:23px;">
        <a href="canyoning.html" onMouseOut="PPImgAction('out','roll0-1')" onMouseOver="PPImgAction('over','roll0-1')"><img src="_wp_generated/wp4cc2fd45.png" width="38" height="23" border="0" name="roll0-1" title="" alt="wp4cc2fd45.png"></a></div>
    <div style="position:absolute; left:4px; top:300px; width:38px; height:23px;">
        <a href="canyoning.html" onMouseOut="PPImgAction('out','roll0-2')" onMouseOver="PPImgAction('over','roll0-2')"><img src="_wp_generated/wp4cc2fd45.png" width="38" height="23" border="0" name="roll0-2" title="" alt="wp4cc2fd45.png"></a></div>
    <div style="position:absolute; left:4px; top:270px; width:38px; height:23px;">
        <a href="canyoning.html" onMouseOut="PPImgAction('out','roll0-3')" onMouseOver="PPImgAction('over','roll0-3')"><img src="_wp_generated/wp4cc2fd45.png" width="38" height="23" border="0" name="roll0-3" title="" alt="wp4cc2fd45.png"></a></div>
    <div style="position:absolute; left:4px; top:240px; width:38px; height:23px;">
        <a href="canyoning.html" onMouseOut="PPImgAction('out','roll0-4')" onMouseOver="PPImgAction('over','roll0-4')"><img src="_wp_generated/wp4cc2fd45.png" width="38" height="23" border="0" name="roll0-4" title="" alt="wp4cc2fd45.png"></a></div>
    <div style="position:absolute; left:4px; top:207px; width:38px; height:23px;">
        <a href="canyoning.html" onMouseOut="PPImgAction('out','roll0-5')" onMouseOver="PPImgAction('over','roll0-5')"><img src="_wp_generated/wp4cc2fd45.png" width="38" height="23" border="0" name="roll0-5" title="" alt="wp4cc2fd45.png"></a></div>
    <div style="position:absolute; left:4px; top:364px; width:38px; height:23px;">
        <a href="canyoning.html" onMouseOut="PPImgAction('out','roll0-6')" onMouseOver="PPImgAction('over','roll0-6')"><img src="_wp_generated/wp4cc2fd45.png" width="38" height="23" border="0" name="roll0-6" title="" alt="wp4cc2fd45.png"></a></div>
    <div style="position:absolute; left:33px; top:200px; width:147px; height:31px;">
        <a href="index.html" onMouseOut="PPImgAction('out','roll0-7')" onMouseOver="PPImgAction('over','roll0-7')"><img src="_wp_generated/wp8da12a1f.png" width="147" height="31" border="0" name="roll0-7" title="" alt="wp8da12a1f.png"></a></div>
    <br><div style="position:absolute; left:33px; top:231px; width:147px; height:32px;">
        <a href="canyoning.html" onMouseOut="PPImgAction('out','roll0-8')" onMouseOver="PPImgAction('over','roll0-8')"><img src="_wp_generated/wpf3e46789.png" width="147" height="32" border="0" name="roll0-8" title="" alt="wpf3e46789.png"></a></div>
    <br><div style="position:absolute; left:33px; top:263px; width:147px; height:31px;">
        <a href="escalade.html" onMouseOut="PPImgAction('out','roll0-9')" onMouseOver="PPImgAction('over','roll0-9')"><img src="_wp_generated/wp7a96d417.png" width="147" height="31" border="0" name="roll0-9" title="" alt="wp7a96d417.png"></a></div>
    <br><div style="position:absolute; left:33px; top:294px; width:147px; height:32px;">
        <a href="via_ferrata.html" onMouseOut="PPImgAction('out','roll0-10')" onMouseOver="PPImgAction('over','roll0-10')"><img src="_wp_generated/wpb8de7ec1.png" width="147" height="32" border="0" name="roll0-10" title="" alt="wpb8de7ec1.png"></a></div>
    <br><div style="position:absolute; left:33px; top:326px; width:147px; height:31px;">
        <a href="via_cordata.html" onMouseOut="PPImgAction('out','roll0-11')" onMouseOver="PPImgAction('over','roll0-11')"><img src="_wp_generated/wp9322ac5a.png" width="147" height="31" border="0" name="roll0-11" title="" alt="wp9322ac5a.png"></a></div>
    <br><div style="position:absolute; left:33px; top:357px; width:147px; height:32px;">
        <a href="contact.html" onMouseOut="PPImgAction('out','roll0-12')" onMouseOver="PPImgAction('over','roll0-12')"><img src="_wp_generated/wp12362324.png" width="147" height="32" border="0" name="roll0-12" title="" alt="wp12362324.png"></a></div>
    <br><div style="position:absolute; left:33px; top:389px; width:147px; height:31px;">
        <a href="liens.html" onMouseOut="PPImgAction('out','roll0-13')" onMouseOver="PPImgAction('over','roll0-13')"><img src="_wp_generated/wp4a5b3737.png" width="147" height="31" border="0" name="roll0-13" title="" alt="wp4a5b3737.png"></a></div>
    <br><div style="position:absolute; left:15px; top:500px; width:150px; height:132px;">
        <div style="text-align:left;"><div align="center">
     <?php include_once("connect.php");
    include_once("config.php");
     
    $id_conn = connect();
     
    $sid = session_id();
    if ($_SESSION['id']!=$sid)  {
    	$_SESSION['id']=$sid; 
    	$sql="UPDATE visites SET compteur = compteur +1;";
    	$result = mysql_query($sql)or die(mysql_error());  }
    /*$sql="SELECT sid FROM sessions WHERE `sid`=\"".$sid."\"";
     $sql = stripslashes($sql);
    $result = mysql_query($sql)or die(mysql_error());
    if (mysql_num_rows($result)==0){ 
    //sid jamais vus donc nouveau visiteur 
    
    mysql_query("INSERT INTO sessions VALUES($sid);"); 
    mysql_query("UPDATE visites SET compteur = compteur +1;");  }*/
     
    $result = mysql_query("SELECT compteur FROM visites;"); 
    while($row = mysql_fetch_array($result, MYSQL_ASSOC)){ 
    $compteur = $row['compteur']; 
    } 
     
    echo "<br><br><br><br><br><br><br><br><br>";
    echo "<table bordercolor=red border=1><tr><td>visiteurs=".$compteur."</td></tr></table><br>";
    close($id_conn);
    ?>
        </div>
        </div></div>
    <div style="position:absolute; left:4px; top:427px; width:38px; height:23px;">
        <a href="canyoning.html" onMouseOut="PPImgAction('out','roll0-14')" onMouseOver="PPImgAction('over','roll0-14')"><img src="_wp_generated/wp4cc2fd45.png" width="38" height="23" border="0" name="roll0-14" title="" alt="wp4cc2fd45.png"></a></div>
    <div style="position:absolute; left:2px; top:426px; width:192px; height:56px;">
        <p class="Normal-P"><span class="Normal-C"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="Normal-C0">Galerie<br>(Prochainement)</span><span class="Normal-C1"></span></p>
    </div>
    <div style="position:absolute; left:0px; top:3px; width:1024px; height:184px;">
        <img src="_wp_generated/wp196580b8.png" width="1024" height="184" border="0" title="" alt=""></div>
    <div style="position:absolute; left:340px; top:221px; width:680px; height:460px;">
        <p class="Normal-P0"><span class="Normal-C2">«&nbsp;</span><span class="Normal-C3">Vercors-Canyon-Escalade</span><span class="Normal-C4">&nbsp;</span><span class="Normal-C2">». <br></span></p>
        <p class="Normal-P1"><span class="Normal-C2"><br>Ce site ne compte qu’un seul professionnel travaillant pour son compte avec un </span><span class="normal-c11-C">Brevet d'Etat d’Escalade et de Canyon</span><span class="Normal-C2">; il s'agit d'une activité secondaire. Mon activité principale est </span><span class="normal-c11-C">professionnel du secours en montagne.</span><span class="Normal-C2"> <br><br>Ma démarche pédagogique d’encadrement s’inscrit sans contrainte horaire , autour du plaisir, de la découverte, de l’apprentissage des techniques fondamentales d’évolution dans le milieu, ainsi que de la sécurité à laquelle je suis particulièrement sensibilisé.<br><br>Que vous soyez novices, initiés ou confirmés, entre copains ou en famille, le programme adapté à chacun vous permettra d’éprouver de belles sensations, que ce soit pour une descente de Canyon ou une ascension de Falaise.<br><br>Les activités proposées sont réalisables tout au long de l’année en fonction des conditions climatiques&nbsp;; cependant la période la plus favorable est d’Avril à Octobre.<br><br>Vous avez envie de faire plaisir à un proche, à un ami, voici une idée cadeau originale que ce soit pour un anniversaire, un enterrement de vie de jeune fille ou de jeune homme, ou tout simplement pour le plaisir de partager de bons moments.<br><br>Pour garder d’excellents souvenirs de votre sortie Canyon ou Escalade, je vous propose également l’ensemble des photos numériques que je réalise au cours de la sortie. Je vous les envois par e-mail dans les meilleurs délais.<br><br></span></p>
        <p class="Normal-P"><span class="Normal-C2">L'ensemble du matériel technique est mis à votre disposition.</span><span class="normal-p2-C"></span></p>
    </div>
    <div style="position:absolute; left:2px; top:186px; width:1017px; height:11px;">
        <img src="_wp_generated/wpdc15e139.png" width="1017" height="11" border="0" title="" alt=""></div>
    <div style="position:absolute; left:888px; top:661px; width:132px; height:21px;">
        <p class="Normal-P"><span class="Normal-C5"><a href="contact.html" style="">En savoir plus ...</a></span></p>
    </div>
    <div style="position:absolute; left:318px; top:0px; width:682px; height:241px;">
        <img src="_wp_generated/wpe1e74f2b.png" width="682" height="241" border="0" title="" alt=""></div>
    <div style="position:absolute; left:2px; top:2px; width:1017px; height:16px;">
        <img src="_wp_generated/wp801f06a7.png" width="1017" height="16" border="0" title="" alt=""></div>
    <div style="position:absolute; left:188px; top:265px; width:141px; height:200px;">
        <div style="text-align:left;"><div align="center">
        <SCRIPT LANGUAGE="JavaScript" SRC="http://www.meteofrance.com/FR/partenaires/vignetteMeteoVille2.jsp?LIEUID=FR38205" TYPE="text/javascript"></SCRIPT>
        </div>	</div></div>
    <div style="position:absolute; left:820px; top:25px; width:200px; height:56px;">
        <p class="Normal-P2"><span class="Normal-C6">Dernière mise à jour le 07/07/2008 </span></p>
    </div>
    <div style="position:absolute; left:0px; top:16px; width:517px; height:53px;">
        <p class="Normal-2-P"><span class="Normal-2-C"> &nbsp;</span><span class="Normal-2-C0">&nbsp;&nbsp;&nbsp;</span><span class="Normal-2-C1">&nbsp;&nbsp;Bienvenue sur le site de ...</span><span class="Normal-C1"></span></p>
    </div>
    <div style="position:absolute; left:184px; top:700px; width:840px; height:53px;">
        <applet code="SerifMarquee.class" width="840" height="53">
            <param name="Global" value="FPS:60;BACKGROUND:255,255,255;">
            <param name="Event1" value="TYPE:TEXT;SPEED:7;TEXT:;FONT:Arial;SIZE:26;STYLE:BOLD;COLOUR:255,0,0;POSITION:MIDDLE;DIRECTION:LEFTWARDS;">
        </applet>
    </div>
     
    <noscript>
    </div>
    </center>
    </noscript>
    <script type="text/javascript">
    <!--
    if (!document.layers) { document.write("</div></center>"); }
    //-->
    </script>
    </body>
    </html>

  6. #6
    Modérateur
    Avatar de sabotage
    Homme Profil pro
    Inscrit en
    Juillet 2005
    Messages
    29 208
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juillet 2005
    Messages : 29 208
    Par défaut
    En recopiant ton code, je n'ai pas l'erreur.

    Ouvre ton fichier avec Notepad++ et dans le menu "format" controle dans quel encodage il est.
    N'oubliez pas de consulter les FAQ PHP et les cours et tutoriels PHP

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Problème pour lancer une session après upgrade
    Par Elodie11 dans le forum Debian
    Réponses: 8
    Dernier message: 13/11/2013, 16h21
  2. Lancer une session sur mon 2eme serveur
    Par student_php dans le forum Langage
    Réponses: 1
    Dernier message: 27/06/2012, 00h12
  3. expiration d'une session en php
    Par alex61 dans le forum Langage
    Réponses: 3
    Dernier message: 09/12/2010, 16h43
  4. Lancer une session telnet automatiquement
    Par Pragmateek dans le forum Windows
    Réponses: 2
    Dernier message: 23/05/2006, 16h37
  5. [PHP-JS] comment lancer une fonction javascript a partir de php
    Par amika dans le forum Général JavaScript
    Réponses: 4
    Dernier message: 06/06/2005, 19h23

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo