Print Page | Close Window

Web interface php

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=5262
Printed Date: 31 July 2025 at 4:46am


Topic: Web interface php
Posted By: jdevv
Subject: Web interface php
Date Posted: 13 July 2005 at 10:06am

Hi,

I am trying to get the web interface working with php on a Apache webserver. I am getting the following error message:

Warning: main(DB.php) [ http://www.dutch.nl/php/function.main - function.main ]: failed to open stream: No such file or directory in C:\apache-docs\www\PHP\db_connect.php on line 2

I downloaded the interface version from the Logsat website. I think db.php is missing. We wants to run the web interface and quarantine db from a linux computer, but now I am testing it from my windows 2000 pro system.

I create the 'spamfilter' database and can access the mysql db.

What goes wrong?

Thanks, JVV




Replies:
Posted By: LogSat
Date Posted: 13 July 2005 at 3:58pm
jdevv,

The file DB.php is part of the PHP distribution, it's not a SpamFilter's file, and contains routines and utilities used by PHP to access databasaes.


-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP


Posted By: jdevv
Date Posted: 14 July 2005 at 8:46am

I found it...

Php 5 do not have db.php and others standard included, but I installed it by running the go-pear.bat....

 

Thanks,

 

jdevv.




Print Page | Close Window