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 :

[FTP] probleme avec le serveur


Sujet :

Langage PHP

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre confirmé
    Inscrit en
    Février 2006
    Messages
    59
    Détails du profil
    Informations forums :
    Inscription : Février 2006
    Messages : 59
    Par défaut [FTP] probleme avec le serveur
    bonjour
    j ai un site en php et parfois je trouve des trucs bizzares sur le site
    je trouve un '<' au debut de la page affiche ou un '?' et quand je consulte mon code je vois pas de probleme ds le codage php
    donc pour ne plus afficher ces trucs bizarres je supprime par exemple le crochet'<' et mon code devient :
    ?php
    ........
    ?>
    pourque l 'affichage de la page sur internet ne presente pas de probleme

    merci de votre aide

  2. #2
    Membre confirmé
    Profil pro
    Inscrit en
    Juillet 2006
    Messages
    85
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juillet 2006
    Messages : 85
    Par défaut
    Bonjour,

    Pourais-tu nous monter un code qui te pose probleme ?

    ...ce n'est certainement qu'un pbl de syntaxe.

  3. #3
    Membre confirmé
    Inscrit en
    Février 2006
    Messages
    59
    Détails du profil
    Informations forums :
    Inscription : Février 2006
    Messages : 59
    Par défaut
    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
    <?php
    require_once('Connections/oeuvre.php');
     
    include_once ('admin/stats.php');
    include_once ('admin/verif_page.php');
     
     
    session_register("achats");
     
    // ---------------------------------------------------------------------
    $test=0;
    if (isset($_GET['ajout']) && $_GET['ajout'] == "AJOUT")
      { if (isset($_SESSION['achats'])){
     	for ($i=0; $i<count($_SESSION['achats']); $i++)
    		{ if ( $_SESSION['achats'][$i]['refstock'] == $_GET['id'])
    			{ $test=1;  				
    			}//if de la boucle for
    		} //for
    	}//if 
    		if ($test==0){
    		$_SESSION['achats'][] =
    		array ("refstock" => $_GET['id'], "qte" => 1, "origine"=> 1);
    		} //if array
      }//if
     
    // --------------------------------------------------------------------
     
    if (isset($_GET['lang'])){
    	if ($_GET['lang']=="fr" OR $_GET['lang']=="en") {
    		$lang=$_GET['lang'];
    	} //if $_GET
    } //if isset
    else {
    $lang="fr";
    } //else
     
    if (isset($_GET['rub'])){
    $rub=$_GET['rub'];
    }
     
    mysql_select_db($database_oeuvre, $oeuvre);
    $query_liens = "SELECT newsletter, accueil_texte_fr, accueil_texte_en, accueil_repro, accueil_expo FROM liens";
    $liens = mysql_query($query_liens, $oeuvre) or die(mysql_error());
    $row_liens = mysql_fetch_assoc($liens);
    $totalRows_liens = mysql_num_rows($liens);
     
     
     
    ?>
    <html>
    <head>
    <title>Galerie Natalie Boldyreff</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <?php include "metas.php"; ?>
    <style type="text/css">
    <!--
    body {
    	margin-left: 0px;
    	margin-top: 0px;
    	margin-right: 0px;
    	margin-bottom: 0px;
    }
    -->
    </style>
    <link href="shop.css" rel="stylesheet" type="text/css">
    <style type="text/css">
    <!--
    .Style2 {	font-size: 18px;
    	font-weight: bold;
    	color: #FFFFFF;
    }
    -->
    </style>
    </head>
    <body bgcolor="#ffffff" <?php if (isset($_GET['ajout']) && $_GET['ajout'] == "AJOUT") { 
    echo "onLoad=\"window.open('caddie.php?lang=".$lang."','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=0, copyhistory=0, menuBar=0, width=600, height=450, left=250, top=50');return(false)\""; }?>>
    <table height="100%" border="0" cellpadding="0" cellspacing="0">
     
      <tr align="left" valign="top">
       <td width="200" background="images/wall2.jpg"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="200" height="72">
         <param name="flash_component" value="ImageViewer.swc">
         <param name="movie" value="images/haut-menu.swf">
         <param name="quality" value="high">
         <param name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:true,frameShow:false,slideDelay:5,captionSize:10,captionColor:#333333,titleSize:10,transitionsType:'Random',titleColor:#333333,slideAutoPlay:false,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:2,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}">
         <embed src="images/haut-menu.swf" quality="high" flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:true,frameShow:false,slideDelay:5,captionSize:10,captionColor:#333333,titleSize:10,transitionsType:'Random',titleColor:#333333,slideAutoPlay:true,imageURLs:['img1.jpg','img2.jpg','img3.jpg'],slideLoop:false,frameThickness:2,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#FFFFFF,imageCaptions:[]}" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="200" height="72"></embed>
       </object></td>
       <td width="175" height="86"><a name="haut"></a><img name="interfacetotalephp_r1_c2" src="images/decoupe/interface-totale-php_r1_c2.png" width="175" height="86" border="0" alt=""></td>
       <td width="572" height="86" valign="bottom" background="images/decoupe/interface-totale-php_r1_c3.jpg"><table width="572" height="50" border="0">
         <tr>
           <td width="30">&nbsp;</td>
           <td width="290" class="head1"> <?php 	
    	   include "menu-haut-inc.php";   
    	   	 ?></td>
    <td width="140"> <?php echo '<font color=#73804D size=3><center>'; 
    if($lang=="fr" )
    {echo "<a href=\"repro.php?rub=".$_GET['rub']."&lang=".$_GET['lang']."\""; ?> onClick="window.open('caddie.php?lang=<?php echo $lang; ?>','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=0, copyhistory=0, menuBar=0, width=600, height=450, left=250, top=50');return(false)"><?echo'<font color=#73804D><B> Voir mon panier</B></font></a>';}else{echo "<a href=\"repro.php?rub=".$_GET['rub']."&lang=".$_GET['lang']."\""; ?> onClick="window.open('caddie.php?lang=<?php echo $lang; ?>','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=0, copyhistory=0, menuBar=0, width=600, height=450, left=250, top=50');return(false)"><?echo'<font color=#73804D><B> View my basket</B></font></a>';}
    echo'</center></font>'; ?> </td>
           <td width="90" valign="middle" class="VotreCarte"><?php echo "<a href=\"expo.php?rub=".$_GET['rub']."&lang=".$_GET['lang']."\""; ?> onClick="window.open('caddie.php?lang=<?php echo $lang; ?>','_blank','toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=0, copyhistory=0, menuBar=0, width=600, height=450, left=250, top=50');return(false)"><img src="images/caddie-haut.jpg" width="35" height="24" border="0"></A></td>
         </tr>
       </table></td>
       <td width="100%" background="images/decoupe/interface-totale-php_r1_c18.jpg">&nbsp;</td>
     
      </tr>
      <tr>
        <td width="200" height="450" align="center" valign="top" background="images/decoupe/interface-totale-php_r2_c1.jpg"><?php include "menu-$lang.php";  ?></td>
       <td colspan="3" rowspan="2" align="center" valign="middle" bgcolor="#996600"  background="images/wall.jpg" > <?php 
     
    	   if ($lang=="en") {
    	   include "show_expo_en.php";
    	   } //if
    	   else { 
    	   include "show_expo_fr.php";
    	   } //else
     
     
     
       ?>
         <br>
         <br>
        <span class="reference">&copy; 2003-<? echo date("Y"); ?> - Galerie Natalie Boldyreff</span></td>
      </tr>
      <tr>
        <td height="100%" valign="top" background="images/wall2.jpg">&nbsp;</td>
      </tr>
    </table>
    </body>
    </html>
    <?php
    mysql_free_result($liens);
    ?>
    et apres que je met sur le ftp il ya des lignes de codes qui s ajoutent toutes seules
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    </table>
    </body>
    </html>
    <?php
    mysql_free_result($liens);
    ?></td>
      </tr>
    </table>
    </body>
    </html>

Discussions similaires

  1. Problème avec un serveur DHCP
    Par HNT dans le forum Debian
    Réponses: 5
    Dernier message: 16/12/2006, 14h28
  2. Problème avec mon serveur Débian
    Par rpd05 dans le forum Administration système
    Réponses: 7
    Dernier message: 28/06/2006, 22h41
  3. [FTP] Probleme avec un Mailto
    Par seydipogo dans le forum Langage
    Réponses: 10
    Dernier message: 24/06/2006, 10h47
  4. Probleme avec mon serveur sql
    Par hitman94 dans le forum Outils
    Réponses: 4
    Dernier message: 30/05/2006, 01h01
  5. [FTP] probleme avec un Download
    Par byvan dans le forum Langage
    Réponses: 4
    Dernier message: 20/04/2006, 16h20

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