Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast TV / Nullsoft Video (http://forums.winamp.com/forumdisplay.php?f=152)
-   -   Some more Php. Admin Panel (http://forums.winamp.com/showthread.php?t=176787)

Emerica 15th April 2004 21:33

Some more Php. Admin Panel
 
Ok, i tend not to sleep alot but sometimes its worth it.
Curious to know if anyone here would be interested in something like this.

I got asked to create a config file editor for some game servers and once that was completed. I thought it could work for shoutcast as well. For the first day or two it just listed the whole config file until i found out howto grab the variables out of the file, change them and save it. Well it works and you can select which options they have access too.

I havent gone as far as adding a db of users or anything.
This is also probly about as safe as printing your config file in the newspaper. I basically put it together to see if it were possible. Now i have hosts on me back asking for it :0

Anyways check it out, let me know what you think once again, this test url doesnt have a scserver running, so you can edit and restart to your hearts desire.

Ive managed to get server to restart on windows using the windows kill program, im sure linux would be a fair bit easier, would depend on your setup.

Anyway heres the link
http://projectxnetwork.com/index.php...anel&Itemid=62

Inedible Bulk 15th April 2004 22:59

Wouldn't this be more accurately named "ShoutCast Config Web Editor", as this does no real administration of any servers. Can't use it to boot users or anything.

Only good use is editing a conf and rebooting the server, which is useful, but not going to be used that often.

_HF_ 15th April 2004 23:45

i have recently written a whole load of php to enable me to start/stop/configure telnet/ftp/ssh/shoutcast servers on my box.
with the shoutcast i am able to load a web form with the current .ini file in it, so that changes can be made... then when the "send" button is pressed, the changes to the .ini file are saved, and the shoutcast server restarted.
this is under windows XP pro, and i'm using a third party program-to-nt-service program to allow me to start/stop the shoutcast server.

anyone wanting further details/access to the php code should contact me: phpscript@hamsterfight.co.uk

Doug.

Emerica 16th April 2004 00:53

Thats actually how this used to work, but i dont really want some users ro be be able to access more than just the dj pass. :), I can set each option to enabled if they should see it.


All times are GMT. The time now is 08:29.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.