Shoutbox

Help with PHP Needed. - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Help with PHP Needed. (/showthread.php?tid=67261)

Help with PHP Needed. by Eddie on 10-13-2006 at 08:56 AM

On my website, when i use Firefox why would it always ask me to download the files that are "x.php" ?? :S

Check my 2nd reply :D


RE: Download "x.php" ?? by John Anderton on 10-13-2006 at 08:59 AM

quote:
Originally posted by Shadow
On my website, when i use Firefox why would it always ask me to download the files th
O.o
Your server settings are screwed?
RE: Download "x.php" ?? by Eddie on 10-13-2006 at 09:00 AM

Ermm, its for "Shoutcast Query" for my Radio :S I dont think it uses my server.
And all other .php files work except two which collect stats and "DJ Says" :S


RE: Download "x.php" ?? by John Anderton on 10-13-2006 at 09:10 AM

Mind linking to your site? And also the file in question (the source could be posted unless its got sensitive data like passwords or anything. If its simple and small, post it)


RE: Download "x.php" ?? by Eddie on 10-13-2006 at 09:31 AM

www.haboz.net/radio/ << Its a Habbo Fansite Radio...
Heres one of the codes.
EDIT:

code:
<?PHP

include 'query.php';

if($streamdata["stream"]["status"]  == "0"){
echo"<meta http-equiv=\"refresh\" content=\"30\"><link rel=\"stylesheet\" href=\"style.css\"><img src=\"images/offline.gif\">";
}
else{
echo"<meta http-equiv=\"refresh\" content=\"60\"><link rel=\"stylesheet\" href=\"style2.css\"><div style=\"width:134; height:95; padding-top:30; padding-left:8; padding-right:8; padding-bottom:8; background-image:URL(images/djsays.gif);
background-repeat:no-repeat;
background-position: center center;\"><table width=134 height=92 cellpadding=0 cellspacing=0><tr><td align=center valign=center><font face=\"tahoma\" color=\"black\" size=\"1\">". $streamdata["stream"]["genre"]. "</font></td></tr></table></div>";
}

?>

Here is one of the codes :\
RE: Help with PHP Needed. by Eljay on 10-13-2006 at 11:57 AM

umm are you sure the server even supports PHP?


RE: Help with PHP Needed. by Eddie on 10-13-2006 at 12:55 PM

Yes, my server website host does support php.