Tom's Guide > Forum > Programmation > Probleme d'affichage page php
Mot :    Pseudo :           
 

Salut ! j'voudrais savoir pk le code la :


<html>
<?php
if(!isset($_SESSION[pseudo]))
{
echo "<script language='javascript'>document.location='espace_membre.php?page=1'</script>";
}
else
{
?>
<head>

<title>
Alice & David :)
</title>
</head>
<body bgcolor="000000" text="ffcc33" link=ffcc33 vlink=ffcc33>
<font face="arial"</font>
<strong>
<big>
<center>
<br>
Bienvenue sur Notre site :p
</center>
<br>
<br>
<center>
<embed src="news.swf" quality="high" bgcolor="#000000" width="350" height="152" name="news" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</center>
</big>
<center>
<br>
<br>
<br>
<embed src="menu.swf" quality="high" bgcolor="#000000" width="742" height="50" name="news" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
<br>
<embed src="Alice et david.swf" quality="high" bgcolor="#000000" width="350" height="152" name="news" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</center>
</strong>

</body>
</html>

m'affiche une page blanche svp , merci :)

Liens sponsorisés
Inscrivez-vous ou connectez-vous pour masquer ceci.

ton script marche a peu pres

il affiche la page "espace_membre.php?page=1"

sauf qu'il manqait un <? } ?> a la fin...

version corrigée
--------------------------------------
<html>
<?php
if(!isset($_SESSION['pseudo']))
{
echo "<script language='javascript'>document.location='espace_membre.php?page=1'</script>";
}
else
{
?>
<head>

<title>
Alice & David :)
</title>
</head>
<body bgcolor="000000" text="ffcc33" link=ffcc33 vlink=ffcc33>
<font face="arial"</font>
<strong>
<big>
<center>
<br>
Bienvenue sur Notre site :p
</center>
<br>
<br>
<center>
<embed src="news.swf" quality="high" bgcolor="#000000" width="350" height="152" name="news" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</center>
</big>
<center>
<br>
<br>
<br>
<embed src="menu.swf" quality="high" bgcolor="#000000" width="742" height="50" name="news" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
<br>
<embed src="Alice et david.swf" quality="high" bgcolor="#000000" width="350" height="152" name="news" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</center>
</strong>

</body>
<?
}
?>
</html>

Répondre à quazardous

d'accord maintenant ca affiche , mais ca mets pas les images flash .swf :$ merci :$

Répondre à jaloux

ta vérifié que les fichiers .swf sont biens sur le FTP, dans le meme dossier ?
car le script me semble bon...

Répondre à zorro@IDN

Oui bien sur c'est sur le ftp :s et ca marche pas :(

Répondre à jaloux

Par contre pour faire plus propre, ton code javascript il faut le mettre entre les balises <head> et </head> ;-)

Et il faut que tes swf soient à la même racine, est ce le cas ?

Répondre à matchichi@IDN

Personne pour m'aider alors ? :$ svppppp :$

Répondre à jaloux

<embed src="menu.swf" quality="high" bgcolor="#000000" width="742" height="50" name="news" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

tU n'as pas un problème à cause de ton sameDomain ? Je n'avais jamais vu ce parametre mais je pense qu'il ne peut fonctionner comme les domaines sont diffrents ...

Répondre à A380@IDN

mon same domain ?
j'viens de tester ce que Tu ma donner ca affiche tjrs pas mon menu :( dsl

Répondre à jaloux

Nonon c'était une citation de ton code. essaye ça :

<embed src="menu.swf" quality="high" bgcolor="#000000" width="742" height="50" name="news" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />

Répondre à A380@IDN

Dsl mais cela ne marche pas : /

Répondre à jaloux
Tom's Guide > Forum > Programmation > Probleme d'affichage page php
Aller à :

Il y a 2466 utilisateurs connus et inconnus. Pour voir la liste des connectés connus, cliquez ici.

Attention

Vous allez répondre sur un sujet resté inactif pendant plus de 6 mois.
Assurez-vous d'apporter des éléments nouveaux à la discussion avant de poursuivre.

Répondre Annuler
Liens