Questions tagged as 'header'

1
answer

header command in PHP

I'm trying to create a simple MVC system in which I have the following folder structure: Arquivos de Código-Fonte - Pasta Servlet - Pasta UserServlet.class.php Controller - Pasta UserController.class.php Model - Pasta DAO...
asked by 14.07.2017 / 00:11
1
answer

Configure headers on Axios?

I'm using Axios to make the requests between client and server, but I'm having problems with headers . When I do the requests Postman returns exactly what I want (which in this case is a PDF), but when I make the request through my client...
asked by 04.08.2017 / 21:26
1
answer

header bar does not redirect correctly

In a template I'm using, it's all responsive in any size. As I am adjusting it to my site, only the header bar is not working properly, as I show in the gif. If you have the programmer mode open, immediately small, and open to larger size,...
asked by 21.06.2017 / 12:57
1
answer

Force download with php makes file come corrupted

I use this code to force download: function filesizecurl($arquivo) { if (is_file($arquivo) === false) { return false; } $arquivo = realpath(preg_replace('#^file:#', '', $...
asked by 01.04.2017 / 20:32
2
answers

How to disable double click on the header of a DataGrid?

Double-click grid method: private void grid_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && //Verifica clique com o esquerdo uldPo00100.SelectedItems.Cou...
asked by 26.03.2017 / 22:58
1
answer

Do not redirect

I have the code below at the beginning of a page. I'm going for it without passing ID by GET, so it's entering ELSE correctly. It is passing through the setFlash, but does not redirect the page through the location. It stays on the same page. Wh...
asked by 08.03.2017 / 14:23
0
answers

How to send parameters by the soap header and together parameters for the body

I'm wondering how I send the header of a soap and next to the parameter that goes to the body. I'm putting the code I've already done and the soap: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/200...
asked by 11.01.2017 / 20:56
0
answers

class display image php

Is it possible to display an image through a class's methods without requiring an external file to not generate header conflict? I created a class where to depend on call an image in a protected folder, generate an image with text or display...
asked by 25.07.2016 / 00:23
0
answers

Problem with header size

I'm suffering with a code where I need to leave a banner with a predetermined size in the browser determined when opening the page, but every time I open the page, it gets the full size of the browser. I do not know exactly how to determine this...
asked by 13.10.2015 / 18:43
2
answers

Force text download in MSWord-supported format with PHP?

I would like to know how to force the download of a file, with some extension supported by Microsoft Word p> I've searched a few times, tested the MIME types I found, like the ones in this Microsoft's list , but I did not succeed. This...
asked by 11.09.2015 / 07:13