Call php file in local host from Matlab?

down vote favorite
I have a .php file that returns information correctly when called by typing localhost/lolo/readInfo.php in my browser. When I try opening this url in Matlab with webread() or urlread() I get the following message:
The '' protocol specified in URL, 'localhost/lolo/readInfo.php', is not supported. Specify the URL with the protocol 'http://' or 'https://'.
Which other function could I use to get the information using Matlab? Wampserver is running and the .php file uses the functions curl_init, curl_setopt, curl_exec

Answers (0)

Asked:

on 21 Aug 2017

Community Treasure Hunt

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

Start Hunting!