New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
iOS and Apps All your questions and discussion of iOS or iOS Apps.

php support


Post Reply New Thread Subscribe

 
Thread Tools
jvs37

 
Member Since: Mar 30, 2011
Posts: 3
jvs37 is on a distinguished road

jvs37 is offline
Hi all,

I am currently developing somthing for the company I am interning at and an new to developing for the Ipad/Iphone. What I would like to know is if these devices have php support.

Thanks all!
James S
QUOTE Thanks
Raz0rEdge

 
Raz0rEdge's Avatar
 
Member Since: Jul 17, 2009
Location: MA
Posts: 7,325
Raz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant future
Mac Specs: 27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3

Raz0rEdge is offline
PHP support usually requires that a web server is running to execute the PHP interpreter over your files..

The iOS devices do not run a web server and don't have the PHP interpreter, if you jailbreak it, there MIGHT be a chance you can run those two..

However, if you want to develop an application for any iOS device, you'd want to do it using Objective-C and the Cocoa Touch framework.

Regards
QUOTE Thanks
jvs37

 
Member Since: Mar 30, 2011
Posts: 3
jvs37 is on a distinguished road

jvs37 is offline
Thanks for the fast response Razor, Im not planing on having the iOS device be the server but rather the client. will a Website generated server side work on a device? It seems like it would

I applogise for my ignerence on this topic.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,671
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is online now
PHP support does not depend on the client - all the work is done on the server. PHP code is executed on the server and respond with HTML, Javascript or both depending on how the page has been coded. In other words, any browser that support HTML and Javascript will be fine (all browsers). For instance, let's say I have the following if statement:
Code:
$x = 1;
if ($x == 1) {
     echo "<h1>The number is 1</h1>";
} else {
     echo "<h1>The number is not 1</h1>";
}
That code is executed on the server and would return <h1>The number is 1</h1> which the browser would then have to interpret which wouldn't be an issue given that it's plain old HTML.

(For those of you who write PHP, excuse my code if it's wrong - I haven't written it in a while).

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Personal Twitter
QUOTE Thanks
jvs37

 
Member Since: Mar 30, 2011
Posts: 3
jvs37 is on a distinguished road

jvs37 is offline
That is exactly what I was hoping for! Thank you for the quick responses. I will be back to this form in the future.
QUOTE Thanks

Post Reply New Thread Subscribe


« Jailbreak untethered 4.3 or 4.3.1 | Downloading files from the internet... »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
How to test php offline? x5452 Web Design and Hosting 11 02-17-2009 07:04 AM
Apache, php and mysql on leopard skorpyo Web Design and Hosting 1 01-18-2008 03:38 AM
Getting PHP to work on Leopard s.osullivan OS X - Development and Darwin 3 01-07-2008 01:11 PM
eShox Updated With Skins And WebDAV Support Murlyn Web Design and Hosting 0 11-19-2003 03:38 PM
Bogus PHP bug on Mac OS X... mark Web Design and Hosting 19 10-03-2003 07:34 PM

All times are GMT -4. The time now is 06:32 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?