Results 1 to 5 of 5

Thread: php support

  1. #1

    Member Since
    Mar 30, 2011
    Question 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

  2. #2

    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
    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.


  3. #3

    Member Since
    Mar 30, 2011
    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.

  4. #4

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    2012 13" MBP (2.5 i5, 8GB)
    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:
    $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
    Writing a Quality Post

  5. #5

    Member Since
    Mar 30, 2011
    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

  1. Pulling my hair out! Server 10.5 and PHP GD image support!
    By ME44102 in forum OS X - Operating System
    Replies: 3
    Last Post: 02-01-2014, 11:50 PM
  2. PHP Help
    By JoeyRamoneLives in forum Web Design and Hosting
    Replies: 2
    Last Post: 04-26-2005, 11:01 PM
  3. Setting up PHP and PHP Nuke
    By EvoMac in forum Web Design and Hosting
    Replies: 2
    Last Post: 02-18-2005, 01:38 PM
  4. Php
    By vtupser in forum Web Design and Hosting
    Replies: 5
    Last Post: 02-16-2005, 04:36 AM
  5. .Mac does it support php, htaccess or ssi ?
    By alvin777 in forum Web Design and Hosting
    Replies: 0
    Last Post: 03-31-2004, 08:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts