MATLAB Answers

how to read php file using matlab ?

17 views (last 30 days)
Stalin Samuel
Stalin Samuel on 7 Apr 2017
Commented: Bambos on 4 Oct 2021 at 14:22
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.

Accepted Answer

Guillaume
Guillaume on 7 Apr 2017
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.
  3 Comments
Bambos
Bambos on 4 Oct 2021 at 14:22
@Guillaume hello Sir,
i have a similar case, a web server displaying values using php.
Left you see the web server interface and right is the developer section of chrome browser.
Is there any way to get the electrical values from the right side ?

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by