Most voted "header" questions
97 questions
Sort by count of
-
1
votes1
answer41
viewsNav-bar logo moves when website and placed in full screen
I developed a Nav-bar Fixed with an image in the center also Fixed, but when I put the site in full screen I realize that the logo also moves, how can I leave the logo fixed regardless of the height…
-
1
votes0
answers110
viewsError authenticating Json with php by passing header
I have a small problem when consulting a URL with file JSON. Basically my code returns bool(false). $usuario = 'root'; $senha = '123'; $header = 'Authorization: Basic ' . base64_encode($usuario .…
-
1
votes1
answer466
viewsI can’t center the title
Using React-Native and React-navigation, for some reason nothing I tried worked to centralize the title. Attempts: Alignself export default class First extends React.Component { static…
-
0
votes2
answers24272
viewsHow to resolve "Cannot Modify header information - headers already sent by" error in PHP?
Because when we make use of the functions header() and setcookie() error occurs: Warning: Cannot Modify header information - headers already sent by (output Started at /teste.php:10) in /php test.…
-
0
votes1
answer240
viewsProblem logging in using Cakephp on session_regenerate_id()
Testing at home, my Cakephp project works perfectly. But when running the same project on the site, with the appropriate changes, as expected it presents a slightly different behavior. But a problem…
-
0
votes2
answers376
viewsHow to include "time" library in the compiler?
I am compiling in C on my Mac by terminal, this all a wonder, the only problem is that when I need to call a new library I don’t know what the command to call it by terminal. Ex: #include…
-
0
votes0
answers174
viewsPutting header into CSV file
I have on a client’s page a log generation routine. However, I always need to add a header field on the first line. Here is the function code: public function generateLogPMWeb($action){…
-
0
votes2
answers4960
viewsAdd Header and Footer to all pages
I am creating a new version of a city guide portal, there are several pages and currently the staff uses the include of the . shtml: include virtual="../header.htm" include virtual="../footer.htm"…
-
0
votes1
answer71
viewsDefinition and implementation in different locations
Hello. I am having doubts when implementing a header in folders with different paths. I am placing my header in a folder called "include" and implementations in a folder called "src". To solve this…
-
0
votes0
answers309
viewsClass display php image
There is the possibility to display an image through class methods without needing an external file to not generate header conflict? I created a class where to depend I call an image in a protected…
-
0
votes0
answers109
viewsProblem with header size
I’m suffering from a code where I need to leave a particular banner with a predetermined size in the browser when opening the page, but every time I open the page, it gets the full size of the…
-
0
votes4
answers935
viewsHow the header() function works in PHP
I’m using the following code: if (!$lRet): // Volta para o cartão eletrônico. header('Location: '.$_SESSION['CFG_DIR_ROOT'].'index.php'); endif; This way it just doesn’t work and keeps running the…
-
0
votes1
answer37
viewsHeader bar does not redirect correctly
In a template I’m using, it’s all responsive in any size. Being that I’m fitting it to my site, only the header bar is not working properly, as shown in gif. If you have the programmer mode open,…
-
0
votes1
answer247
views -
0
votes1
answer120
viewsHeader() redirect error
<?php require_once("banco-produtos.php"); require_once("logicaUsuario.php"); verificaUsuario(); require_once("header.php"); $id = $_POST['id']; removeProduto($conexao, $id); $_SESSION["success"]…
-
0
votes0
answers188
viewsHow to insert a variable value in the PHP Header?
My intention is that when you delete a bill, it goes back to the index page of notes referring to that work. Code: { $id = $_POST['id']; $ok = $_GET['obra']; //Delete do banco: $pdo =…
-
0
votes0
answers588
viewsHow to send parameters by Soap header and join parameters to body
I’m wondering how I send the header of a Soap and add the parameter that goes to the body. I’m putting the code I already did and Soap: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope…
-
0
votes0
answers26
viewsSend Header from another domain in php
Guys, I have a partner site, which would need to send your information to the customer’s browser as soon as the customer accesses my site, I do it currently with iframe and pixel, but it would be…
-
0
votes1
answer44
viewsDoes not redirect
I have the code below right at the top of a page. I am going to it without passing ID through GET, so you are entering ELSE correctly. It is going through setFlash, but does not redirect the page…
-
0
votes2
answers441
viewsHow to disable double-click the header of a Datagrid?
Double-click method on the grid: private void grid_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (e.LeftButton == MouseButtonState.Pressed && //Verifica clique com o esquerdo…
-
0
votes1
answer620
viewsFixed footer and header
I wonder how I can make a layout like the below but getting fixed the header and footer, if the body increases the header and footer stay fixed. *{ padding: 0; margin: 0; text-decoration: none; }…
-
0
votes0
answers18
viewsPhp protocol HTTPS page does not redirect
Good afternoon! I have a problem, when the login expires the page is empty and the command header("location: login.html"); exit(); does not work. This only happens on the site with HTTPS. Someone…
-
0
votes1
answer246
viewsInserting javascript in joomla header 2.5.8
Many years I don’t touch joomla and an old client asked me to insert a javascript in the site header. How do I do this? The joomla version is 2.5.8 The main page code is <?php /* Design by VTEM…
-
0
votes2
answers565
viewsGet Header information, javascript
Good morning, I need to get the statuscode that returns in the header, after I run a POST , I would like to know a way to achieve this, using java script if possible what is the best way to get the…
-
0
votes0
answers39
viewsC# - get JSESSIONID site ftp error 401
I can’t get JSESSIONID to download a file from an ftp. I need it because if I put JSESSIONID fixed the file low, otherwise it gives error 401 unauthorized. However this id changes. WebRequest…
-
0
votes1
answer749
viewsSet up headers in Axios?
I’m using Axios to make requests between client and server, but I’m having problems with headers. When I make the requests by Postman returns exactly what I want (which in case is a PDF), but when I…
-
0
votes0
answers60
viewsUse two different headers for two different exits in the same call
At a certain point, I need to generate XLS files on my system, and use the following header for output: header('Content-Type: application/vnd.ms-excel'); header('Content-Disposition:…
-
0
votes1
answer1379
views'Can’t set headers after they are sent. ' Express.js
I’m trying to send the variable 'name' to the client-side, but it’s only working when I run a respons.end() when I use two, returns this error: > 'Can't set headers after they are sent.' Server…
-
0
votes0
answers21
viewsFormat Name 'name <[email protected]>'
I’m starting to work with Pgp, and came across this id format name <[email protected]> The same is also used in Raw email formats, to inform the sender or recipient, wanted to know the name if…
-
0
votes1
answer372
viewsAngular login visible in the request header
Everybody, Good afternoon. I need some help. My backend was written in nodejs and this one on IIS. My frontend is in angular and it’s still on my machine being debugged. My login page is working as…
-
0
votes0
answers15
viewsPHP Warning error: Cannot Modify header information - headers already sent by, but to delete the page cookie after displaying it
I know there are already questions about this mistake, but I need some help because I can’t solve it, even with the information about the error. I am making a website that sets a cookie to show an…
-
0
votes1
answer326
viewsHow do I change the csv header, C#
I’m generating a CSV file, but I’d like the header was the same as anottation displayname. When I export, the displayname is ignored. call of the method string csv = ListToCSV(resultado); private…
-
0
votes2
answers1106
viewsScroll overlaying the navigation header (navbar) in HTML/CSS
I’m doing some tests and I wanted to take the scroll off the navbar, but leave in the rest of the main content of the page or below the navbar, but I’m not getting. Something like what happens on…
-
0
votes1
answer858
viewsHeader Location is not directing page ( PHP )
<?php // conexão require_once'connect.php'; // Sessão session_start(); if(isset($_POST["usuario"])){ $erros = array(); $usuario = mysqli_escape_string($connect,$_POST["usuario"]); $senha =…
-
0
votes1
answer147
viewsRegister Header in a SOAP service reference in C#
I’d like some support. I’m in serious trouble with a client. I have a C# application that fetches data from a system and sends it to a SOAP service. It turns out that this SOAP service requires a…
-
0
votes1
answer130
viewsHow to mount a BMP header (Bitmap) in C
Hello. I’m looking to build a BMP in C-language. I only receive image data, data size, width, height, bpp. I was able to mount the following header structure of BMP: struct BMPHeader { uint16…
-
0
votes1
answer538
viewsReact Native - Drawer Navigation Problems Header
I’m new to React Native and I have a problem. I have an APP that uses Drawer to mount the menu. This working ok however I have the following problem. As I have screens that open in different ways, I…
-
0
votes0
answers16
viewsHow to correctly pass an authorization token in the header using Javascript and the Papa Parse library?
I’m using the library Papa Parse in Javascript to download some dataset in CSV format and then read the data. It was working perfectly until they implemented a token authentication in the database.…
-
0
votes1
answer63
views -
-1
votes1
answer405
views -
-1
votes2
answers235
viewsHeader and Footer on all pages (static site)
I want to leave just one page for the header and the footer, since they are the same. However the same code I used some time ago is not working and I did not find a reason for this. Obs: I tried…
-
-1
votes2
answers465
viewsHide a Navbar item in React JS according to the page
I am new to using React, I took courses in Alura, but many doubts remain because it is something very new for me. I have a login page, this login page is using a Header that is used in all other…
-
-1
votes1
answer25
viewsproblems with php header
Hello, I am studying php, and one of the tasks is that I need to do an authentication for some pages, I am using $_SESSIONS for this, and I wanted that if the values of $_SESSION['name']…
-
-2
votes1
answer317
viewsSplitting project into multiple headers causes error: Dereferencing Pointer to incomplete type
I was wondering how to divide a project into several files. I had created a project divided into 3 files first, one main. c (containing main function), a lib.c (implementing functions used in…
-
-2
votes1
answer48
views -
-2
votes1
answer48
viewsHow to call menu inside another file
I want to call a menu file done in html, inside another html file to reuse the code without having to type everything again for each module of the menu. Do I have to use PHP to do this? Follow the…
-
-3
votes1
answer58
viewsI can’t understand the difference between percentage and px in CSS
Good morning! I’m creating a simple menu (header), but I can’t understand when I use px or percentage. For example: this is the header I created: I put the following settings on it: .header {…