|
Joined: May 2001
Posts: 254
Member
|
Member
Joined: May 2001
Posts: 254 |
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
QUOTES: by Link2001-------------------------"I see under the road.""When will the path end?""Boy Im tired."-------------------------
|
|
|
|
Joined: May 2001
Posts: 254
Member
|
Member
Joined: May 2001
Posts: 254 |
never mind Used SSI to do it
QUOTES: by Link2001-------------------------"I see under the road.""When will the path end?""Boy Im tired."-------------------------
|
|
|
|
Joined: Apr 2001
Posts: 103
Member
|
Member
Joined: Apr 2001
Posts: 103 |
SSI? how? I mean, what's the code you place in
[ June 02, 2001 10:32 PM: Message edited by: 2eagles ]
Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.
|
|
|
|
Joined: Mar 2001
Posts: 17
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 17 |
|
|
|
|
Joined: Sep 2000
Posts: 71
Member
|
Member
Joined: Sep 2000
Posts: 71 |
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.
|
|
|
|
Joined: Sep 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 13 |
yeah, what about who is online, ubbnews, maybe statisitcs ? nice work 
|
|
|
|
Joined: Aug 2001
Posts: 155
Member
|
Member
Joined: Aug 2001
Posts: 155 |
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.
I'm not really back. I went away again.
|
|
|
|
Joined: Sep 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 13 |
ok, thx, but I get an error (I'm a beginner on php  ) Warning: Failed opening 'http://www.mysite.com/cgi-bin/forum/ubbnews.cgi?ns_id=1' for inclusion (include_path='') in ....(my path)...line 2Line 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 ?
|
|
|
|
Joined: Sep 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 13 |
and another thing, in wich folder goes the shtml file (cgi-bin?)?
|
|
|
|
Joined: Aug 2001
Posts: 155
Member
|
Member
Joined: Aug 2001
Posts: 155 |
lol, so am I. I don't know whats wrong, a link to the page could be helpful. Also, What do you mean? If your including it through php then you don't need any shtml files.
I'm not really back. I went away again.
|
|
|
|
Joined: Sep 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 13 |
yeah, of course, was a little confused [ 11-26-2001 06:29 AM: Message edited by: Pulk99 ]
|
|
|
|
Joined: Sep 2001
Posts: 13
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 13 |
When I include this 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 ]
|
|
|
|
Joined: Aug 2001
Posts: 155
Member
|
Member
Joined: Aug 2001
Posts: 155 |
Thats funny, because using the URL works just fine for me...
I'm not really back. I went away again.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 5,834
Joined: January 2000
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|