In this document we describe how to use PHP and HTML languages to create graphical interfaces to any program. The interface is used to send data and parameters to the program from a web page. We can choose different kinds of data and the format of received data. We show an example, in which a graphical interface controls a program written in Fortran 77.