dot php .php
Aart Koelewijn
aart at mtack.xs4all.nl
Thu Sep 3 17:28:35 UTC 2009
On Thu, 03 Sep 2009 10:17:08 -0500, Andrew Farris wrote:
> On Thu, 2009-09-03 at 09:00 -0400, Michael Comperchio wrote:
>> Hal Burgiss wrote:
>> > On Thu, Sep 03, 2009 at 12:03:47PM +0800, 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 .....
>> > >
>> > >
>> > Maybe its not what it seems. First thing I'd run 'file tracker.php'
>> > and see what that says.
>> >
>> >
>> You could just open a terminal a "cat tracker.php" and see what it
>> lolks like?
>>
>> Michael
>
> That 'file' thing is a neat trick I didn't know. Basically though, he
> sent the thing to me, I looked at it (with "cat" actually), and it looks
> like a trashed file to me.
>
> though the 'file tracker.php' returned this:
> /home/andrew/Desktop/tracker.php: Microsoft Office Document
>
> I tried renaming it and seeing if it was a word doc w/ a macro or
> something (or xls, etc...) but that didn't work either.
>
> just my infos...
I suppose it once was a php file, but edited with Word and then saved.
You never shoukd use a text processor like Word (or OO) to edit a text
file, strange things can and will happen. Do that with a real editor (I
prefer vim).
Aart
More information about the ubuntu-users
mailing list