Looking for two (2) PHP functions that use cURL to do the following:
1.) A function that will accept input parameters of Username, password, and some text and then login to [login to view URL] and post an update under my profile. If successful, it should return the value of 0 as a string.
2.) A function that will accept input parameters of a username, password, and some text and then login to [login to view URL] and post an update under my profile. If successful, it should return the value of 0 as a string.
Both of these sites ([login to view URL] and [login to view URL]) have API's available. (if needed vs. cUrl)
Note: The API does NOT have to be used. I am fine with a script that uses cURL to do the job. Nice and easy!