online 1
gast (50)

/ Forum / Skripte(PHP,ASP,Perl...)

Skripte(PHP,ASP,Perl...)Skripte(PHP,ASP,Perl...)

Fragevon html.php.problem vom 03.01.2020, 20:19 Options

Problem im HTML/PHP script

Hallo, ich habe ein Problem in dem Folgendem Script , die Seite wird nicht bei allen Leuten richtig angezeigt also z.b. bei leuten mit einer kleineren Bildschrimauflösung , die müssne scrollen und bei Leuten mit einem Großem Bildschrim vergrößert sich die Seite nicht , also bleibt bei einer Größe , woran kann das liegen ?
Hoffe auf sehr schnelle Antwort , ist sehr wichtig

MFG Manuel

<?php
require ('../_config.inc.php');

if ($_REQUEST['bake'] == '1') {
setcookie ('jatsche_user', $_REQUEST['name'], time () + 86400 * 90, '/');
setcookie ('jatsche_pass', $_REQUEST['pwd'], time () + 86400 * 90, '/');
} else {
setcookie ('jatsche_user', '', time (), '/');
setcookie ('jatsche_pass', '', time (), '/');
}

$cid = md5 (rand (1, 9999999));
$iid = sha1 (rand (1, 9999999));
echo '<?xml version="1.0" encoding="ISO-8859-1"?>' . "\n";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<style type="text/css">
.lol {
color:#FFFFFF;
}
</style>

<script type="text/javascript" src="./js/top.js"></script>
<title><?= $cfg['chat_name'] ?></title>

</head>
<body style="background-color:#DDDDDD; margin-top:0px; margin-bottom:0px;">
<center>
<table width="50%" height="100%" style="width:50%; height:100%; background-color:#232323;">
<tr>
<td>
<img style="float:left;" src="img.png" width="233" height="154" border="0" usemap="#map" />
<map name="map">
<area shape="poly" coords="62,149,61,137,64,137,67,141,72,139,77,140,79,135,84,139,89,135,89,149,91,151,67,151" alt="Profil" target="_blank" href="http://poke-on.de/hanzi/ucp/" />
<area shape="poly" coords="13,150,47,149,47,140,44,138,36,134,38,141,29,139,20,139,8,132,13,141" href="#" onclick="helpwindow();" />
<area shape="rect" coords="102,136,133,149" target="_blank" alt="Regeln" href="http://poke-on.de/index.php?content=regeln" />
<area shape="rect" coords="149,136,190,149" target="_blank" href="http://poke-on.de/index.php?content=preise" />
<area shape="rect" coords="205,137,222,148" target="_blank" href="http://poke-on.de/index.php?content=faq" />
</map>
<table width="604" height="147" background="otbl.png">
<tr>
<td>
<br />
<iframe style="height:70%; width:590px; border-width:0px;" src="./side.php?name=<?= $_REQUEST['name'] ?>&id=<?= $iid ?>" scrolling="no" noresize="noresize" frameborder="0" name="menuframe"></iframe>
</td>
</tr>
</table><br /><br />
<iframe style="height:460px; width:850px;" src="http://<?= $cfg['server_host'] ?>:<?= $cfg['server_port'] ?>/LOGIN?name=<?= $_REQUEST['name'] ?>&pwd=<?= $_REQUEST['pwd'] ?>&id=<?= $cid ?>&inputid=<?= $iid ?>" frameborder="0" scrolling="auto" noresize="noresize" framespacing="0" name="readframe"></iframe><br />
<iframe style="height:30px; width:850px;" src="./send.php?name=<?= $_REQUEST['name'] ?>&id=<?= $iid ?>" frameborder="0" scrolling="no" noresize="noresize" framespacing="0" name="sendframe"></iframe>
</center>
</div>
</body>
</html>


Antwort schreiben

Antwort 1 von DeluxeStyle vom 03.01.2020, 20:30 Options

es sind ja fixe Breitenangaben in deinem Code...

Antwort 2 von html.php.problem vom 03.01.2020, 20:34 Options

sie sind in Prozenten agegeben ... was würdest du denn ändern ?

Antwort 3 von DeluxeStyle vom 03.01.2020, 20:35 Options

<table width="604" height="147" background="otbl.png">

iframe style="height:460px; width:850px;"

<iframe style="height:30px; width:850px;"


da ist nix in Prozent angegeben

Antwort 4 von html.php.problem vom 03.01.2020, 20:39 Options

ja , das sol ja auch nicht , das bild sol ja nicht in 100 % und das 3the ifarme auch net und wenn ich das 52the änder in 100% höhe kommt mist raus

Antwort 5 von DeluxeStyle vom 03.01.2020, 20:48 Options

hä?
bitte etwas genauer.
Vielleicht lieferst du auch ne URL, dann kann man es sich genau anssehen

Antwort 6 von html.php.problem vom 03.01.2020, 20:51 Options

nochmal genau : Ich hab jez ne Seite , die sol immer genau so groß wie er ganze bildschrim sein , also 100% , das habe ich auch bei der Tabelle , nur es wird nicht 100 % also es passt sich nicht an , was kann ich da machen , das kannst du dir ja hier ansehn : www.chat.poke-on.de

Antwort 7 von DeluxeStyle vom 03.01.2020, 20:55 Options

du solltest als erstes den Code aufräumen, das hier
<table width="50%" height="100%" style="width:50%; height:100%;
ist doppelt gemoppelt

dein code enthält sehr viele fehler
so wird zum beispiel die erste tabele nicht mehr geschlossen

Antwort 8 von html.php.problem vom 03.01.2020, 21:00 Options

hmm , so richtig klappen tuts net , kannst du mal den Code posten , wie er nach deine Meinung richtig wäre ?

Antwort 9 von DeluxeStyle vom 03.01.2020, 21:03 Options

ich versuch es mal, zumindest teilweise

<?php
require ('../_config.inc.php');

if ($_REQUEST['bake'] == '1') {
setcookie ('jatsche_user', $_REQUEST['name'], time () + 86400 * 90, '/');
setcookie ('jatsche_pass', $_REQUEST['pwd'], time () + 86400 * 90, '/');
} else {
setcookie ('jatsche_user', '', time (), '/');
setcookie ('jatsche_pass', '', time (), '/');
}

$cid = md5 (rand (1, 9999999));
$iid = sha1 (rand (1, 9999999));
echo '<?xml version="1.0" encoding="ISO-8859-1"?>' . "\n";
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<style type="text/css">
.lol {
color:#FFFFFF;
}
</style>

<script type="text/javascript" src="./js/top.js"></script>
<title><?= $cfg['chat_name'] ?></title>

</head>

<body style="background-color:#DDDDDD; margin-top:0px; margin-bottom:0px;">

<center>

<table width="50%" height="100%" style="width:50%; height:100%; background-color:#232323;">
<tr>
<td>

<img style="float:left;" src="img.png" width="233" height="154" border="0" usemap="#map" />

<map name="map">

<area shape="poly" coords="62,149,61,137,64,137,67,141,72,139,77,140,79,135,84,139,89,135,89,149,91,151,67,151" alt="Profil" target="_blank" href="http://poke-on.de/hanzi/ucp/" />
<area shape="poly" coords="13,150,47,149,47,140,44,138,36,134,38,141,29,139,20,139,8,132,13,141" href="#" onclick="helpwindow();" />
<area shape="rect" coords="102,136,133,149" target="_blank" alt="Regeln" href="http://poke-on.de/index.php?content=regeln" />
<area shape="rect" coords="149,136,190,149" target="_blank" href="http://poke-on.de/index.php?content=preise" />
<area shape="rect" coords="205,137,222,148" target="_blank" href="http://poke-on.de/index.php?content=faq" />
</map>

<table width="604" height="147" background="otbl.png">
<tr>
<td>
<br />
<iframe style="height:70%; width:590px; border-width:0px;" src="./side.php?name=<?= $_REQUEST['name'] ?>&id=<?= $iid ?>" scrolling="no" noresize="noresize" frameborder="0" name="menuframe"></iframe>
</td>
</tr>
</table>
<br /><br />

