Anyone knows how to embed Terminal(shell) in php or how to compile Computer Graphics in C Language Program through PHP website

Hello everyone
I want to embed SHELL into my php website for compiling C program in graphics if anyone knows please tell me.Because i make a website “Learn Computer Graphics Online” in which i want to make a online compiler which compile Graphics program in C language and give the output display.
Thank you

I think you’re looking for this: http://php.net/manual/en/book.exec.php

No i think it will only give output as a text i want some display type output

Almost anything can be represented as text
For example your external program can return path (URL) to image file which you’ll be able to display on the site

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.