Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 09-06-2008, 01:52 PM   #3 (permalink)
spuy767
New Member
 
Join Date: Aug 2008
Posts: 100
spuy767 is on a distinguished road
Default

Quote:
Originally Posted by hogeo View Post
I'm "very" new to web programming. If anything that I misunderstand, any help will be welcome to correct my mistake or misunderstanding.

How can I parse websites made by PHP for iPhone app??

I know some interesting PHP websites (including search box and using (maybe) eBay API), and just want to create my app which looks more customized layout (including search box) especially for iPhone app. Through the app, once I enter something into the search-box, I want things that I typed in automatically to be connected to the PHP websites which can find what i want. Then I wish I could display only some of outputs that website provides on iPhone screen in some customized way.

Since I don't see the URL looks like "***php?q=***" in URL field after entering search word (i.e. The URL looks like just "*****.com/search.php"), I guess I cannot use such an URL including query word like..

[WebView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com/search?&q="]]];

It seems to me that I cannot even search anything from native iPhone app. This situation made me wonder if I have to parse/decode PHP website.

My question is...
1) How can I parse/decode PHP website for iPhone native app? Possible?
2) If I can, how do I make a customized search-box, which is on iPhone app, connecting to the search-box on the PHP websites?? This hopefully enables us to search anything and provide the same outputs that PHP websites gives us.
3) Any good tutorials for this kind of stuff??

Sorry for my complicated preference. Any help will be appreciated!!

Thanks,
PHP code is run server side. All the browser ever sees is code that is generated by the PHP. It's less of a decoding PHP problem than a making iPhone compatible code.
spuy767 is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,519
Threads: 94,042
Posts: 402,628
Top Poster: BrianSlick (7,978)
Welcome to our newest member, yourcarparts
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:12 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.