PPRuNe Forums

Go Back   PPRuNe Forums > Supplementary Forums > Computer/Internet Issues & Troubleshooting
Forgotten your Username/Password?
PPRuNe Email Register FAQ Calendar Advertise Mark Forums Read

Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. We will also try and help with troubleshooting any technical problems you may have with the forums.


Closed Thread
 
Thread Tools Display Modes
Old 16th November 2005, 15:05   #1 (permalink)
Cool Mod
 
Join Date: Apr 1998
Location: 18nm N of LGW
Posts: 3,984
PHP format

I have downloaded a file I need but it is in PHP format and I find that I cannot open it. I have found references to it but how to use it - nothing.

Anyone help please.

PPP
PPRuNe Pop is offline  
Old 16th November 2005, 15:18   #2 (permalink)
spannersatcx
 
Join Date: Dec 1998
Location: .
Posts: 1,544
Cool

is php not something to do with a webpage, if so try IE or a webpage editor.

spannersatcx is offline  
Old 16th November 2005, 15:23   #3 (permalink)
Per Ardua ad Astraeus
 
Join Date: Mar 2000
Location: UK
Posts: 9,031
Pop - try this site - it lists several possible programme types for 'php'.
BOAC is online now  
Old 16th November 2005, 16:27   #4 (permalink)
FunkyMunky
 
Join Date: May 2004
Location: Between EGPF and EGPH with a 15 minute drive to EGPG :P
Age: 20
Posts: 125
A PHP file is kind of like an HTML (web page) file. The difference is, HTML files contain all the content and can be viewed straight in your browser, usually from any location. For example, if I download an HTML file containing a string of text, my browser will be able to show me that text no matter where I put the file, because it is stored within the file. PHP files on the other hand often (but not always) only contain code which relies on the server to generate the content, based on the code some other resource, for example a database. If you look to the top of your browser whilst in PPRuNe, you will see that the site uses php to generate the various different parts of the forum. The PHP code can be used to manipulate a database of all the forum posts, or something similiar, in order to generate the pages we see.

The PHP file might still have information other than server-side code in it though, because they can contain HTML code just like any HTML file, so try opening it in your browser. Otherwise, the code in the file will just try to reference a server which doesn't actually exist (unless you have a server with a PHP module installed on your machine ).

FunkyMunky is offline  
Old 16th November 2005, 22:26   #5 (permalink)
Spinflight
 
Join Date: Jul 2005
Location: Lv426
Posts: 81
As FM says it would be unusual for the entire file to be dynamic, i.e. server generated content so either try it in a web browser or go to view > source and you should get the gist of it.

Spinflight is offline  
Closed Thread


Thread Tools
Display Modes


Posting Rules
vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT +1. The time now is 11:50.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC7
© 1996-2008 The Professional Pilots Rumour Network

As these are anonymous forums the origins of the contributions may be opposite to what may be apparent. In fact the press may use it, or the unscrupulous, or sciolists*, to elicit certain reactions.

*"sciolist"... Noun, archaic. "a person who pretends to be knowledgeable and well informed".