Previous Thread
Next Thread
Print Thread
Rate Thread
#104156 06/02/2001 9:40 AM
Joined: May 2001
Posts: 254
Member
Member
Offline
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."-------------------------
Sponsored Links
Joined: May 2001
Posts: 254
Member
Member
Offline
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
Offline
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
Offline
Joined: Mar 2001
Posts: 17
yeah how?

Joined: Sep 2000
Posts: 71
Member
Member
Offline
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.


vBulletin Team
[email protected]
Sponsored Links
Joined: Sep 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 13
yeah, what about who is online, ubbnews, maybe statisitcs ?

nice work wink

Joined: Aug 2001
Posts: 155
Member
Member
Offline
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
Offline
Joined: Sep 2001
Posts: 13
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 ?

Joined: Sep 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 13
and another thing,
in wich folder goes the shtml file (cgi-bin?)?

Joined: Aug 2001
Posts: 155
Member
Member
Offline
Joined: Aug 2001
Posts: 155
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.


I'm not really back. I went away again.
Sponsored Links
Joined: Sep 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 13
Quote
quote:
yeah, of course, was a little confused

[ 11-26-2001 06:29 AM: Message edited by: Pulk99 ]

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
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

Joined: Sep 2001
Posts: 13
Junior Member
Junior Member
Offline
Joined: Sep 2001
Posts: 13
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 ]

Joined: Aug 2001
Posts: 155
Member
Member
Offline
Joined: Aug 2001
Posts: 155
Quote
quote:
Thats funny, because using the URL works just fine for me...


I'm not really back. I went away again.

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)