dot php .php

Joep L. Blom jlblom at neuroweave.nl
Thu Sep 3 22:00:04 UTC 2009


NoOp wrote:
> On 09/02/2009 09:03 PM, HermanAA wrote:
>> I am cleaning-up my desktop. I find:
>>
>> tracker.php  (1536 bytes)
>>
>> I saved it for some reason.
>>  (could be because I am fascinated by scripts .....)
>>  (MSDOS .bat files is all I know .....)
>>
>> How I open it? <------ 
>>  Gedit refuses. FireFox cannot do it. OO shows me unreadable chars.
>>
>> Just curious .....
>>
>> ===
>> PHP script (application/x-php)
>>
>> PHP is a widely used, general-purpose scripting language. It can be
>> embedded into HTML and generally runs on a web server, which needs to be
>> configured to process PHP code and create web page content from it.
>>
>> The main goal of the language is to allow web developers to write
>> dynamically generated webpages quickly, but you can do much more with
>> PHP.
>> ===
>>
>> Herman in Philippines.
> 
> A proper php script will open in gedit.
> 
> What you have is most likely a binary file - I'd use gvim to open it &
> look at it (convert to hex). I'd you'd like to send it to me directly
> I'll be happy to take a look.
> 
> Gary
> 
> 
> 
To look at the content of any file I use hexedit khexedit (KDE) or 
ghexedit (Gnome).
It gives you the content of the consecutive bytes and - if possible - 
their translation as ascii characters.
It is invaluable for me.
Joep




More information about the ubuntu-users mailing list