Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home for chromium.org
« Groups Home
php in a packaged app?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
17Seconds  
View profile  
 More options Mar 9 2012, 8:36 pm
From: 17Seconds <c.droll...@gmail.com>
Date: Fri, 9 Mar 2012 17:36:03 -0800 (PST)
Local: Fri, Mar 9 2012 8:36 pm
Subject: php in a packaged app?
I'm in the VERY early stages of developing a packaged app for a
project and am having issues with PHP files loading within the app.
Rather than executing the files (example.php) it wants to download
them instead.  Switching to HTML works fine but all my code is in php
so I'd rather not rewrite if possible.

Does php work in packaged apps?

I'd go with 'hosted' but I need offline access available for the
entire app.

Thanks for any help!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mohamed Mansour  
View profile  
 More options Mar 11 2012, 4:47 am
From: Mohamed Mansour <m...@chromium.org>
Date: Sun, 11 Mar 2012 04:47:53 -0400
Local: Sun, Mar 11 2012 4:47 am
Subject: Re: [crx] php in a packaged app?

Hello,

Extensions are simply web pages. So the simple answer would be no, you
cannot use PHP, and you would need to host your PHP externally. You can
still do offline access by caching it with local storage, manifest cache
etc.

If you *really* want to use PHP in a packaged extension, then you have to
find a way to bundle the PHP Interpreter in NPAPI. I don't recommend that.

Thanks,
Mohamed Mansour

http://mohamedmansour.com/+


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »