Jump to content
GIGN Forum

Php Ieklaushana Ieks Html


ANALGINS
 Share

Recommended Posts

tatad nevaru ieklaut news.php ieks index.html faili atrodas viena direktorija

sheit bus kodi, buut forsi ja kads advancets useris pateiktu kas par lietu

index.html

<tr>
        <td colspan="12" background="images/index_17.png"><iframe src="home_1.html" name="home" width="770" marginwidth="0" height="300" marginheight="0" align="middle" scrolling="auto" frameborder="0"></iframe>             </td>

    <td>

home_1.hmtl

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
type="text/css" href="sctg_1.css" />
</style></head>
<body>
<?php
include("news.php");
?>
     </blockquote>
   </div>
</div>

</body>
</html>

ps meginaju ari vienkarsi uzreiz ieks index faila includot to php bet tad freimam bugs paradijas tads ljoti mazinjs freims un teica "Forbidden You don't have permission to access /< on this server.

Apache/2.2.3 (Win32) PHP/5.1.6 Server at sctg.oo.lv Port 80

"

kads mak pastastit forshu atrisinajumu ?

Edited by ANAL-GINS
Link to comment
Share on other sites

Kr4 visam vajadzētu izskatīties šādi:

index.html

<tr>
       <td colspan="12" background="images/index_17.png"><iframe src="home_1.php" name="home" width="770" marginwidth="0" height="300" marginheight="0" align="middle" scrolling="auto" frameborder="0"></iframe>             </td>

<td>

home_1.php

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style>
type="text/css" href="sctg_1.css" />
</style></head>
<body>
<?php
include("news.php");
?>
    </blockquote>
  </div>
</div>

</body>
</html>

Edited by mex
Link to comment
Share on other sites

labi kozojam topic, paldies par palidzosho spamu :)

ir jauna problema, ka lai izdabunu no cita diezgan forsha login koda ara visu forsho, aka login add usrs admins, un savienoju to ar news skripta loginu un useriem?

cik norpotu tur ar linku mainishanu cauri neies, un jamainaa datubaze kas ?

Edited by ANAL-GINS
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...