This is a discussion on I Back within the Shell scripting forums, part of the Development/Scripting category; Very quite on these forums guys ive been away alot but ive been reading my books so now am ready ...
|
|||||||
| Register | FAQ | Members List | Calendar | Forgotten your password? | Mark Forums Read |
|
|||
|
Very quite on these forums guys ive been away alot but ive been reading my books so now am ready to busy things up few questions.
I'll post them separately to keep it tidy while i was away i was wondering what is the best way to turn my shell scripts into a web based interface where others could log in and use them. Is this possible with shell scripts or would i have to use something else like perl or php. I have been googling this for a while and all examples seem to be perl (which i intent to learn but one thing at time i guess is best) If it is possible could someone post an example or a link to some examples Thanks guys |
| Sponsored Links | ||
|
|
|
||||
|
Welcome back
Run shell script from web page: http://www.cyberciti.biz/faqs/2006/0...m-web-page.php and http://www.cyberciti.biz/nixcraft/fo...opic.php?t=405 Sample php code: Code:
<?php
$out=system("ls -l");
$da=system("date");
echo "$out
$da";
?>
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
|
|||
|
After reading upfor a while i decided to buy Classic shell scripting Classic shell scripting
But i found this book to be a bit to compicated for me even thou i have writtening a few simple scripts with your guys help So i then ordered Beginning shell scriptingThis is a much better book for beginners much easier to understand. when i have read and understood this book i am sure the first one will make more sense. I am at the moment look for a good simple book on sed and awk then may be perl. Thanks for your reply rockdalinux But did not help to much can t seem to find any examples that would help turn my scripts into a little web panel you could log in to and manage any examples i find seems to be in perl with php. my script basically add user starts and stop css servers etc This what i see in ssh but i like to add this to a web page interface What do you wish to do ? anwser 1 to 10 1. Start css server 2. Change rcon pass word 3. View server start details 4. Add user details 5 View user detail 6. Server.cfg tick conf 7. Restart Servers 8. Teamspeak options 9. Search for records 10. Delete records Answer (or 'q' to quit) Any examples would be great Or may be i am barking up the wrong tree and i would need to program with something else to make this work. |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I am BaCk | B!n@ry | The Hangout | 4 | 01-11-2007 05:31 PM |