News:

Wondering if this will always be free?  See why free is better.

Main Menu

10 most recent posts

Started by DEK24, December 18, 2007, 02:02:27 PM

Previous topic - Next topic

Kindred

are you running from your local computer?
Are you running on Windows IIS?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

thejackal

#61
not from local

this is my home page : my site/index.html
and the forum: my site/forum/
thinx for answer

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

thejackal

yes it is, but not in local so i don't understand why i have this "c:" and i do not changing nothing while installing SMF.

thejackal

#64
i put this on my home page,
but i have no answer
<?php require("/domains/my site/forum/SSI.php"); ?>

Orstio

c:\domains\my site\wwwroot\forum

That is correct.  You are on a Windows server.

thejackal

#66
so??
what i have to write on php code???
i mean this: <?php require("/domains/my site/forum/SSI.php"); ?>

thejackal

no way to do it on windows server?
please help

Kindred

Orsito just told you...

<?php require("c:\domains\my site\wwwroot\forum\SSI.php"); ?>
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

thejackal

#69
nothing :(
i have no message error. Here is my home page:


<?php require("c:\domains\my site\wwwroot\forum\SSI.php"); ?>
<head>
<title>****************</title>
<LINK REL="SHORTCUT ICON" HREF="************">
<style>
* { font-family: verdana; font-size: 10pt; COLOR: gray; }
b { font-weight: bold; }
table { height: 50%; border: 1px solid gray;}
td { text-align: center; padding: 25;}

</style>
</head>
<body>
<center>
<br><br><br><br>
<table>
<tr>

      <td>Benvenuto nel sito di <b>********</b></td>
    </tr>
<tr>
      <td><img src="/forum/Themes/default/images/MAROCCO_LOGO.gif" width="400" height="88"></td>
    </tr>
<tr>
      <td style="font-size: 8pt"><p>Stiamo allestendo a nuovo tutto il sito</p>

        <p><a href="/forum/index.php"><strong><font size="5">FORUM</font></strong></a></p></td>
    </tr>
</table>
  <p>&nbsp;</p>
</center>
<?php ssi_recentTopics(); ?>
</body>

</html>

thinx for answer

Kindred

two things...

1- where is the opening <html> tag?
2- What is the file saved as?
(name and extension)

as a note: Please use the [ code] tags to enclose code like that
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

thejackal

#71
hi Kindred,
sorry about the code space, i'm new.
so, for the number one: i don't understand the question, i have just this in the home page, so maybe this opening <html> my problem, and if it is, what can i have to do.
the second, the name of file is index.html
think you very much
P.s: i put this on the second line but still nothing <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Kindred

try this...   and name it index.php


<?php require("c:\domains\my site\wwwroot\forum\SSI.php"); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title>****************</title>
  <LINK REL="SHORTCUT ICON" HREF="************">
  <style>
    * { font-family: verdana; font-size: 10pt; COLOR: gray; }
    b { font-weight: bold; }
    table { height: 50%; border: 1px solid gray;}
    td { text-align: center; padding: 25;}
  </style>
</head>
<body style="text-align:center;">
  <br /><br /><br /><br />
  <div class="logoTable">
    <table>
      <tr><td>Benvenuto nel sito di <b>********</b></td></tr>
      <tr><td><img src="/forum/Themes/default/images/MAROCCO_LOGO.gif" width="400" height="88"></td></tr>
      <tr>
        <td style="font-size: 8pt">
           <p>Stiamo allestendo a nuovo tutto il sito</p>
           <p><a href="/forum/index.php"><strong><font size="5">FORUM</font></strong></a></p>
        </td>
      </tr>
    </table>
  </div>
  <div class="showRecent">
    <?php ssi_recentTopics(); ?>
  </div>
</body>
</html>
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

thejackal

think you very much, with Php it's ok, but i would like to do it with HTml that i know how to work with.
i'll try to work with this, hope will be easy.
thinks again and happy new year

Kindred


I don't understand what you mean "you would like to do it with HTML"...
the file is NAMED index.php, but most of the contents are (as you see) HTML.

The only PHP in that file are the sections within the  <?php ...  ?> tags.

One side note: If you plan to run a PHP based forum, I suggest you start learning some php. :)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: