Join the Mozilla’s Test Days event from 9–15 Jan to test the new Firefox address bar on Firefox Beta 135 and get a chance to win Mozilla swag vouchers! 🎁

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

I can not open files in my jZIP folders, they are either .PHP or html files what program do I use or how do I open them... Doug

  • 3 trả lời
  • 8 gặp vấn đề này
  • 50 lượt xem
  • Trả lời mới nhất được viết bởi cppljevans

more options

Hi I have download files using jZIP and then I can't find a program that will open them... they are .PHP and .html file extensions... what do I do.. Doug

Hi I have download files using jZIP and then I can't find a program that will open them... they are .PHP and .html file extensions... what do I do.. Doug

Tất cả các câu trả lời (3)

more options

Hello , Dear friend .PHP files are a server side pages or scripts it needs a server to run on it or to be executed , so you will have to install something like apache server you will find a great application that enables your system to work as a localhost server

>> http://download.cnet.com/XAMPP/3000-10248_4-10703782.html

but HTML file can easily opened by any browser like Firefox or IE

also if you need to edit the content of their code you will have to obtain a code editor like Notebad++ >>http://download.cnet.com/Notepad/3000-2352_4-10327521.html

thanks for your time i wish i could helped you.

more options

I can view .php files on the web. For example, I can view this one:

 http://www.php.net/sites.php

However, when I point my firefox to a local file:

 file:///home/evansl/prog_dev/itext/book/index.php

I get a dialogue window asking me what to do with the file. How can I get firefox to treat a local .php file like one loaded from a website?

TIA.

-Larry

more options

Read the manpage on apache which hinted at trying:

 http://localhost/

I did and got some default webpage. Reading:

/etc/apache2/sites-enabled/000-default

showed that page was from /var/www; so, tried copy index.php to this directory and then pointed firefox to:

 http://localhost/index.php

and that worked. However, since a non local php file can be viewed without the localhost, why can't a local php file be viewed without having to copy it to /var/www first and then prefixing with //local/host/?

-Larry