Interesting questions
-
0
votes1
answer16
viewsDownload CSV file in WEB directory
I am trying to download a CSV file in the directory but it is downloaded in . TXT Unsuccessful attempts (PHP 7.1) header('Content-type: text/csv; charset=UTF-8') header("Content-Type:…
-
2
votes1
answer45
viewsHow do I read my HTML file for the server I hosted?
I created my HTML site and uploaded it to the server. However, when I enter an address, I am referred first to the index of the public.html folder. According to the hosting assistance, the problem…
-
0
votes0
answers63
viewsPass value from a json array to a variable
I’m creating an app for Android and I’m trying to pass a array JSON an element called phoneNumber, and I am using this plugin below, which brings this element in array: Telephonenumberplugin but the…
-
0
votes0
answers39
viewsLock form code when opening modal
I have a modal boostrap that works perfectly, I call it in c# code-Behind, that way: ScriptManager.RegisterStartupScript(Page, Page.GetType(), "myModal", "$(function() {openModalExclusao();});",…
-
0
votes2
answers1225
viewsHow to check if the txt file has a blank space on the last line
i have a script here that searches all the files . txt from a folder and then joins them in one file only. The problem is that some files have a " n" in the last row, causing the next line not to be…
-
5
votes2
answers1050
viewsEvent that identifies when the browser is resized.
Is there any event javascript that identifies when the browser resizes the page? I’m having problems with resizing the page with a window FancyBox, which loses its dynamic changes and returns the…
-
0
votes0
answers373
viewsCount multiple records for Chart on Laravel
How do I count multiple records with Laravel? Example: Table homicios, count the columns month, date, city separately and generate the chart in Chart. Chart 1: Jan - X quantity Feb - X quantity Etc.…
-
0
votes1
answer735
viewsBack button on webview
I’m starting in the area of android app development. So I started to develop an application which I created 4 layouts ( Main screen, central subscriber, contact and plans). In the subscriber’s…
-
0
votes0
answers683
viewsHow to record and display images using Postgresql and Laravel 5.1
I have the following code in my Controller to save the image in the database, not any error so I think it works right. $data = Input::file('assinatura'); $escaped = bin2hex($data);…
-
0
votes1
answer78
viewsError trying to post a php page through Android Studio
Error 03 - 12 18: 44: 46.688 23858 - 23891 / com.natanielsoares.eceller E / AndroidRuntime: FATAL EXCEPTION: AsyncTask #3 Process: com.natanielsoares.eceller, PID: 23858 java.lang.RuntimeException:…
-
0
votes1
answer45
viewsAjax, send data without updating page
Well, I did a Restful API integration, which searches all products from one e-commerce and sends Json to another site, and needed that when clicking the "Submit" button, the page did not update. My…
ajaxasked 6 years, 7 months ago Samuel Moreira 1 -
2
votes1
answer2487
viewsHow to make a method return a string in Java
I want to create a program that reads the name and age of a person and compares the ages and finally shows the name of the older person. My reasoning was to compare which is the highest and return…
-
1
votes1
answer184
viewsBuild error with struct
While trying to compile I am facing the following error: ..: error: storage size of 'PPFila' isn't known ..: error: storage size of 'AUTFila' isn't known On this code line struct Fila PPFila,…
-
2
votes1
answer769
viewsAverage between multiple dates in an array
I am needing to calculate an average not only between an initial date and a final date, but on all dates present in a matrix to obtain an average result in days, hours, minutes and seconds of how…
phpasked 9 years, 9 months ago Rafael Alexandre 2,110 -
0
votes2
answers267
viewsDelete method returns unencumbered page
I use the form below to send the id of the row to be deleted in the table: <form method="DELETE" action="{{ URL::to('receitas/delete') }}" > <input type="hidden" name="id" value="{{…
-
5
votes2
answers518
viewsGrab File without knowing the extension of it
How do I pick up an image even if I don’t know its extension? for example: Image name is moon, but I don’t know the extension and when I try to use php commands error and says it did not find the…
phpasked 8 years, 8 months ago Silvio Andorinha 8,394 -
0
votes1
answer33
viewsHow to list EXC exchange information via API in PHP?
Using PHP, like listing information from the EXC API, I’m having some difficulties and who can help, Details: LINK API: Here’s an example of how I tried to do: <?php $json =…
-
3
votes1
answer550
viewsidentify a click outside the div with jquery
Well I know how to identify a click on Cida of an element. I do so: // Fecha Sidenav $("#Close_Sidenav").click(function() { $("#mySidenav").hide(); }); But I need you to $("#mySidenav").hide() run…
-
1
votes1
answer439
viewsWhat is the purpose of "ASP.Net" folders?
In the Visual Studio it offers me the option of "Add ASP.NET Folder". What would their purposes be? If possible I would like you to talk at least a little about each one.…
-
2
votes1
answer149
viewsHow to customize "Confirmation window"?
Follows the code: @using (Ajax.BeginForm("Action", "Controller", new AjaxOptions { HttpMethod = "POST", OnSuccess = "OnSuccess", Confirm= "Tem certeza ?" }, new { @class = "form-horizontal", role =…