UBB.Dev
Posted By: Link2001 I am trying to make........ - 06/02/2001 4:40 PM
i am trying to make a front page for my site that says how many members newest member, ect

kind like the Statistic hack but with PHP?

How would i do this???

I am very very new at PHP
Posted By: Link2001 Re: I am trying to make........ - 06/03/2001 5:00 AM
never mind Used SSI to do it
Posted By: Saxeus Re: I am trying to make........ - 06/03/2001 5:20 AM
SSI? how? I mean, what's the code you place in

[ June 02, 2001 10:32 PM: Message edited by: 2eagles ]
Posted By: Mike Warner Re: I am trying to make........ - 06/12/2001 8:37 PM
yeah how?
Posted By: Sukotto Re: I am trying to make........ - 06/12/2001 11:04 PM
http://www.ppn.f2s.com/stats.phps

done, Memember count, Last Member, Number of Forums, Number of Topics and Number of Posts. If you need something else added just ask.
Posted By: Pulk99 Re: I am trying to make........ - 11/21/2001 11:48 PM
yeah, what about who is online, ubbnews, maybe statisitcs ?

nice work wink
Posted By: Durango Re: I am trying to make........ - 11/22/2001 3:11 AM
To include SSI in PHP docs.

example for UBBNews:
include ("http://www.yoursite.com/cgi-bin/forum/ubbnews.cgi?ns_id=1");
?>

Example for WOL:
include ("http://www.yoursite.com/cgi-bin/forum/ubb_whos_online_ssi.cgi");
?>

etc.

hmm, the board doesn't allow php tags to be posted...

OK, where ever I have oko, REPLACE that with php.
Posted By: Pulk99 Re: I am trying to make........ - 11/22/2001 5:54 PM
ok, thx, but I get an error (I'm a beginner on php wink )

Warning: Failed opening 'http://www.mysite.com/cgi-bin/forum/ubbnews.cgi?ns_id=1' for inclusion (include_path='') in ....(my path)...line 2

Line 2 is exactly the line where my URL to the ubbnews file is, but when I try this URL in the browser it works, can u help me ?
Posted By: Pulk99 Re: I am trying to make........ - 11/22/2001 6:45 PM
and another thing,
in wich folder goes the shtml file (cgi-bin?)?
Posted By: Durango Re: I am trying to make........ - 11/22/2001 11:27 PM
Quote
quote:
lol, so am I.

I don't know whats wrong, a link to the page could be helpful. Also,

Quote
quote:
What do you mean? If your including it through php then you don't need any shtml files.
Posted By: Pulk99 Re: I am trying to make........ - 11/26/2001 2:29 PM
Quote
quote:
yeah, of course, was a little confused

[ 11-26-2001 06:29 AM: Message edited by: Pulk99 ]
Posted By: LK Re: I am trying to make........ - 11/26/2001 5:24 PM
It should be the path, not the URL

Ie. D:/UBB/cgi-bin/ultimatebb.cgi and not http://www.lkubb.dns2go.com/cgi-bin/ultimatebb.cgi
Posted By: Pulk99 Re: I am trying to make........ - 11/26/2001 5:45 PM
When I include this
Code
code:
I get this error:

Warning: Failed opening 'G:/Eigene Programme/Xitami2/cgi-bin/ubbnews.cgi?ns_id=1' for inclusion (include_path='') in G:/Eigene Programme/Xitami2/webpages/who_is_online.php on line 2

[ 11-26-2001 09:47 AM: Message edited by: Pulk99 ]
Posted By: Durango Re: I am trying to make........ - 11/26/2001 11:06 PM
Quote
quote:
Thats funny, because using the URL works just fine for me...
© UBB.Developers