Page 1 of 1
Where to get Server Modules?
Posted: Sat Oct 26, 2002 1:28 pm
by infolock
Heya peeps, it's me again

I'm looking for server modules that I can play around with. I'm hoping to start homing my php skills a little more, and have been told this is one of the next-best steps to do so with. Anyone know of some links they could point me to that has server modules that I could play around with ? ( server management, information, graphs, etc... ).
Thanks!

Posted: Sat Oct 26, 2002 1:33 pm
by infolock
Also, if I am wanting to define a function, how can i make it where I just need to type the name of the function in any php script, and get it to execute, rather then having to type the entire function over again?
in other words, let's say I have the function bob. Bob merely connectes to the mysql server for you. Let's say I have the function, bob, in start.php.
Now, let's say that I'm in step1.php and want to call bob, and let it connect to the MySQL database. Instead of having to redefine what bob is, is there a way to just make a call to bob out of start.php ?? Thanks!

Posted: Sat Oct 26, 2002 1:37 pm
by mydimension
to your second question: just put this line at the top of start1.php:
include("path/to/start.php");
and then you can call bob anywhere in that script
Posted: Sat Oct 26, 2002 1:40 pm
by infolock
WORD UP!! Thanks man!

Posted: Sat Oct 26, 2002 1:43 pm
by mydimension
no problem

, not sure where you can get modules though. never had any experience with getting them. all my hosts have usually had the ones i needed.
Posted: Sat Oct 26, 2002 1:45 pm
by infolock
dang. i'm hoping to learn how the modules work, and how to manage/customize them so that if I ever decide to get a job somewhere, I can use this information to my advantage. Hope someone has something out there for me

Posted: Sat Oct 26, 2002 1:48 pm
by mydimension
i think this:
http://www.php.net/manual/en/zend.php maybe of some use to you.
Posted: Sat Oct 26, 2002 1:52 pm
by infolock
thanks for the link, but already printed that out with the manual

Posted: Sat Oct 26, 2002 2:00 pm
by mydimension

......... you
printed the manual!!
to me thats just crazy but i gotta love my cable connection, instant manual

Posted: Sat Oct 26, 2002 2:02 pm
by infolock
hehe, when you work for a printer manufacturer, you get such benefits
I coulda probably saved it to disc for home, but decided it be much better to have it in a nice 2 book manual lol
Posted: Sat Oct 26, 2002 2:25 pm
by mrrobotto
Not sure this is what your looking for but it might be of some help
http://modules.apache.org/

Posted: Sat Oct 26, 2002 2:55 pm
by infolock
hey man, thanks for the info, but that's not really what i was looking for lol. I got the modules, and I know the basic syntaxes of them, but just needing one big script that is already using the server modules. i guess my topic is kinda misleading in that sense

can't seem to find one that shows you how to make a server monitoring script that exports the results to graphs and such...