PHP variable to Xcode variable
how can i get an integer variable from PHP page a开发者_如何学编程nd save it to the integer variable in my program...
USInteger *number = an integer variable from PHP page...
You're talking about IPC I think ... InterProcess Communication ... The PHP "page" is itself a program ... you'll need to setup a way to communicate with your "program" on both the "page" side and the "program" side ... one option of course is to output the variable in the "page" and parse it through the "program"
Of course IPC is more commonly related to pipes, sockets, and shared memory.
Of course this is assuming you are actually attempting to get the value of a variable in a PHP page and assign it to the value of the variable in your "program" ... Its very possible I'm wrong in that understanding of your question.
精彩评论