Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interface gnuplot and php

Status
Not open for further replies.
Well, I haven't done anything with Gnuplot, but if it accepts command line arguments and outputs graphical data to files or standard output, then it's really quite simple.

You just use PHP's ability to call command-line programs, and you pass the variables to the programs. Then you can take either the file created by Gnuplot or the output stream, and just output it to the browser with the right content/type header at the top.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top