Questions tagged [header]

This tag is deprecated because it lacks discriminating power. Please use a more specific tag instead, e.g.: html-heading, email-header etc.

This tag is deprecated because it lacks discriminating power. Please use a more specific tag instead, e.g.: , etc.

13526 questions
4
votes
2 answers

PHP header sends PHP file while it shouldn't

I have a problem with my PHP script. It should work like this: User fills in details for reservation -> sends details to preservation.php. If the amount of persons is larger than six, it should prevent the data from entering the database. At the…
thomas479
  • 509
  • 1
  • 6
  • 17
4
votes
1 answer

Library design: Hiding dependencies

I'm attempting to build a library that uses a third-party library internally, but I do not want to expose and of this third-party library to the user of my library. This way, when the static library is built, the user will only need my header and…
learnvst
  • 15,455
  • 16
  • 74
  • 121
4
votes
3 answers

How can I compile Opencv API on gcc

I am trying to compile an an .C file which contains API from Opencv library. It seems the compiler doesn't find the API. I use the normal command for compilation gcc new.c -c gcc new.o -o new1 -l highgui highgui is a .h file which is…
user3064089
  • 65
  • 1
  • 3
  • 10
4
votes
4 answers

Getting basic 3D models into an OpenGL app

Ok... I'm doing simple OpenGL ES programming and when I say simple, the most complicated things I do aren't much more than glorified beveled cubes and L-shapes. (Think very Tetris but in 3D.) However, getting all that vertex data into an app is…
Mark A. Donohoe
  • 28,442
  • 25
  • 137
  • 286
4
votes
1 answer

Problems trying to add a filter to a Grizzly+Jersey app

I have this server initialization class: package magic.app.main; import org.glassfish.grizzly.http.server.HttpServer; import org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpServerFactory; import…
Ignacio Guerendiain
  • 417
  • 1
  • 8
  • 15
4
votes
2 answers

Jquery UI Accordion - How to set the panel size to zero or to prevent its display on click?

This is a very simple situation but I am surprised that there is no solution discussed or question asked or may be it is so simple that I am the only one stumped by it. In any Accordion, in which the panel has menus, there will be situations when…
Sunny
  • 9,245
  • 10
  • 49
  • 79
4
votes
1 answer

Extract JPEG from MJPEG stream and Publish base64 encoded image over websocket

I'm writing an application that proxies an mjpeg video stream. I thought it would be cool to extract each frame from the mjpeg that is pushed from the mjpeg server (the one that I am proxying from), base64 encode it and publish the frame over…
zigzackattack
  • 343
  • 5
  • 11
4
votes
1 answer

add headers google volley request?

well, i am new in this forum, please if you could help me in this. i searched but i could not find how to add headers to a volley request. i have this code and i want to add the accept-encoding:gzip and the api key. i would appreciate your help.…
jscherman
  • 5,839
  • 14
  • 46
  • 88
4
votes
3 answers

HTTP 302 error because of a header()

if I validate html or register web in any serch engine, I get 302 error. The reason is a header() function. If I take it away, everything is fine with 200 OK status. So the main problem is that I need this redirection for web to be multilingual.…
Coderbit
  • 701
  • 3
  • 9
  • 31
4
votes
1 answer

How to set wxpython Grid top headers?

When I create a grid with wxpython, I get top column headers as "A", "B", "C"... import wx import wx.grid as gridlib ######################################################################## class MyForm(wx.Frame): """""" …
alwbtc
  • 28,057
  • 62
  • 134
  • 188
4
votes
1 answer

C linking error for multiple definition

I have a .h file which I was intending to use only for storing all the information string that will be displayed in my program. In my info.h: #ifndef __INFO_H #define __INFO_H char *info_msg = "This is version 1.0 of NMS."; //all other strings…
as3rdaccount
  • 3,711
  • 12
  • 42
  • 62
4
votes
3 answers

How to avoid that C-header overwrites native C++ type

First I have to explain my ... Situation I have this microcontroller code (plain old C) which includes bool.h with the following content since stdbool.h is apparently not available, especially not with Visual Studio 2008, which is my current IDE…
Michi
  • 681
  • 1
  • 7
  • 25
4
votes
1 answer

Date formatting inside the uitableview section heading, PLEASE HELP

Let me start off by saying Im VERY new to iphone development, but Im trying really hard to learn, so any help any of you professionals out there are willing to share is greatly appreciated! So I have a question that would be SO awesome if someone…
Steve
  • 628
  • 1
  • 10
  • 18
4
votes
5 answers

Why don't I need to include library.cpp in the header?

I have a question about libraries. When I write a library I have 2 files: library.h and library.cpp. The first one contains the prototypes of the functions and the second one contains the definitions. Well, in library.cpp I include #include…
Miguel Ruiz
  • 65
  • 2
  • 7
4
votes
1 answer

Disappearing headers in WebClient after request

I have realy strange problem with Headers collection in WebClient class. Here is my example: WebClient client = new WebClient(); client.Headers.Add("User-Agent", "Mozilla/5.0 (Windows NT 6.2; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0"); …
Yozer
  • 648
  • 1
  • 11
  • 26
1 2 3
99
100