Results 1 to 2 of 2

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.

Thread: Simple SBSettings toggle to make http request?

  1. #1
    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?

    NSURL *theURL = [[NSURL alloc] initWithString:@"http://ipaddress/file.php"];
    NSData *theData = [[NSData alloc] initWithContentsOfURL:theURL];
    [theData release];
    [theURL release];
    I found this. But I dont really know C. I also have no clue how to make a toggle.
    Last edited by blindmist; 2013-03-23 at 07:46 AM.

  2. #2

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts