Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 10-29-2005, 05:12 PM   #1
Registered: Nov 2003
Location: Lebanon
Distribution: RHEL 5/CentOS 5/Debian Lenny/(K)Ubuntu Is Dead/Mandriva 10.1
Posts: 670
Blog Entries: 7

Rep: Reputation: 31
display ifconfig output in php ??

Iam working on a project.... I have to create a webinterface "similar to webadmin" for some scripts my friends created... Iam fairly new in php...but Ive got experience in win32 c++ programming.
The question is:
lets say I want to excecute ifconfig and display its output to the user what should I do in php to accomplish that ??
Old 10-29-2005, 05:23 PM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Have a look at PHP's system() function, that might be able to help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is "carrier" from the ifconfig output? brian_p_sully Linux - Networking 6 04-17-2012 11:14 PM
ifconfig and iwconfig does not display wifi info powah Linux - Wireless Networking 3 08-21-2005 08:16 PM
How do I make PHP display output from my shell script? farmerjoe Programming 2 04-03-2005 02:15 PM
ifconfig output alaios Linux - Networking 8 12-02-2004 03:40 AM
TV-Out display different output than Monitor with Nvidia MasterC Linux - Hardware 1 08-13-2003 07:13 PM

All times are GMT -5. The time now is 03:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration