View Full Version : Installing a PHP script.
botsman
01-03-2008, 12:15 PM
I've tried everything, and cant get this "comments" php script from ScriptsMill to work. I created the mysql database, installed the script...the installation went fine. But when I add
"<?php require("comments/comments.php"); ?>"
to my code in my webpages, I don't see any changes. It's like nothing happened...no error messages either. Can anyone help?
betiryan
01-03-2008, 02:37 PM
clear the cache?
HAPPY NEW YEAR! :rolleyes:
Beti
http://vetstribute.com
botsman
01-03-2008, 03:01 PM
Tried it...does not help. Funny thing is that I had it working on another site...dont think I did anything different.
forHIM
01-03-2008, 03:02 PM
You may want to check the path the require function is using. Assuming the html document you put this in is in your DocumentRoot (typically public_html folder) then the included file would need to be in the comments/ directory of public_html or in the include path that the php.ini file defines.
Basil
01-03-2008, 05:01 PM
Are you putting it in a PHP file..
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.