Results 1 to 5 of 5
Thread: php support
-
03-30-2011, 10:37 AM #1
- Member Since
- Mar 30, 2011
- Posts
- 3
php support
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
-
03-30-2011, 10:41 AM #2
- Member Since
- Jul 17, 2009
- Location
- MA
- Posts
- 10,445
- Specs:
- 27" i7 iMac, 15" Macbook Pro TB, 13" Macbook Air, iPhone 6S, iPod Nano 7th Gen
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
-
03-30-2011, 11:32 AM #3
- Member Since
- Mar 30, 2011
- Posts
- 3
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.
-
03-30-2011, 11:56 AM #4
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>"; }
(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
Writing a Quality Post
-
03-30-2011, 02:18 PM #5
- Member Since
- Mar 30, 2011
- Posts
- 3
That is exactly what I was hoping for! Thank you for the quick responses. I will be back to this form in the future.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Pulling my hair out! Server 10.5 and PHP GD image support!
By ME44102 in forum macOS - Operating SystemReplies: 3Last Post: 02-01-2014, 10:50 PM -
PHP Help
By JoeyRamoneLives in forum Web Design and HostingReplies: 2Last Post: 04-26-2005, 10:01 PM -
Setting up PHP and PHP Nuke
By EvoMac in forum Web Design and HostingReplies: 2Last Post: 02-18-2005, 12:38 PM -
Php
By vtupser in forum Web Design and HostingReplies: 5Last Post: 02-16-2005, 03:36 AM -
.Mac does it support php, htaccess or ssi ?
By alvin777 in forum Web Design and HostingReplies: 0Last Post: 03-31-2004, 07:18 PM