Hello friends. I'm new around here and I've been working with the Yun since 1 mounth. I used it to stream video and watch it outside the localhost password protected (Thanks to sonnyyu!) and I've also used it as a database server, although I still have a few questions about it's security, since I've never worked with databases before.
Now I'm trying to have the Yun sending/filling a forms of a webpage. Is this feasable? I've litle knowledge overall but I didn't find anything helpfull out there. I know it is possible to control the yun via web even the pins I/O's, but I'm wondering how it works the other way around.
My problem is doing this using the curl command. I can login successfully to webpage.com/a using curl, but then try webpage.com/b and I get access denied.
Hasr:
One more thing... I'm assuming that if I want to make this an executable file, I can make a .php? Start with "#!/bin/ash"?
To make it an executable file, you not only have to give it executable permissions (chmod +x) but you need to make that initial comment (called a shebang) point to the interpreter that is to run the file. The line you give will make ash run the file. You probably want the path to your PHP interpreter instead.