Jump to content

Encoding Type


alex-johnson

Recommended Posts

Hi,

 

I have a php file that i cannot read its source content , i dont know what type of encoding is it and i hope that someone here could help me out !

 

When i run 'file' command in linux it gives me this output : PHP script, ISO-8859 text, with LF, NEL line terminators

It shows up like this in editor (Geany):

post-164318-0-95908400-1374178140_thumb.png

 

In Notepad++:

 

post-164318-0-98023300-1374178196_thumb.png

 

 

Is there anyway that i could convert or change it to something human readable ?

 

Thanks

Link to comment
Share on other sites

PHP allows most names to use high-byte characters (ASCII >127). It's valid PHP code.

You'd have to do a sort of find-and-replace for each one, keeping in mind that replacing "ABC" might also find "ABCD" even though they're two logically different names.

 

What are you trying to do? Obfuscated code typically has restrictive licenses.

Link to comment
Share on other sites

Im kind of a newbie in PHP and to be honest i dont get it!

The script belongs to me but the programmer is not avilable anymore and i have to change the server and do some modifications .

I'll be appreciated if you could explain to me how should i do find-and-replace in this codes.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.