본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Is There A Firefox Android Plugin To Open PHP Webpages ?

  • 3 답장
  • 4 이 문제를 만남
  • 3 보기
  • 최종 답변자: tamjk

more options

I wanted to see how a website would look on a mobile device before I made it available online. So I copied the web files to the My Files folder on my Android phone and installed Firefox to display them. It opens .html versions of the webpages but won't open the .php versions, i.e. it opens index.html but won't open index.php.

Interestingly, if I am within index.html and I click on a link to another page that is a .php file (e.g. Pricelist.php), it DOES display that .php webpage ...

Is there a plugin that will enable "front door" access to .php webpages in Firefox Android ?

I wanted to see how a website would look on a mobile device before I made it available online. So I copied the web files to the My Files folder on my Android phone and installed Firefox to display them. It opens .html versions of the webpages but won't open the .php versions, i.e. it opens index.html but won't open index.php. Interestingly, if I am within index.html and I click on a link to another page that is a .php file (e.g. Pricelist.php), it DOES display that .php webpage ... Is there a plugin that will enable "front door" access to .php webpages in Firefox Android ?

모든 댓글 (3)

more options

Well if you want to view the website on mobile rather you can view the pages on any resolution by using a simple shortcut "Ctrl + Shift +M". It is a developer tool called as the responsive design view.

more options

PHP is a scripting language that is interpreted on the web server and delivered to the browser as HTML. The .php extension can be used with files that are mostly plain HTML anyway, or with files that are exclusively program code. But either way, you will have the best results viewing them on a web server instead of as locally stored files.

To answer your question: I don't know if there is an add-on to process PHP files and show them as HTML.

more options

Thanks for that idea, Varun. Unfortunately, when I did CTRL+SHIFT+M on a webpage on the PC it gives a view that's very different to what I can see on my mobile phone. Firstly, although images reduce in proportion to the viewport, the font size remains fixed. Still, it's good to know this trick.

But either way, you will have the best results viewing them on a web server instead of as locally stored files.

Is this because web servers have .php file processing software on board ? Still, it's funny how Firefox Android refuses to display a .php file when you try to access it by the file opener, yet still displays it no problem when you follow a link inside an open html webpage . . .

Maybe this points to a problem with the Android OS's file associations rather than Firefox Android . . .

Initially I tried to open this offline webpage with the Samsung browser. (I believe that this is actually a version of Google Chrome, renamed "Internet".) But this seems to refuse all attempts to open a webpage when there is no data-link . . . So I had to install another browser like Firefox Android.

So maybe it really is a (Samsung) Android issue at heart.

글쓴이 tamjk 수정일시