Opening a PHP file.( SOLVED)

Questions about applications and software
Forum rules
Before you post please read this

Opening a PHP file.( SOLVED)

Postby bicky on Mon Nov 05, 2012 12:22 pm

I have downloaded a document - PHP script (application/x-php) - can anyone guide me on how to open and read this document
Last edited by bicky on Wed Nov 07, 2012 10:34 am, edited 1 time in total.
User avatar
bicky
Level 4
Level 4
 
Posts: 205
Joined: Mon May 25, 2009 3:50 pm
Location: Portugal

Linux Mint is funded by ads and donations.
 

Re: Opening a PHP file.

Postby cwsnyder on Mon Nov 05, 2012 6:33 pm

A PHP script should be a simple text file which can be opened in any text editor. To interpret the file, you need a reference on the PHP language reference.
LMDE Mate 64-bit, LM16 Mate 64-bit
Debian Xfce 64-bit, Xubuntu 13.10 64-bit, Xubuntu Trusty Tahr 64-bit, Antergos Xfce 64-bit, PCLinuxOS LXDE 64-bit
cwsnyder
Level 6
Level 6
 
Posts: 1039
Joined: Wed Oct 20, 2010 6:49 am
Location: Nappanee, IN, USA

Re: Opening a PHP file.

Postby usbtux on Tue Nov 06, 2012 6:32 am

Double clicking on the file (it will have a blue php icon) should load it into gedit (in cinnamon)
http://goo.gl/DXKgM useful tutorials for installing mint on USB drives.
http://www.usbtux.hostzi.com/
http://goo.gl/WFu0u Installing Mint - the screen cast videos.
linuxcounter #368850
Image
User avatar
usbtux
Level 5
Level 5
 
Posts: 866
Joined: Tue Dec 28, 2010 10:37 am

Re: Opening a PHP file.( SOLVED)

Postby bicky on Wed Nov 07, 2012 10:36 am

Thanks for these - found the problem - the PHP file was incomplete.
I had to click on link in Webpage to open a doc - this proved to be incomplete .
User avatar
bicky
Level 4
Level 4
 
Posts: 205
Joined: Mon May 25, 2009 3:50 pm
Location: Portugal


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 16 guests