Chikwado Posted November 5, 2015 Share Posted November 5, 2015 How to encript file name Example page.php my url http://chiquado.site90.net/page.php. I want to encript page.php using base64_encod(), Have testing file Encode but could not completely understand. Link to comment Share on other sites More sharing options...
justsomeguy Posted November 5, 2015 Share Posted November 5, 2015 base64_encode is not encryption, it is encoding. What exactly are you trying to do? What's the purpose? Link to comment Share on other sites More sharing options...
Chikwado Posted November 5, 2015 Author Share Posted November 5, 2015 I am try to encode a file related to index page, For example If I have www.chiquado.com/folder1/folder2/file.php. Now how do I encode folde1/folder2/file.php so that people would not see file name? Link to comment Share on other sites More sharing options...
justsomeguy Posted November 5, 2015 Share Posted November 5, 2015 Encoding means changing the text in the file to a different character set, like changing from UTF-8 to base64. That's not what you're trying to do, right?I'm still not sure quite what you're trying to do. If you don't want people to see the actual filename, what do you want them to see? Is that a URL that you're trying to hide? You can use URL rewriting to change how certain URLs get handled if that's what you're trying to do, but there's still going to be a URL that maps to the file, even if it does't show the actual filename on disk. Link to comment Share on other sites More sharing options...
Chikwado Posted November 5, 2015 Author Share Posted November 5, 2015 Some time if i receive email then, I see url example: http://chiquado.com/ some bla bla bla that I can't explain It's a part of security control, I like to code the related file like that. Link to comment Share on other sites More sharing options...
justsomeguy Posted November 5, 2015 Share Posted November 5, 2015 How about an example? Link to comment Share on other sites More sharing options...
thescientist Posted November 18, 2015 Share Posted November 18, 2015 It could also just be the case that you just keep those files out of the webroot Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now