<iframe style="height:460px; width:850px;" src="http://<?= $cfg['server_host'] ?>:<?= $cfg['server_port'] ?>/LOGIN?name=<?= $_REQUEST['name'] ?>&pwd=<?= $_REQUEST['pwd'] ?>&id=<?= $cid ?>&inputid=<?= $iid ?>" frameborder="0" scrolling="auto" noresize="noresize" framespacing="0" name="readframe"></iframe><br />
<iframe style="height:30px; width:850px;" src="./send.php?name=<?= $_REQUEST['name'] ?>&id=<?= $iid ?>" frameborder="0" scrolling="no" noresize="noresize" framespacing="0" name="sendframe"></iframe>
</td>
</tr>
</table>
</center>
</div>
</body>
</html>

hab deinen Code nicht aufgeräumt, sondern nur die Tabelle geschlossen.
Fürs aufräumen schau mal bei hier vorbei

Antwort 10 von html.php.problem vom 03.01.2020, 21:07 Options

Warning: Cannot modify header information - headers already sent by (output started at /var/www/web510299/html/poke-on/hanzi/frame/jatsche.php:2) in /var/www/web510299/html/poke-on/hanzi/frame/jatsche.php on line 9

Warning: Cannot modify header information - headers already sent by (output started at /var/www/web510299/html/poke-on/hanzi/frame/jatsche.php:2) in /var/www/web510299/html/poke-on/hanzi/frame/jatsche.php on line 10
das kommt jez ...

Antwort 11 von html.php.problem vom 03.01.2020, 21:08 Options

hab schon

Antwort 12 von DeluxeStyle vom 03.01.2020, 21:08 Options

dann hast du zu viel kopiert

Antwort 13 von html.php.problem vom 03.01.2020, 21:09 Options

nur... es hat sich nix geändert , soll ich mal nen screen posten ?

Antwort 14 von DeluxeStyle vom 03.01.2020, 21:11 Options

gib deine seite erst mal bei dem html validator ein und lass sie überprüfen
dann poste noch mal nen link direkt zur seite und ned nur zur login seite

Antwort 15 von html.php.problem vom 03.01.2020, 21:15 Options

die direkte seite ist www.poke-on.de , aber das design vom chat klappt net also log dich unter www.chat.poke-on.de ein ohne Daten anzugeben , ghet ja auch und du wirst sehn das es iwie net klappt

Antwort 16 von DeluxeStyle vom 03.01.2020, 21:20 Options

kann es dir ned genau sagen, aber ich bin der meinung, dass die iframes das problem sind
die haben ne fixe breite, daher kann sich die tabelle nicht ändern

Antwort 17 von html.php.problem vom 03.01.2020, 21:23 Options

es soll sich ja nur die höhe ändern , die breite soll bleiebn

Antwort 18 von DeluxeStyle vom 03.01.2020, 21:24 Options

egal
du hast ja auch bei der höhe der iframes fixe angaben
daher kann sich da ja nichts ändern

Antwort 19 von html.php.problem vom 03.01.2020, 21:26 Options

ich habs ja auf 100% geändert klappt net

Antwort 20 von DeluxeStyle vom 03.01.2020, 21:26 Options

wie gesat, lass deine seite mal durch den html validator laufen
ich wünsch dir viel erfolg... bin jetzt off

Ähnliche Themen

php script
Dennis1306  18.04.2007 - 157 Hits - 2 Antworten

HTML-Quellcode mit PHP eibinden
xeo15  23.05.2007 - 163 Hits - 3 Antworten

AOL Browser Probleme mit Java Script
igo  19.06.2007 - 94 Hits - 3 Antworten

PHP ID
anot.www  06.09.2007 - 40 Hits - 1 Antwort

Zusammenhengender php script in guten, funktionierenden php script
derfehler  15.09.2007 - 58 Hits - 2 Antworten

Hinweis

Diese Frage ist schon etwas älter, Sie können daher nicht mehr auf sie antworten. Sollte Ihre Frage noch nicht gelöst sein, stellen Sie einfach eine neue Frage im Forum..

Neue Einträge

Version: supportware 1.9.150 / 10.06.2022, Startzeit:Thu Jan 8 21:07:44 2026