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 > Mac OS X Development Forums > Mac OS X Development

Reply
 
LinkBack Thread Tools Display Modes
Old 03-28-2009, 01:06 PM   #1 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 7
ledavid71 is on a distinguished road
Default PHP Web service

Hi everyone, I really need help I need to make an app where you can control the duration value of a quartz composition through a web service in php.

Any help would be really appreciated
ledavid71 is offline   Reply With Quote
Old 03-28-2009, 01:11 PM   #2 (permalink)
Former NeXTStep Developer
 
Join Date: Mar 2009
Posts: 997
FlyingDiver will become famous soon enough
Default

Which part do you need help with?

You need a web app (PHP or otherwise) that the user can interact with that will remember what the duration value is for a particular use (or device).

Then you need code in your iPhone app that will query the web server. A simple NSURL call to your PHP code would be able to return the value needed.

joe
FlyingDiver is offline   Reply With Quote
Old 03-28-2009, 01:43 PM   #3 (permalink)
Registered Member
 
Join Date: Mar 2009
Posts: 7
ledavid71 is on a distinguished road
Default php web service

Yes thatīs it I need a php that can remember the value of the duration and send it back to me

I have this to get the php:

NSURL *url=[NSURL URLWithString:@"http://localhost/~nub/login.php"];
NSURLRequest*request=[NSMutableURLRequest requestWithURL:url];
NSURLConnection *connection=[NSURLConnection connectionWithRequest:request delegate:self];

but how do i send the variable from the php to my cocoa app
ledavid71 is offline   Reply With Quote
Reply

Bookmarks

Tags
php quartz cocoa

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 472
15 members and 457 guests
alexeir, David-T, Dj_kades, foslock, iAppDeveloper, jeroenkeij, LunarMoon, Mijator, myach, pipposanta, QuantumDoja, robsmy, sacha1996, SLIC, usernametaken
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,679
Threads: 94,129
Posts: 402,928
Top Poster: BrianSlick (7,990)
Welcome to our newest member, xzoonxoom
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:26 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0