Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z linkami, ciągle mam newsy :D
Rafaeru
post
Post #1





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 19.06.2004

Ostrzeżenie: (0%)
-----


Więc jest tak: mam dwa serwery, jeden to mój komp na win XP, a drugi to serwer sieci na linuxie...kiedy odpalam stronę na moim kompie, wszystko jest ok wciskam linki i się otwierają, natomiast keidy to samo robię na serwie sieci, non stop owtwierają mi się newsy...błagam pomóżcie!
Oto plik index.php:
  1. <?php
  2. include(&#092;"mcon.inc\"); //polaczenie z baza danych
  3. if (isset($login) && isset($haslo)) {
  4. $wartosci_cookie = $login.&#092;"|\".$haslo;
  5. } else {
  6. if (isset($urzytkownik)) {
  7.   $wartosc_cookie = explode(&#092;"|\", $urzytkownik);
  8.   $login = $wartosc_cookie[0];
  9.   $haslo = $wartosc_cookie[1];
  10.   $wartosci_cookie = $login.&#092;"|\".$haslo;
  11. }
  12. }
  13. if ($wyloguj==&#092;"tak\") {
  14. $wartosci_cookie = &#092;"\";
  15. }
  16. setcookie('urzytkownik', $wartosci_cookie, $czas_cookie);
  17. $aktualna_data = date(d). &#092;"-\" .date(m). \"-\" .date(Y);
  18. ?>

  1.  
  2.  
  3.  
  4.  
  5.  
  6. <META content=Seiya name=Author>
  7. <LINK href="style.css" type=text/css rel=stylesheet>
  8. <meta http-equiv="content-type" content="text/html; charset=iso-8859-2">
  9. <META NAME="Keywords" CONTENT="">
  10. <title>Serwis Akanet</title>
  11. </head>
  12. <body marginwidth="0" marginheight="0" leftMargin=0 topMargin=0>
  13. <!-- LOGO -->
  14. <table border=0 background="gfx/gora.jpg" cellpadding=1 cellspacing=0 width="885">
  15. <tr>
  16. <td width="410" height="110"></td>
  17. <td width="349" height="100" align="center"></td>
  18. </tr>
  19. </table><marquee bgcolor=yellow BEHAVIOR=ALTERNATE height=20 width="885"><font size=4 color=red>!!! WITAM !!!</font></marquee>
  20. <table border=0 cellpadding=1 cellspacing=0 width="759" background="gfx/tlo.jpg">
  21. <tr>
  22. <td width="759"><b></b>
  23. </td>
  24. </tr>
  25. <!-- ********** -->
  26. <table border=0 cellpadding=1 cellspacing=0 width="759" background="gfx/tlo.jpg">
  27. <tr>
  28. <td width="110" valign="top">
  29. <!-- MENU -->
  30. <? include("menu.inc"); ?>
  31. <!-- ********** -->
  32. <br><!-- AKANET -->
  33. <? include("akanet.inc"); ?>
  34. <!-- ********** --><br><!-- CS -->
  35. <? include("cs.inc"); ?>
  36. <!-- ********** --><br><!-- PORADY -->
  37. <? include("porady.inc"); ?><!-- ********** --><BR><!-- INNE -->
  38. <? include("inne.inc"); ?>
  39. </td>
  40. <!-- TREŚĆ STRONY -->
  41. <td width="649" valign="top">

  1. <?
  2. if (!isset($co)) {
  3. include(&#092;"newsy.php\");
  4. } elseif (isset($co)) {
  5. $strona = $co.&#092;".php\";
  6. if (file_exists($strona)) {
  7.   include($strona);
  8. } else {
  9.   print '<center><font color=#FF6666>Strona nie istnieje!!!</font></center>';
  10. }
  11. } else {
  12. echo(&#092;"<center><a href=\"mailto:rafaeru@poczta.fm\\">BَD?!</a></center>\");
  13. }
  14. ?>

  1. </td>
  2. <td  width="6" background="gfx/tlo.jpg"></td>
  3. <td width="88" valign="top" background="gfx/tlo.jpg">
  4. <!-- MENU -->
  5. <!-- STATS -->
  6. <? include("licznik.inc"); ?>
  7.  
  8.  
  9. <br><!-- BUTTONY -->
  10. <? include("buttony.inc"); ?>
  11. <!-- ********** -->
  12.  
  13. </td></table>
  14. <i>&copy; 2004 Moderatorem stronki jest <a href="mailto:rafaeru@poczta.fm">Rafaeru</a>.</i>
  15. </body>
  16. </html>


Linkuję w ten sposób:
  1. <a href="index.php?co=osieci">


PRZEPRASZAM JUZ POPRWIŁEM, jestem zielony biggrin.gif

Ten post edytował Rafaeru 19.06.2004, 20:04:51
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 22.08.2025 - 06:44