Thanks for reaching out!
As you may know Edison works with Yocto, this is an embedded version of Linux. The fact that Edison runs on Linux gives you the advantage of being able to use many of the generic packages developed for Linux. PHP is compatible with Linux, this means that you should be able to use PHP on Edison just as you would on a regular Linux PC. That being said, there are a few unofficial guides on how to create and interact with web servers, but not using PHP (at least I was not able to find one that uses PHP). You can check them, in case you are interested (even though I don't think they will be of much help for this case in specific), in:
I would instead suggest you to read tutorials on how to approach this with regular PHP, as you should be able to access it on Edison. I would recommend you to start with:
There are many more guides on PHP's documentation, therefore, I would highly suggest you to check them. I believe they will be of much help for your project.
I hope this information helps you,
thanks for reply
we want to call the .php file which is located on cloud server using intel edison wifi
what is the procedure for that.
As I mention, there is not a specific guide for doing this on Edison, nevertheless, there are a lot of useful guides on the internet. You can start by reading the guides I shared above but I also found some documents that you could find of help:
I hope they help you get started.
Thanks for reply,
now i'm able to send data to MySQL database , only one problem i'm facing is that " i want send dynamic value of sensor for that i'm concatenating two string which is as below "
//Store the query string in buff
sprintf(buff, "curl \"58.62.547.38/conget7.php?\"\n");
sprintf(sBuff,"id_wasp=%s&frame_number=%s&sensor=%s&value=%d", id_wasp, frame_number, sensor, voltage13t);
//Concatenate sBuff and buff and store in buff
but i'm not able to concatenate
I'm not very familiar with this topic, so, I may be wrong, but wouldn't removing the new line (\n) from the first sprintf would do just that?
Anyhow, I found the definition of GROUP_CONCAT (https://dev.mysql.com/doc/refman/5.7/en/group-by-functions.html#function_group-concat), I believe this might be of help for this in specific.
Let me know.