Je testais voir si un de mes fichiers php était toujours ok, et finalement, gros soucis avec puisque Firefox ne plante pas mais je perd les 3 icônes en haut à droite (réduire, agrandir, fermer) et l'accès au fichier ne se fait pas alors que sous IE9 tout marche nickel et que sous les FF d'avant il n'y avait pas de soucis :
Je vous invite à l'essayer pour me dire si vous avez le même problème, qui concerne donc Java :
http://thefpsb.penspinning.fr/irc.php
Donc il s'agit de se connecter au salon irc du forum et celui-ci récupère votre nom d'utilisateur.
Voici le code source :
Code : Tout sélectionner
<?php
define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
$user->session_begin();
$auth->acl($user->data);
$user->setup('');
if ($user->data['user_id'] != ANONYMOUS)
{
$nick = str_replace(CHR(32),"", $user->data['username']);
}
else
{
$nick = "GUEST".rand(0, 1000);
}
?>
<html>
<head>
<title>IRC FPSB</title>
</head>
<body>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="13">
<td colspan="2" rowspan="2">
<applet code="IRCApplet.class" archive="irc.jar,pixx.jar" codebase="http://webchat.evolu.net/pjirc/v2/" width="100%" height="100%">
<param name="CABINETS" value="">
<param name="nick" value="<?php print $nick; ?>">
<param name="alternatenick" value="<?php print $nick; ?>_">
<param name="fullname" value="<?php print $nick; ?>">
<param name="host" value="irc.quakenet.org">
<param name="gui" value="pixx">
<param name="command1" value="join #fpsb">
<param name="quitmessage" value="Au revoir valeureux penspinners !">
<param name="asl" value="true">
<param name="pixx:helppage" value="http://www.pjirc.com/help.php">
<param name="style:bitmapsmileys" value="true">
<param name="style:smiley1" value=":) img/sourire.gif">
<param name="style:smiley2" value=":-) img/sourire.gif">
<param name="style:smiley3" value=":-D img/content.gif">
<param name="style:smiley4" value=":d img/content.gif">
<param name="style:smiley5" value=":-O img/OH-2.gif">
<param name="style:smiley6" value=":o img/OH-1.gif">
<param name="style:smiley7" value=":-P img/langue.gif">
<param name="style:smiley8" value=":p img/langue.gif">
<param name="style:smiley9" value=";-) img/clin-oeuil.gif">
<param name="style:smiley10" value=";) img/clin-oeuil.gif">
<param name="style:smiley11" value=":-( img/triste.gif">
<param name="style:smiley12" value=":( img/triste.gif">
<param name="style:smiley13" value=":-| img/OH-3.gif">
<param name="style:smiley14" value=":| img/OH-3.gif">
<param name="style:smiley15" value=":'( img/pleure.gif">
<param name="style:smiley16" value=":$ img/rouge.gif">
<param name="style:smiley17" value=":-$ img/rouge.gif">
<param name="style:smiley18" value="(H) img/cool.gif">
<param name="style:smiley19" value="(h) img/cool.gif">
<param name="style:smiley20" value=":-@ img/enerve1.gif">
<param name="style:smiley21" value=":@ img/enerve2.gif">
<param name="style:smiley22" value=":-S img/roll-eyes.gif">
<param name="style:smiley23" value=":s img/roll-eyes.gif">
<param name="style:floatingasl" value="true">
<param name="pixx:highlight" value="true">
<param name="pixx:highlightnick" value="true">
</applet>
</td>
<td width="9">
<img width="9" height="100%" border="0" src="shadows/shadow.ne.gif">
</td>
</tr>
<tr>
<td width="9">
<img width="9" height="100%" border="0" src="shadows/shadow.e.gif">
</td>
</tr>
<tr height="9">
<td width="13"><img width="13" height="9" border="0" src="shadows/shadow.sw.gif"></td>
<td><img width="100%" height="9" border="0" src="shadows/shadow.s.gif"></td>
<td><img width="9" height="9" border="0" src="shadows/shadow.se.gif"></td>
</tr>
</table>
</body>
</html>