The portion of a data block, cell, frame, or packet that precedes the text field or payload and provides information such as the source address and destination address. The header often includes synchronization bits that serve to synchronize the operations of the transmit and receive devices across ...
-3
votes
0answers
22 views
CSS Multi-Image and Background Color Header
I have a fairly simple idea I believe, but not sure why I can't get my CSS to work.
I am using Twitter Bootstrap, using container to get 'center', but I'm not sure how to set this up with CSS and ...
0
votes
3answers
15 views
php include header and footer in complex file structure
I have to following file structure:
ROOT
index.html
INCLUDES
header.html
footer.html
FOLDER1
FOLDER2
FOLDER3
FOLDER4
...
0
votes
0answers
22 views
php mail() is not sending mails when $headers reach certain length
My php mail() would always stop sending email when From: header reach certain length. Im using Cyrillic symbols in From: so i have to encode it in windows-1251 (thats the only encoding that seemed to ...
1
vote
3answers
30 views
Unresolved external symbol error while using vectors defined in a header file
I am new to C++. I had an unresolved external symbol error while using vectors and didn't know what was going wrong so I've replicated it here.
I am using MS Visual Studio 2011. The exact error is:
...
0
votes
0answers
8 views
“Media undefined” when Jquery Mobile script is added to the header
I am trying to develop a simple audio player. Following the tutorials from the web and also in stackoverflow, I am able to make the audio player work.
Working (without Jquery mobile script header):
...
0
votes
0answers
27 views
How to get header output from included file?
I have an index php which generates an image, it accepts some parameters, processes it and then outputs an image, but some sites do not allow ? & and = in image urls so I have made another php ...
0
votes
0answers
7 views
How to put a nav-bar in header image such that the nav-bar is transparent?
I have to place navigation bar in the header image, such that it becomes transparent and i'm using the theme Diario. I know how to make nav-bar transparent but donot know how to position it on the ...
0
votes
1answer
6 views
Having multiple independent emails appear in one thread
My error reporting system sends an email for each exception - every unique error (combination of filename, line number, exception class) gets a unique ID. I'd like my mail client to group messages ...
0
votes
0answers
14 views
How to copy header tags of a website and then create a new post on my website?
So the idea is simple. I'd like to create or use a software that finds the header tag of a news article (i.e BBC News) and then automatically create a new post on my website with the source of where I ...
1
vote
0answers
24 views
How to change the HTTP header / problems with @fontface in firefox CORS
My icon fonts are not properly showing in firefox. Im getting "bad URI or cross-site access not allowed." From what I can find, I need to do what is in the image below. I have read all about how HTTP ...
0
votes
0answers
32 views
fixed header/footer code, incomplete
I'm trying to create a fixed header/ footer for mobile, while having the content in between still scrollable. Anyone who has tried will know that position:fixed doesn't work on mobile, because this ...
0
votes
0answers
9 views
Which headers should a proxy send? X-Forwarded-Host vs X-Host
Which headers should a proxy send? There seems 2 different headers for forwarding the original host. X-Forwarded-Host and X-Host. Which of this both headers should a proxy send? Or both headers?
1
vote
1answer
20 views
WSO2 ESB adding namespace to SOAP Envelope
I need to add a new Namespace to the SOAP Envelope.
At the moment it's looking like that:
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
But what I need is this:
...
1
vote
0answers
11 views
How do I add a timestamp in header manually to a soap XML (WS-Security)?
I'm trying to test a webservice that uses WS-Security. And I want to use cURL to test my calls.
Does anyone know how to add a timestamp in XML HEADER? The server doesn't use user+password, instead ...
1
vote
5answers
88 views
Creating A Simple PHP and MYSQL Based Login System [closed]
I am following along with the tutorial here:
https://www.dropbox.com/s/lta1r9xhk2u2ef0/3592029.doc
I am basically using all the code from the tutorial. My problem is, there is no redirect after I ...
1
vote
3answers
109 views
How to use header files?
I wanted to learn using header files. and I got an error. here is my code:
printmyname.h:
void printMyName();
printmyname.cpp:
#include "printmyname.h"
void printMyName() {
cout << ...
0
votes
2answers
49 views
Adding libraries in c++ that contain multiple files
I'm new in c++ and every time a download a library that is compound by many headers and source files I get a lot of errors when I compile the executable that call some functions of the libraries.
Is ...
-1
votes
2answers
41 views
cant solve - headers already sent [duplicate]
still cant solve the problem. I'll paste all code here.
index.php
<?php
if(empty($_COOKIE['user'])){
require '/views/admin/login.php';
}
elseif(isset($_COOKIE['user'])){
require ...
1
vote
0answers
12 views
SEVERE: SAAJ0120: Can't add a header when one is already present
I'm trying to deploy my jsp site on Oracle web server, but when I call my web service using a port I get the following error :
SEVERE: SAAJ0120: Can't add a header when one is already present
This ...
0
votes
0answers
38 views
setcookie not deleting the cookie
Here i set my cookie
<?php
$user = mysql_real_escape_string($_POST['login']);
$password = mysql_real_escape_string(sha1($_POST['password']));
$query = mysql_query("SELECT * FROM ...
1
vote
2answers
29 views
icon not changing when button appended to header
I'm appending a button to the header, and the only icon showing up is the plus, anything else is not working??
JAVSCRIPT
$('#addbuttons').append('<a href="#" data-role="button" data-inline="true" ...
0
votes
2answers
58 views
Typedef not being effective in header
I have a C project with a structure as follows:
Project
- fileA.h
- fileA.c
+ subdirB
- fileD.h
There is a typedef enum of bool in fileD.h:
typedef enum bool {
false = 0, /**< false (0) ...
0
votes
1answer
9 views
How to set expires tags on images that are on a CDN
My site runs on Apache and I have set expires headers in my .htaccess file like so:
<ifmodule mod_expires.c>
<FilesMatch "\.(ico|jpg|jpeg|png|gif|swf)$">
ExpiresActive On
ExpiresDefault ...
2
votes
4answers
89 views
Best practices: c++ header includes [closed]
I'm learning C++ at the moment and I think I understand most of what there is to know about including headers... coming from languages where this wasn't necessary at all, I often have the feeling that ...
0
votes
3answers
22 views
Download Excel From Server Using PHP
Can anyone help me to write code on PHP to download Excel File from the server.
I have created below codes using header and readfile but the downloaded file was corrupted.
//content type
...
0
votes
3answers
50 views
Source files in Release, header files in Debug
We appear to have developed a strange situation in our application. An ASSERT is being triggered which should only run if _DEBUG is defined, but it is being evaluated when the application is compiled ...
0
votes
1answer
28 views
WSO2 ESB adding prefix to header
I try to use the WSO2 ESB with the SAP Solution Manager Webservice as an endpoint.
For sending a message to the Webservice I need to modify the SOAP Header.
While searching with google I found out ...
0
votes
1answer
51 views
Adding button to controlgroup in jquery mobile header
I am trying to add two buttons to controlgroup dynamically. The controlgroup is contained within the header. I want the two buttons to be side by side on the right side of header.
But the buttons ...
0
votes
1answer
83 views
pimpl to make template coding less cluttered
I'm attempting to create a cleaner header file for reference/documentation of header classes while still recognizing the convenience of templates. So I've got a quick .h / .hpp file
// mempool.h
...
0
votes
2answers
47 views
php download file: header()
I need some eduction please.
At the end of each month, I want to download some data from my webserver to my local PC.
So, I've written a little script for that, which selects the data from the DB.
...
2
votes
1answer
30 views
Error: undefined reference to 'player()'
fellow programmers! I'm looking to get into game development, so I'm trying to write my own, very simple text battle simulator. You get to choose a player name and fight with monsters of your choice. ...
0
votes
0answers
47 views
PHP Header already sent when variable is removed from command line
So I have come to a veeeery weird thing about php logic.
I have made an htacces file like this:
RewriteEngine On
RewriteBase /gameplay/
RewriteRule ^((?!forums|bans|stats)[a-zA-Z0-9_-]+)$ ...
2
votes
1answer
15 views
Header data aligned to natural length?
I was looking through RFC 3550 and ran across this line and was not sure what it meant:
All header data is aligned to its natural length, i.e., 16-bit fields are aligned on even offsets, 32-bit
...
0
votes
1answer
12 views
Download with smartphone generate xls file with PHPExcel
I have a big problem when I want to download on my smart phone a xls file generated by PHPExcel it me download a php file named my page, while on my pc it load properly.
header('Content-type: ...
0
votes
1answer
28 views
send follow location in header
I'm trying to get header response with the below code for a link that require authorization. but the response header was 302 moved temporarily, i tried curl with CURLOPT_FOLLOWLOCATION and response ...
0
votes
1answer
45 views
PHP get pdf file from base64 encoded data string [closed]
Well. I've a pdf file encoded as base64 string. How to get the actual pdf using PHP by specifying Content-type:application/pdf in header function or any other method.?
URL for base64 encoded string : ...
1
vote
1answer
26 views
Add header in ChildView from ExpandableListView (Android)
I'm trying to find a solution for my answer through the Internet but I can't find a good one. I looked this topic: Android ExpandableListView Child Headers but it doesn't work for me.
What I have now ...
0
votes
4answers
64 views
Weird error “ multiple definition of `xxx` ” while compiling C++ project
When I try to compile my C++ project via my Makefile I keep getting errors like those:
Server.o: In function `Bot::getRandomMessage()':
...
0
votes
1answer
52 views
Can't compile the project after splitting the source files to cpp and h, getting “undefined refernce to…”
I had a project, where I had only .cpp files. It worked well, but then I realized, that it's not a good practice, so I decided to split it to .cpp and .h files. Nevetheless now I'm not able to compile ...
0
votes
0answers
35 views
PHP: session lost after redirect to same URL
I have a login-form located at ?action=panel that is showing an 'interesting' behaviour:
I use a function called performLogin to check against DB, most code I left out for readability.
function ...
-1
votes
1answer
39 views
Frustrated - Compiler Can't Find A Function In My Included Header
I posted this question before: Compiler Can't Find My Header?
I fixed the problem with including locker.h, but now I seem to be having trouble with my other header, SelfStorageList.h. I'm ...
0
votes
0answers
40 views
Laravel 4 Response Headers: deny ajax request based on origin domain
I'm trying to create a simple method to restrict access to data based upon the domain from which an HTTP request originates (i.e. CORS basically).
To give some brief background: (I'm using latest ...
0
votes
0answers
25 views
cakephp custom component error at line 1
I have included a common component at /app/controller/component folder.
It is giving header not sent error at line 1
line 1 only has <?php
please suggest a solution
-2
votes
0answers
17 views
GWT DataGrid how can I add an image working for pop-up filter on the header? [closed]
I have a datagrid and would like to add a small arrow on the header for filtering.
It will be like an indicator for a pop-up filter for the column it is on.
(I've already gotten the sort handler for ...
1
vote
1answer
31 views
HTTP Headers on Protected Downloads
So I'm using this article to generate and protect some download links on my website
The problem I'm having is the script works, just not with huge files. For example, a 1GB file downloads perfectly, ...
0
votes
1answer
32 views
Cakephp $this->redirect function is not working
I have just migrated my site from PHP 5.3 to PHP 5.2 and Cakephp $this->redirect() function has stopped working.
I tried many things but only JavaScript redirect works.
--Upgraded server PHP ...
2
votes
2answers
74 views
Boost linker errors when using header only libraries
I am using the following components of boost 1.53.0 in conjunction with C++11 libs . . .
boost::signals2::scoped_connection
boost::signals2::signal
boost::signals2::connection
...
0
votes
3answers
39 views
How to read TIFF File headers in c?
How can i read a tiff file header in c ?
actually i want to learn TIFF Tag ImageWidth, and TIFF Tag ImageLength.
how can i acces this attributes?
...
1
vote
4answers
57 views
PHP header function is not working
The following header function is not working. I ma trying to go to login if the user is not logged in -
<?PHP
if (logged_in() === false) {
header('Location: login.php');
}
...
-1
votes
0answers
18 views
Getting header information in the webservice
I have a webservice for the server validation of itunes inapp purchase. I want to provide much more security for my webservice.Now i ve implemented the webservice using zend_json_server with encoding ...