Futallaby imgboard

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Eien
-


Joined: 28 Nov 2004
Posts: 10
Location: Finland

PostPosted: Sun Dec 12, 2004 4:04 pm    Post subject: Futallaby imgboard Reply with quote

I installed this on my server.
It works quite fine, exept it only opens with IE.
I mean that when I use Firefox or Opera (for example), they just show the code of the page, nothing else.
So, does someone know what is the problem?
I have installed PHP and MySQL, they are not the problem!

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="jp"><head>
<meta http-equiv="content-type"  content="text/html;charset=utf-8" />
<!-- meta HTTP-EQUIV="pragma" CONTENT="no-cache" -->
<link rel="stylesheet" type="text/css" href="futaba.css" title="Standard Futaba" />
<title>/c/ - Cute/Anime</title>
<script language="JavaScript" type="script"><!--
function l(e){var P=getCookie("pwdc"),N=getCookie("namec"),i;with(document){for(i=0;i<forms.length;i++){if(forms[i].pwd)with(forms[i]){if(!pwd.value)pwd.value=P;}if(forms[i].name)with(forms[i]){if(!name.value)name.value=N;}}}};function getCookie(key, tmp1, tmp2, xx1, xx2, xx3) {tmp1 = " " + document.cookie + ";";xx1 = xx2 = 0;len = tmp1.length;   while (xx1 < len) {xx2 = tmp1.indexOf(";", xx1);tmp2 = tmp1.substring(xx1 + 1, xx2);xx3 = tmp2.indexOf("=");if (tmp2.substring(0, xx3) == key) {return(unescape(tmp2.substring(xx3 + 1, xx2 - xx1 - 1)));}xx1 = xx2 + 1;}return("");}
//--></script>
</head>
<body>
 
<div class="adminbar">
[<a href="../" target="_top">Home</a>]
[<a href="imgboard.php?mode=admin">Manage</a>]
</div>
<div class="logo">/c/ - Cute/Anime</div><hr /><br /><br /><div align="center"><div class="postarea">
<form action="imgboard.php" method="post" enctype="multipart/form-data">
<input type="hidden" name="mode" value="regist" />

<input type="hidden" name="MAX_FILE_SIZE" value="512000" />
<table>
<tr><td class="postblock" align="left">Name</td><td align="left"><input type="text" name="name" size="28" /></td></tr>
<tr><td class="postblock" align="left">E-mail</td><td align="left"><input type="text" name="email" size="28" /></td></tr>
<tr><td class="postblock" align="left">Subject</td><td align="left"><input type="text" name="sub" size="35" />
<input type="submit" value="Submit" /></td></tr>
<tr><td class="postblock" align="left">Comment</td><td align="left"><textarea name="com" cols="48" rows="4"></textarea></td></tr>
<tr><td class="postblock" align="left">File</td>
<td><input type="file" name="upfile" size="35" />
[<label><input type="checkbox" name="textonly" value="on" />No File</label>]</td></tr>
<tr><td align="left" class="postblock" align="left">Password</td><td align="left"><input type="password" name="pwd" size="8" maxlength="8" value="" />(Password used for file deletion)</td></tr>
<tr><td colspan="2">
<div align="left" class="rules"><ul><li>Supported file types are: GIF, JPG, PNG</li>
<li>Maximum file size allowed is 500 KB.</li>
<li>Images greater than 250x250 pixels will be thumbnailed.</li></ul></div></td></tr></table></form></div></div><hr /><form action="imgboard.php" method="post"><span class="filesize">File : <a href="src/1102828907746.png" target="_blank">1102828907746.png</a>-(319298 B)</span><a href="src/1102828907746.png" target="_blank"><img src="src/1102828907746.png" border="0" align="left" width="250" height="187" hspace="20" alt="319298 B" /></a><br /><input type="checkbox" name="9" value="delete" /><span class="filetitle">No Subject</span>   
Name <span class="postername">Anonymous</span> 04/12/12(Sun)14:21 No.9 &nbsp;
[<a href="imgboard.php?res=9">Reply</a>]
<blockquote>No Text</blockquote><br clear="left" /><hr />
<span class="filesize">File : <a href="src/1102825416662.jpg" target="_blank">1102825416662.jpg</a>-(207450 B)</span><a href="src/1102825416662.jpg" target="_blank"><img src="src/1102825416662.jpg" border="0" align="left" width="176" height="250" hspace="20" alt="207450 B" /></a><br /><input type="checkbox" name="6" value="delete" /><span class="filetitle">Catgirls &lt;3</span>   
Name <span class="postername">Eien</span> 04/12/12(Sun)13:23 No.6 &nbsp;
[<a href="imgboard.php?res=6">Reply</a>]
<blockquote>Kawaii~</blockquote><br clear="left" /><hr />
<table align="right"><tr><td nowrap="nowrap" align="center">
<input type="hidden" name="mode" value="usrdel" />Delete Post [<input type="checkbox" name="onlyimgdel" value="on" />File Only]<br />
Password <input type="password" name="pwd" size="8" maxlength="8" value="" />
<input type="submit" value="Delete" /></td></tr></table></form>
<script language="JavaScript" type="script"><!--
l();
//--></script><table><tr><td>Previous</td><td>[0] </td><td>Next</td></tr></table><br clear="all" />

<div class="footer"><a href="http://www.ecchineko.net/imgboard/imgboard.htm" target="_top">/c/</a> <a href="http://www.ecchineko.net/imgboard/l/imgboard.htm" target="_top">/l/</a>
<a href="http://www.ecchineko.net/imgboard/a/imgboard.htm" target="_top">/a/</a>
<a href="http://www.ecchineko.net/imgboard/w/imgboard.htm" target="_top">/w/</a> -
<a href="http://php.s3.to" target="_blank">GazouBBS</a> + <a href="http://www.2chan.net/" target="_blank">futaba</a> + <a href="http://www.1chan.net/futallaby/" target="_blank">futallaby</a> -</div>

</body></html>


So this it what it shows.
Help me :)
Back to top View user's profile Send private message
Glitch2082
-


Joined: 02 Dec 2004
Posts: 194

PostPosted: Sun Dec 12, 2004 11:46 pm    Post subject: Reply with quote

All i see is html, so make sure the file extension is .htm or .html. If its .asp, etc then you need to install asp or etc. on your server.
_________________
int main() {
cout << "Im Pro Apache";
cin.get();
}
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group