MATLAB: How to read php file using matlab

web

i tried using "urlread" ,which reads the html file .Why not php? . Even i specify php file it returned result which excludes the php code.

Best Answer

Your question does not make much sense. PHP is not HTML, it's meant to be interpreted by the web server and tells the server how to create the html it sends to the web client. urlread is a web client so it shouldn't even receive php code. If you give it an html file with embedded php, like all web clients, it does not know what to do with it.
In short, urlread can not, will not, and should not understand php.