Fejl i side??
På www.iamby.dk har jeg et problem med at min kode pludeselig ikke bliver hentet efter et vis antal tegn..?? Jeg bruger PHP og har et par script (JavaScript + PHP) og en enkelt \"include\" i min index fil.
Hvad er der galt???
Jeg har haft spørgsmålet oppe før men uden svar. Derfor bliver der kun uddelt point ved dette spørgsmål hvis det virkelig hjælper. Tak :)
Se www.iamby.dk
---------------------------------
Her er koden (index.php)
<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\">
<HTML>
<HEAD>
<!-- Minus AutoDato -->
<TITLE>iamby</TITLE>
<META NAME=\"Generator\" CONTENT=\"Stone\'s WebWriter 3\">
<LINK REL=\"stylesheet\" HREF=\"iambyfor.css\" TYPE=\"text/css\">
<SCRIPT LANGUAGE=\"JavaScript1.2\" SRC=\"iambysta.js\"></SCRIPT>
</HEAD>
<SCRIPT>
img = new Image;
function changeImg(imgName) {
img.src = imgName;
document.howpic.src = img.src;
}
img = new Image;
function changeImg1(imgName) {
img.src = imgName;
document.goto1.src = img.src;
}
img = new Image;
function changeImg2(imgName) {
img.src = imgName;
document.goto2.src = img.src;
}
img = new Image;
function changeImg3(imgName) {
img.src = imgName;
document.goto3.src = img.src;
}
img = new Image;
function changeImg4(imgName) {
img.src = imgName;
document.goto4.src = img.src;
}
</SCRIPT>
<BODY BGCOLOR=\"#FFFFFF\" TEXT=\"#000000\" LINK=\"#D0720E\" VLINK=\"#D0720E\" ALINK=\"#D0720E\">
<FORM ACTION=\"http://www.iamby.dk/cgi-bin/a.cgi\" METHOD=POST>
<INPUT type=hidden name=\"mail_til\" value=\"iamby@iamby.dk\">
<INPUT type=hidden name=\"mail_emne\" value=\"iAmby Newsletter Signup\">
<INPUT type=hidden name=\"ok_html\" value=\"http://www.iamby.dk/side.htm\">
<input type=hidden name=\">\" value=\"New recipient : Newsletter\">
<input type=hidden name=\">\" value=\"------------------------------\">
<input type=hidden name=\">\" value=\"\">
<DIV STYLE=\"text-align:center\">
<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">
<TR valign=\"bottom\">
<TD width=\"79\"><BR></TD>
</TR>
<TR>
<TD><IMG SRC=\"pic/u_logo.gif\" BORDER=\"0\" WIDTH=\"79\" HEIGHT=\"11\" ALIGN=\"bottom\" ALT=\"\"></TD>
<TD><IMG SRC=\"pic/topbar2.gif\" BORDER=\"0\" WIDTH=\"247\" HEIGHT=\"11\" ALIGN=\"bottom\" ALT=\"\"><IMG SRC=\"pic/topbar3.gif\" BORDER=\"0\" WIDTH=\"418\" HEIGHT=\"11\" ALIGN=\"bottom\" ALT=\"\"></TD>
</TR>
</TABLE>
<TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">
<TR valign=\"top\">
<TD width=\"79\"><script LANGUAGE=\"JavaScript\">
var NumberOfAds = 3;
var now = new Date();
var sec = now.getSeconds();
var AdNumber = sec % NumberOfAds;
AdNumber +=1;
if (AdNumber==1)
{
Graphic=\"sidebg/01.gif\";
width = \"79\";
height = \"230\";
}
if (AdNumber==2)
{
Graphic=\"sidebg/02.gif\";
width = \"79\";
height = \"230\";
}
if (AdNumber==3)
{
Graphic=\"sidebg/03.gif\";
width = \"79\";
height = \"230\";
}
document.write(\'<img src=\\\"\' + Graphic + \'\\\" width=\');
document.write(width + \' height=\' + height + \' \');
document.write(\'border=0>\');
</script></TD>
<TD width=\"250\"><IMG SRC=\"pic/1_top_over.gif\" BORDER=\"0\" WIDTH=\"246\" HEIGHT=\"15\" ALIGN=\"bottom\" ALT=\"\"><IMG SRC=\"pic/1_dots_r.gif\" BORDER=\"0\" WIDTH=\"4\" HEIGHT=\"15\" ALIGN=\"bottom\" ALT=\"\"><BR><IMG SRC=\"pic/1_dots_top.gif\" BORDER=\"0\" WIDTH=\"250\" HEIGHT=\"4\" ALIGN=\"bottom\" ALT=\"\"><TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">
<TR>
<TD width=\"15\"></TD>
<TD width=\"158\"><IMG SRC=\"pic/1_newsplus.gif\" BORDER=\"0\" WIDTH=\"158\" HEIGHT=\"5\" ALIGN=\"bottom\" ALT=\"\"></TD>
<TD><IMG SRC=\"pic/1_dots_over_r.gif\" BORDER=\"0\" WIDTH=\"4\" HEIGHT=\"26\" ALIGN=\"bottom\" ALT=\"\"></TD>
<TD><IMG SRC=\"pic/white2x2.gif\" BORDER=\"0\" WIDTH=\"8\" HEIGHT=\"1\" ALIGN=\"bottom\" ALT=\"\"><IMG SRC=\"pic/1_6.gif\" BORDER=\"0\" WIDTH=\"53\" HEIGHT=\"5\" ALIGN=\"bottom\" ALT=\"\"><IMG SRC=\"pic/white2x2.gif\" BORDER=\"0\" WIDTH=\"8\" HEIGHT=\"1\" ALIGN=\"bottom\" ALT=\"\"></TD>
<TD><IMG SRC=\"pic/1_dots_over_r_2.gif\" BORDER=\"0\" WIDTH=\"4\" HEIGHT=\"26\" ALIGN=\"bottom\" ALT=\"\"></TD></TR></TABLE><TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">
<TR valign=\"top\">
<TD width=\"15\"></TD>
<TD width=\"241\"><FONT FACE=\"Verdana\" SIZE=\"2\" COLOR=\"#F69B30\"><B>iAMBY 2|BETA ONLINE</B></FONT><br><IMG SRC=\"pic/white2x2.gif\" BORDER=\"0\" WIDTH=\"2\" HEIGHT=\"4\" ALIGN=\"bottom\" ALT=\"\"><BR><FONT FACE=\"Verdana\" SIZE=\"1\" COLOR=\"#505050\">The new super fly version of iAmby is now online! Check out that new design!<br><br>The reason why we call it the beta, is to have a bad apology for you hitting a 404 error on one of the subsites. But we\'re working on it, ok!?<br><br>Don\'t hesitate to send one of those emails. Thanks!</FONT></TD>
<TD width=\"4\"><IMG SRC=\"pic/1_news_r.gif\" BORDER=\"0\" WIDTH=\"4\" HEIGHT=\"181\" ALIGN=\"bottom\" ALT=\"\"></TD>
</TR></TABLE><IMG SRC=\"pic/1_news_u.gif\" BORDER=\"0\" WIDTH=\"250\" HEIGHT=\"4\" ALIGN=\"bottom\" ALT=\"\"></TD>
<TD width=\"415\"><TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">
<TR valign=\"top\">
<TD><IMG SRC=\"pic/2_1_pic.gif\" BORDER=\"0\" WIDTH=\"20\" HEIGHT=\"230\" ALIGN=\"bottom\" ALT=\"\"></TD>
<TD width=\"270\" height=\"230\" background=\"pic/1_5_bg.gif\"><TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">
<TR>
<TD height=\"14\"></TD>
</TR>
<TR>
<TD width=\"270\"><TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">
<TR>
<TD width=\"270\"><DIV STYLE=\"text-align:center\"><IMG SRC=\"pic/feat_top.gif\" BORDER=\"0\" WIDTH=\"250\" HEIGHT=\"11\" ALIGN=\"bottom\" ALT=\"\"></DIV></TD>
</TR>
<TR>
<TD width=\"270\"><TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">
<TR>
<TD width=\"10\"></TD>
<TD width=\"250\" height=\"170\" background=\"pic/feat_bg.gif\"><?
include(\'feat/feat.php\');
?></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD width=\"270\"><DIV STYLE=\"text-align:center\"><IMG SRC=\"pic/feat_bottom.gif\" BORDER=\"0\" WIDTH=\"250\" HEIGHT=\"2\" ALIGN=\"bottom\" ALT=\"\"></DIV></TD>
</TR>
<TR>
<TD height=\"10\"></TD>
</TR>
<TR>
<TD width=\"270\"><DIV STYLE=\"text-align:center\"><IMG SRC=\"pic/goto_1.gif\" BORDER=\"0\" WIDTH=\"49\" HEIGHT=\"12\" ALIGN=\"bottom\" ALT=\"\"><a href=\"news_arc.htm\" onMouseover=\"changeImg1(\'pic/goto_2_on.gif\')\" onMouseout=\"changeImg1(\'pic/goto_2.gif\')\"><IMG SRC=\"pic/goto_2.gif\" BORDER=\"0\" WIDTH=\"88\" HEIGHT=\"12\" ALIGN=\"bottom\" ALT=\"\" name=\"goto1\"></a><a href=\"crew_nfo.htm\" onMouseover=\"changeImg2(\'pic/goto_3_on.gif\')\" onMouseout=\"changeImg2(\'pic/goto_3.gif\')\"><IMG SRC=\"pic/goto_3.gif\" BORDER=\"0\" WIDTH=\"60\" HEIGHT=\"12\" ALIGN=\"bottom\" ALT=\"\" name=\"goto2\"></a><a href=\"contact.htm\" onMouseover=\"changeImg3(\'pic/goto_4_on.gif\')\" onMouseout=\"changeImg3(\'pic/goto_4.gif\')\"><IMG SRC=\"pic/goto_4.gif\" BORDER=\"0\" WIDTH=\"53\" HEIGHT=\"12\" ALIGN=\"bottom\" ALT=\"\" name=\"goto3\"></a></DIV></TD>
</tr>
</TABLE>
</TD>
</TR>
</TABLE></TD>
<TD width=\"150\" background=\"pic/2_news_bg.gif\"><DIV STYLE=\"text-align:center\"><TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"0\">
<TR>
<TD width=\"104\" height=\"15\"></TD>
</TR>
<TR>
<TD width=\"104\" background=\"pic/news_bg_txt.gif\" height=\"60\"><TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"4\">
<TR>
<TD><FONT FACE=\"Verdana\" SIZE=\"1\" COLOR=\"#404040\"><BR>
<?
$fil = fopen(\"newsadmin/news1.txt\", \"r\");
while (!feof($fil)){
$streng = fgets($fil, 4096);
echo $streng;
}
fclose($fil);
?></FONT></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD width=\"104\" height=\"10\"></TD>
</TR>
<TR>
<TD width=\"104\" background=\"pic/news_bg_txt_2.gif\" height=\"60\"><TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"3\">
<TR>
<TD><FONT FACE=\"Verdana\" SIZE=\"1\" COLOR=\"#404040\"><BR>
<?
$fil = fopen(\"newsadmin/news2.txt\", \"r\");
while (!feof($fil)){
$streng = fgets($fil, 4096);
echo $streng;
}
fclose($fil);
?>
</FONT></TD>
</TR>
</TABLE></TD>
</TR>
<TR>
<TD width=\"104\" height=\"10\"></TD>
</TR>
<TR>
<TD width=\"104\" background=\"pic/news_bg_txt_3.gif\" height=\"60\"><TABLE BORDER=\"0\" CELLSPACING=\"0\" CELLPADDING=\"3\">
<TR>
<TD><FONT FACE=\"Verdana\" SIZE=\"1\" COLOR=\"#404040\"><BR>
<?
$fil = fopen(\"newsadmin/news3.txt\", \"r\");
while (!feof($fil)){
$streng = fgets($fil, 4096);
echo $streng;
}
fclose($fil);
?></FONT></TD>
</TR>
</TABLE></TD>
</TR>
</TABLE></DIV>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<IMG SRC=\"pic/white2x2.gif\" BORDER=\"0\" WIDTH=\"2\" HEIGHT=\"4\" ALIGN=\"bottom\" ALT=\"\"><BR>
<TABLE BORDER=\"0\" CELLSPACING=\"0\">
<TR valign=\"top\">
<TD width=\"79\"><IMG SRC=\"pic/sidebg_u.gif\" BORDER=\"0\" WIDTH=\"79\" HEIGHT=\"100\" ALIGN=\"bottom\" ALT=\"\"></TD>
<TD width=\"10\"></TD>
<TD width=\"220\"><IMG SRC=\"pic/news_a_top.gif\" BORDER=\"0\" WIDTH=\"220\" HEIGHT=\"20\" ALIGN=\"bottom\" ALT=\"\"><BR><FONT FACE=\"Verdana\" SIZE=\"1\"> <A HREF=\"http://www.iamby.dk\">Brand new k10k site!</A><BR> <A HREF=\"http://www.iamby.dk\">New version of iAmby is now online!</A><BR> <A HREF=\"http://www.iamby.dk\">Lazy ass iAmby due to server probs.</A></FONT><BR><IMG SRC=\"pic/news_a_m.gif\" BORDER=\"0\" WIDTH=\"220\" HEIGHT=\"23\" ALIGN=\"bottom\" ALT=\"\"><BR> <INPUT TYPE=\"text\" SIZE=\"18\" MAXLENGTH=\"200\" NAME=\"news_mail\" value=\"enter email address\" style=\"font-family: Verdana; font-size: 7pt; font-weight: bold; color: #7B6B6B; padding: 2; border-color: #CCC4C4; border-width: 1; background-color: #FCFCFE; border-width: 1;\" onFocus=\"this.value=\'\';\"><INPUT type=\"submit\" value=\" \" alt\" style=\"font-family: verdana; font-size: 6pt;\"><FONT FACE=\"Verdana\" SIZE=\"1\"> < newsletter</FONT>
<td width=\"10\"><IMG SRC=\"pic/news_a_r.gif\" BORDER=\"0\" WIDTH=\"1\" HEIGHT=\"100\" ALIGN=\"bottom\" ALT=\"\"></td>
<TD width=\"416\" bgcolor=\"#D6CECE\"><IMG SRC=\"pic/white2x2.gif\" BORDER=\"0\" WIDTH=\"290\" HEIGHT=\"100\" ALIGN=\"bottom\" ALT=\"\"><IMG SRC=\"time/mellem.gif\" BORDER=\"0\" WIDTH=\"3\" HEIGHT=\"100\" ALIGN=\"bottom\" ALT=\"\"><a href=\"java script:newin(\'time/eval.htm\',\'316\',\'340\');\" onMouseover=\"changeImg4(\'time/eval_ani.gif\')\" onMouseout=\"changeImg4(\'time/eval.gif\')\" onFocus=\"if(this.blur)this.blur()\"><IMG SRC=\"time/eval.gif\" BORDER=\"0\" WIDTH=\"123\" HEIGHT=\"100\" ALIGN=\"bottom\" ALT=\"\" name=\"goto4\"></a></TD>
</TR>
</TABLE>
</FORM>
</DIV>
</BODY>
</HTML>
