We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

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 antwoorden
  • 8 hebben dit probleem
  • 50 weergaven
  • Laatste antwoord van 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

Alle antwoorden (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