Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to hide a specific files and how to add search function #6

Open
dimitrihtml opened this issue Aug 7, 2020 · 1 comment
Open

Comments

@dimitrihtml
Copy link

hi there
this project is very useful
1- i was hoping if you can tell me how to hide a specific file for example i want to hide all .php files the directory or i want to hide only a single specific .php file, is there any code that i can use to do that ??
2- is there any possible way that you can help me out with search function for the files since if i wanted to upload a lot of files and then i need only a specific files i have to go looking for it one by one so i was hoping that you can provide s search code

thanks for this amazing project

@pgpillar
Copy link

pgpillar commented Jun 3, 2021

@dimitrihtml
To answer your first question:

You can hide .php files pretty easily. All you have to do is add a preiod . before the name.
For example, to change explorer.php all you need to do is change the filename to .explorer.php.

You can do this with any file on a Linux machine. You should enable 'Show hidden files' within the file explorer on your Linux OS so you can still click into it if you need to.

If you only use ssh or a terminal to access your server, you open the file the same way you open any other file, just with a period at the beginning since the filename now contains a period. For example: sudo nano /var/www/html/.explorer.php

As far as your second question goes, it's funny you have asked for this. I am currently working on a search function for this web application for the same reason you need it. I will let you know once I have completed my project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants