Where to get Server Modules?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Where to get Server Modules?

Post 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! 8O
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post 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! 8O
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post 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
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

WORD UP!! Thanks man! :D
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post by mydimension »

no problem :D , 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.
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post 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 8O
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post by mydimension »

i think this: http://www.php.net/manual/en/zend.php maybe of some use to you.
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

thanks for the link, but already printed that out with the manual ;)
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post by mydimension »

8O 8O 8O ......... you printed the manual!!
to me thats just crazy but i gotta love my cable connection, instant manual :D
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post 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
mrrobotto
Forum Commoner
Posts: 40
Joined: Thu Sep 26, 2002 9:30 pm
Contact:

Post by mrrobotto »

Not sure this is what your looking for but it might be of some help
http://modules.apache.org/
:wink:
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post 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...
Post Reply