LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices


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

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


hi
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, 04:23 PM   #2
Nylex
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.
 
  


Reply



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 10:14 PM
ifconfig and iwconfig does not display wifi info powah Linux - Wireless Networking 3 08-21-2005 07:16 PM
How do I make PHP display output from my shell script? farmerjoe Programming 2 04-03-2005 01:15 PM
ifconfig output alaios Linux - Networking 8 12-02-2004 02:40 AM
TV-Out display different output than Monitor with Nvidia MasterC Linux - Hardware 1 08-13-2003 06:13 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:06 AM.

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