I figured it out. For anyone that also needs to do this, its simplier then it looks.
Here's the Code:
Code:
NSString *urlStr = [NSString stringWithFormat:@"%@/index.php?some_name=%@", url, name];
NSURL *theURL = [[NSURL alloc] initWithString:urlStr];
//get the data from the web page
NSString * results = [NSString stringWithContentsOfURL:theURL];
//Seperate the data by a | delimiter
NSArray * chunks = [results componentsSeparatedByString:@"|"];
//put the data into some class variables
NSScanner * scanner = [[NSScanner alloc] initWithString:[chunks objectAtIndex:0]];
[scanner scanFloat:&load];
scanner = [[NSScanner alloc] initWithString:[chunks objectAtIndex:3]];
[scanner scanInt:&diskUsage];
users = [[NSString alloc] initWithString:[chunks objectAtIndex:4]];
Hope this helps someone, because this took me HOURS to figure out!
-CoffeeKid