Questions tagged as 'arquivo'

1
answer

How does logic work to figure out the size of the image?

In PHP and other programming languages, it is possible, through some special functions, to find out the size of the image. For example: list($width, $height) = getimagesize('images/icon.png'); I was curious to know how languages do this....
asked by 22.06.2016 / 17:11
1
answer

Can you use a dialog to open both folders and files?

Well, I'm using openfiledialog to open files, but the software needs to receive files or folders, because it compresses and zips ( .zip ) to then make a symmetric cipher. I searched through a number of sites and the like, and I d...
asked by 21.12.2015 / 14:22
1
answer

Form with a field of type "file" arrives at the server with "$ _POST" empty

On our hosting server, I have two projects, where both have a module in our administrative area to manage images. In the A project, the form is submitted to the server and the $_POST array is received by the server with the image fie...
asked by 09.01.2014 / 16:32
3
answers

How to read file passing part of the name in Java

Example.: The name of my file would be 001nome.txt , this file will have a variable action on the name depending on the entity, ie an hour it can be 001nome.txt at another time it can be 999nome.txt . Doubt.: How...
asked by 28.02.2014 / 20:11
2
answers

How to check in C if the file is empty?

Good evening, I'm working with C, and it turns out that I have a function or method that you have to print the data, the meal markings, for students who book a meal on the system. In the method the system must check if this file is empty a...
asked by 10.01.2015 / 23:21
1
answer

How to copy a file from the network to my computer using C #?

I have a desktop application that needs to copy media files from a server, videos and images. The server is on the same network as the terminal on which the program is installed. The problem is that this terminal will not be logged in with usern...
asked by 24.05.2016 / 21:44
1
answer

Txt file not found when generating .jar file

I have a Java application, this application has images, and I had the same problem: when I generated the .jar (executable) file the images did not appear, but if I were to run directly in NetBeans, it would appear. I solved the problem by puttin...
asked by 28.11.2015 / 21:17
1
answer

What is the difference between puts () and fputs ()?

I know that both functions are for displaying strings on the screen. But what is the difference between them? Which one is best to use?     
asked by 12.09.2014 / 18:14
4
answers

How to know the number of lines a large file has in php?

How do I know the number of lines in a file using PHP? I know there are functions like file , which returns all rows of the file in array . We could simply use a count , but the problem is that I need to do this for a 60m...
asked by 13.05.2016 / 18:55
2
answers

What does the expression "a + t" mean in the second parameter of fopen in C?

I was encountering a code here and I was curious about this passage: FILE *fp = fopen("Agenda.txt","a+t"); What is "a+t" ?     
asked by 19.05.2017 / 05:25