Questions tagged as 'filesystem'

1
answer

Problem checking if there is a directory with PHP

I'm trying to check if a directory exists and if not create it, but the page does not work for me when I use the functions "file_exists" or "is_dir". I've tried it this way: if(!file_exists( $path ) mkdir($path); And so: if(!i...
asked by 06.10.2018 / 20:00
1
answer

How to make a servlet wait to see if it has uploaded the file before redirecting

I wanted to ask you if it occurs to you how to do that after uploading a photograph to a folder on the server, from the same servlet that uploads the image it is verified that the image is fully uploaded before redirecting to another page. Ev...
asked by 28.05.2018 / 15:34
0
answers

Problem with LIVE USB in Kali Linux. File system Read Only

Good morning, I have a USB that I just made booteable with Kali Linux, among the options I wanted to start the system in persistent mode, but it throws me an error that is not compatible with my Nvidia video card, with which I had to start Kali...
asked by 23.08.2017 / 11:33
1
answer

How to filter explicit images when the user uploads their profile picture in php?

Well here with another doubt. We know that any person, out of simple curiosity or annoyance, when uploading their profile picture on a web page, could happen to upload images to the server with explicit content. This is where I wonder how...
asked by 03.08.2018 / 02:23
1
answer

Cut in several parts string of characters C # asp.net

Good evening. How can I convert the following string: "image / jpg, image / jpeg, application / pdf" in the following: ".jpg, .pdf, .zip" Also taking into account that the first chain can include more extensions. Thank you.     
asked by 08.11.2017 / 02:51
1
answer

Equivalence My.computer a c #

I have the following line in visual bAsic: Dim listadoArchivos = My.Computer.FileSystem.GetFiles(directorio, FileIO.SearchOption.SearchTopLevelOnly, filtro) the equivalence in c # what would it be?     
asked by 15.11.2018 / 17:20
2
answers

Problems with receiving variable get [closed]

I have this simple error, but I can not tell what I'm doing wrong Undefined index: activity_id $id = $_GET['id_actividad']; $sql = "SELECT * FROM actividad WHERE id_actividad = '$id'"; $resul1= mysqli_query($conexion,$sql);...
asked by 05.06.2018 / 07:49
1
answer

I can not find the android folder emulated / 0 /

I am creating a public file in an android route, I have followed the steps of the android developer web. I try to create a folder in pictures, I have refined and everything works fine, but when I see the cell phone I can not find the folder....
asked by 04.11.2017 / 18:36
0
answers

Use Filesystem from NodeJS in Heroku

Start a project and to start I need to know if it is possible to use NodeJS FileSystem on a server like Heroku. I need to use the functions of reading files precisely. Using or not using this module would totally change the way in which I will d...
asked by 23.12.2018 / 01:23
0
answers

Problem replacing web images with local images

I am trying to replace the SRC of certain images in a web by images that I have stored in local. I do it with file: //// C: /folder/image.png The image DOES NOT SEE and I see the error: Not allowed to load local resource in the Chrome console...
asked by 30.10.2018 / 19:36