The time now is Sat Nov 07, 2009 11:04 pm
All times are GMT
|
osterhas
Joined: 08 Mar 2007 Posts: 1
|
Posted: Thu Mar 08, 2007 1:37 pm Post subject:
comments script on webpage
Subject description: scriptsmill.com comment script error.
|
|
|
hello,
I just downloaded a comment script from "http://www.scriptsmill.com/comments.html" I unzipped, uploaded the files, started the install.php file.. and finally installed the mysql database without any problems.
now that I like to include this script into a HTML file nothing happens...
I uploaded the files to my webspace.. e.g.:
www.mydomain.com/comments/
all the files are in this folder.
then I build a HTML file with nothing but a
<?php require("/comments/comments.php"); ?>
in the BODY.
the html file is located like that:
www.mydomain.com/myhtmlfile.html
... when I am entering this URL to my browser this HTML file just stays blank.. nothing in it.
if I enter this url:
www.mydomain.com/comments/comments.php the comment script is displayed properly.
all the folders and files got 777 attribute
I tried different methods and links such as:
<!--#include virtual="/comments/comments.php" -->
<!--#include file="/comments/comments.php" -->
or <?php require("http://www.mydomain.com/comments/comments.php"); ?>
or <? include ("comments.php"); ?>
or <? include 'comments.php' ?>
or <? $root_url = "www.mydomain.com"; $a = $root_url . "/comments/comments.php"; ?>
<? include ($a) ?>
because all of my online content displayed online has to be uploaded via FTP to a folder called "webseiten" , I also tried this option...
<?php require("http://www.mydomain.com/webseiten/comments/comments.php"); ?>
and so on...
but nothing helped. this website always stays blank.. white, nothing on it.
what might be the problem?
|
|
| Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| Link to this Page |
|
If you want to link to this page you can use the following URL:
Example:
|
|
| The PHP Web-Ring Community
|