So I have a web server that I have a lot of php scripts that handle exec() functions. I would love to have SBSettings toggles that could just make the URL request of the php files so that my server can execute the needed commands remotely.
How hard would this be to make?
I found this. But I dont really know C. I also have no clue how to make a toggle.
NSURL *theURL = [[NSURL alloc] initWithString:@"http://ipaddress/file.php"];
NSData *theData = [[NSData alloc] initWithContentsOfURL:theURL];