View Full Version : Can I use PHP in a local iphone app that contains html pages?
jtbullet
May 11, 2009, 09:14 AM
Hi, my friend suggested that I create a php script to handle my simple web gallery project. My project simply consists of html pages containing single images, with html forward and back links. He suggested that we use php to handle calling the images, since that way we only use one html page. Are there any special issues with using php in the iphone at this point? He is extremely experienced at php but not at iphone dev.
Thanks!
Jarrett
robbieduncan
May 11, 2009, 09:20 AM
You cannot run PHP on an iPhone at all. You would need to run that on a webserver and communicate across the network (cell or WiFi).
jnic
May 11, 2009, 09:22 AM
PHP is executed server-side, so the iPhone only ever sees static content, as with all other browsers, in which case the use of PHP makes no difference.
Unless you're suggesting running PHP scripts in the client? This would require porting PHP to the iPhone, so I'm assuming this isn't what you meant...
Maybe you could rephrase the question?
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.