header

sIFR header with inside span

I've got the following situation: <h2>This text is <span>pretty awesome</span></h2> I'm trying to give both a different style like this (only the css): h2 { font-size: 21px; text-transform: uppercase; line-height: 37px; height: 36px; text-align: right; margin-right: 10px; } h2 span { font-size: 16px; color: #666666; text-transform: l...

How can I have two vertical header in a QTreeview?

I want the top header to span on 2 or 3 bottom header column. Is there a way to do so in Qt c++? I'm looking for an exemple. thank you. ...

Expires headers not working: using settings from elsewhere

I have a PHP script masquerading as JS in order to dynamically include and pack various JS files to serve as one. I'm having trouble getting it to cache: the headers don't seem to want to set. $expires = 60*60*24*14; header("Pragma: public"); header("Cache-Control: maxage=".$expires); header('Expires: ' . gmdate('D, d M Y H:i:s', time(...

How to display a flyout menu on clicking an image in Grid header in MVC?

A grid is displayed using the following code in MVC. <%= this.Grid( "routes-" + mc , "Testing", Model.Routes, new GridBuilder<RouteModel>() .Column( "chk", () => Html.Image( Url.Content( "down.gif" ), "Select or deselect tests" ), (m) => "<input type='hidden' name='routeLinkId' value='"+ m.RouteLinkID +"' /...

Unwanted White space (poss padding) for wordpress site on Internet explorer 6

Hi there, I have unwanted White space about the header image but this only visable from IE 7 back, IE 8 and other browsers display it perfectly. If anyone could point me in the right direction of how to correct this then that would be fab. Thanks in advance tim ...

How To Disable Curl Debug Output in PHP

I wrote a PHP CUrl Class, if i execute Methods which should return the Content, it returns at first the Headers and after that the Content. So i cant parse any XML Data. I need to Disable This Sample Output. HTTP/1.1 200 OK Date: Thu, 01 Apr 2010 20:11:58 GMT Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny4 with Suhosin-Patch mod_ssl/2....

Get HTTP header fields only on iPhone

I want to get only the headers of an URL request. I have been using stringWithContentsOfURL() for all downloading so far, but now I am only interested in the headers and downloading the entire file is not feasible as it is too large. I have found solutions which show how to read the headers after the response has been receieved, but how...

Delete a header in PHP

To allow caching a PHP generated file, I want to make sure, that the 'Pragma: no-cache' header is not set. However, how do I delete a possibly already set header? That is, it could be possible, that somewhere in the code someone wrote header('Pragma: no-cache'); and now I want to make sure, the header is not sent. Is it sufficient to d...

Problem with #ifndef and #pragma once

I want write the program with next struct stdafx.h - contains some #define defenitions of program constants and #include of headers wich uses in all project. frmMain.h - contatins code of Form1 also can Show form2 and uses some code from BckHeadr.h and some functions call that headers included in stdafx.h. frmIniPrgs.h - contatins cod...

Php Mailer problem - messages marked as spam -

A few days ago I upgraded Php Mailer and now some email providers my messages mark as spam. This is what I see in the headers of the marked messages: X-SpamTest-Info: {TO: header missing} This is from my php file. $mail->From = $sender; $mail->FromName = $sender_name; $mail->Subject = $subject; $mail->Body = $body; ...

How to calculate Content-Length for a file download within Kohana PHP?

I'm trying to send a file from within a Kohana model to the browser, but as soon as I add a Content-Length header, the file doesn't start downloading right away. Now the problem seems to be that Kohana is already outputting buffers. An ob_clean at the begin of the script doesn't help this though. Also adding ob_get_length() to the Conte...

Question regarding ip checksum code

unsigned short /* this function generates header checksums */ csum (unsigned short *buf, int nwords) { unsigned long sum; for (sum = 0; nwords > 0; nwords--) // add words(16bits) together { sum += *buf++; } sum = (sum >> 16) + (sum & 0xffff); //add carry over sum += (sum >> 16); //MY question: what ex...

How to skip interstitial in a django view if a user hits the back button?

I have an application with an interstitial page to hold the user while an intensive operation runs in the background (takes anywhere from 30 secs to 1 minute). Once the operation is done, the user is redirected to the results page. Once on the result page, typical user behavior is to hit the 'back' button to perform the operation on a d...

Login in via curl then open that page logged in

I'm trying the following code to send post data to the login form, then reload that page in the browser as a logged in user. somehow it's not saving the cookie, and reusing it for the header() function, can the same thing as header be done by calling curl again after sending the login details? .. $ch = curl_init(); curl_setopt($ch, C...

How Do I Intercept Banner in WordPress?

My client wants me to make a plugin that intercepts the banner on a WordPress blog so that the existing one displays, but right beneath it, above the content and the sidebar, another banner appears. And he needs it such that it works in most themes and isn't theme-specific. I found I could use add_action('loop_start','interceptMe') to p...

Adding custom SOAP headers to client generated by weblogic.wsee.tools.anttasks.ClientGenTask?

I generated a client using the weblogic.wsee.tools.anttasks.ClientGenTask from weblogic. Now I want to insert custom soap headers before sending out the request. How do I go about doing that? All of the examples on the web for inserting headers are specific to the library used in the generation (Axis, etc). Thanks! ...

Soap Header Problem

I have a Java Secured Webservice With Soap Header Protection Must Provide Username and Password. My Application is C# Client Application Can i call Java Secured Webservice using C# code what is the code for that ? When i connect this webservice its showing SoapHeader Element Required ..Please Give the Solution ...

Why it's failed to load main-class manifest attribute from jar-file?

I have created a jar file in this way jar cf jar-file input-files. Now I try to run it. This does not work: jre -cp app.jar MainClass (jre command is not found). This java -jar main.jar also does not work (Failed to load Main-Class manifest attribute from main.jar). I also found out that To run an application packaged as a JAR fi...

Excel-like vertical and horizontal headers for android

Hi all, I need to have excel-like headers. It means, that it has vertical headers (fixed horizontally), which can be scrolled vertically, and horizontal headers (fixed vertically), which can be scrolled horizontally. The contents should be scrollable both vertically and horizontally. To make it clear, I tried to 'draw' here. ...

WCF security via message headers

I'm trying to implement "some sort of" server-client & zero-config security for some WCF service. The best (as well as easiest to me) solution that I found on www is the one described at http://www.dotnetjack.com/post/Automate-passing-valuable-information-in-WCF-headers.aspx (client-side) and http://www.dotnetjack.com/post/Processing-cu...