PDA

View Full Version : Online-Hack for ssi ?


05-23-2000, 10:04 PM
Hi,

does anyone knows how to include the active users into a s/html-page?

Thanx for hints!

05-24-2000, 10:24 AM
I just rewrote my index.shtml page as index.php and based it upon the index page of these boards. Strip out most of the data base calls (forum names etc.) and you get to retain the login logout functionality as well as whatever info you need (categories, logged in, etc).

Do it right, and it parses jsut as fast, if not better than my old index.shtml file which has a bunch of includes.

Btw, the cgi based poll on my old hp works fine in my php based one.

05-24-2000, 10:43 AM
Huss,

thanx for your reply - but:

my index.shtml is round about 40k - with various ssi-calls and a lot of tables ... additionally my php-experiences are rather low - would'nt it be easier to have anything like a php- or perl-script or whatelse, what reads the actual users out of the database?

I'm a total beginner with mySQL, so i didn't know how to extract and display any field of a sql-database til yet ;)

For playing purposes i'm looking for a simple perl-script, what just reads a field and displays the entry easily on the screen - any suggestions for a mySQL-dumb like me?

[Edited by TB2 on 05-25-2000 at 01:44 AM]