header

Adding headers in postfix incoming mails

Hello, I am unable to see the following headers in e-mails received on my Postfix e-mail receiving server: Return-Path Received: from Similar to header on gmail Received: from dev16 ([123.123.123.123]) by mx.google.com with SMTP id xxxxxxxxxxxxxxxx; Tue, 27 Oct 2009 05:52:56 -0700 (PDT) Return-To: Please suggest me what sh...

jQtouch CSS Header Bar

I'm using jQtouch for a small mobile app. Using the default CSS the app looks like I want it to. However, I need to have a header on the left and right of the page. For example, If anyone can point me in the right direction to achieve this I would greatly appreciate it. Thank you! ...

Associate table cell with header

But i hope to get some help. I want to associate a cell value in table with it's header. The header is not known, as it was generated by SQL query. Sizes as header came from SQL return result. So then put it into an array, @sizes = qw(S36 S37 S38 S39 S40 S41 S42); Now, if James has size S38. I want to print them as HTML table with s...

local host network monitor and httpservlet request

I have two Tomcat servers on my machine that communicate with one another. 1) Can someone recommend on a good (free) network sniffer so I'll be able to monitor the requests/ response that being sent between them? 2) How can I inspect the request in java code? to see what the header and the body consists and their structures? thanks a...

Problem with resolving Qt headers in Eclipse [Linux]

My Eclipse CDT has some problems with either resolving Qt headers or code completion. The example will explain everything. Usually the include would look like this: #include <QPushButton> But when I use code completion in Eclipse it replaces the include with following: #include <qpushbutton.h> Technically everything works and the p...

Header page caching

I'm using the below headers on my web site but I'm running into a problem. The first time I visit my site for the day I don' tsee my ACP link. There are also instances where information is in our database that only registered members can create, but the form is still being loaded for non-logged in users so information is being created ...

Firefox plugin or way to monitor ALL request data, including headers and content downloaded to browser

I am having problems getting ALL of the information that is downloaded to a browser. For example, I want a plugin, ideally a firefox plugin to download the HTML content and monitor when I get a 302 redirect, and all header information. So far, use Live HTTP Headers and Firebug. Both are fine. With Live HTTP headers, I can't monitor ...

Python urllib2 Response header question

I'm trying to extract the response header of a URL request. When I use firebug to analyze the response output of a URL request, it returns Content-Type text/html however when I use the python code urllib2.urlopen(URL).info() the resulting output returns Content-Type: video/x-flv I am new to python, and to web programming in general...

Is including C++ source files an approved method ?

I have a large C++ file (SS.cpp) which I decided to split in smaller files so that I can navigate it without the need of aspirins. So I created SS_main.cpp SS_screen.cpp SS_disk.cpp SS_web.cpp SS_functions.cpp and cut-pasted all the functions from the initial SS.cpp file to them. And finally I included them in the original file : #...

What's the all fit header to show images?

header("Content-type: image/gif"); readfile($filename); The above can only be used to show gif images. Is there a header that can be used to show jpg/png/gif? ...

https caching of resources used by main php script, NOT the script itself

I'm a little confused here. I read some of the earlier questions on https caching but I didnt get a clear answer. I've got a script sitting on: https://www.example.com/main.php It generates an html page that refers to images/css/js resources sitting (relatively) at: /css /javascript /images /a/b/img2 How do I enable caching for these...

Forcing browser to use "Save As ..." dialog box

I would like a "Save As ..." dialog box to appear when a user clicks on a hyperlink. I'm currently sending the HTTP headers: application/octet-stream Content-Disposition: inline;filename=something.doc Apparently IE users are seeing the page render inline as garbled ascii. What is the best way to force a "Save As ..." dialog box to pop...

IE accept headers changing, why?

I am trying to debug an issue on my server side and I believe it has to do with the accept headers that are being sent from the browser. Here is my question, why would Internet Explorer change "accept" headers from one page to another page? Can I change the request headers from javascript? Here is a request from one page: Accept: ima...

Header below a section gets duplicated if a row is deleted from the section above

In the editing mode of one of my tableviews, I delete a row from a section. The section below has a header. The deletion of the row in the section above leads to duplication of the section header below. So I have 2 header titles, one above the other. I also tried forcing a reload of the section after the delete to no avail: [self.table...

Browser behavior on 403 Forbidden error

My server returns a 403 forbidden error when a user tries to access a resource that they do not have access to. Along with the header the server also writes a small message describing the error. In Firefox the error message gets displayed nicely and the user knows what's going on. In Internet Explorer the message is hidden and replaced...

Decoding Binary via fget / buffer string (Trying to get mp3 header)

I'm writing some quick code to try and extract data from an mp3 file header. The objective is to extract information from the header such as the bitrate and other vital information so that I can appropriately stream the file to a mp3decoder with the necessary arguments. Here is a wikipedia image showing the mp3header information: http:...

Accessing binary MP3 Header in C via fopen

I am trying to extract the mp3 header from a file. This is different then the ID3 tags -- the mp3 header is where information about the MPEG version, bit rate, frequency, etc is held. You can see an overview of the mp3 header structure here: http://upload.wikimedia.org/wikipedia/commons/0/01/Mp3filestructure.svg My problem is, despite ...

Associating related emails (import from Exchange into ticket system)

I'm developing a customer service application. When customers submit requests via email, I import the email messages into my SQL Server tickets table (reading the mail messages in MS Exchange using ColdFusion). My application allows reps to send reply emails to these "tickets". I'm looking for the best way to track which emails are rel...

Tell from where a .php file has been included?

Does anybody know of an automated way of telling whether a PHP script is being called directly (as a HTML page), or as a JavaScript, or as a CSS Stylesheet? Without GET variables, or setting a flag in the file ( that is what I am doing right now). Just curious. EDIT: Some background because it was asked for in answers: The reason why...

Python: appengine urllib2 headers from a 302

A normal urllib2 works fine: >>> import urllib2 >>> r = urllib2.urlopen(u"http://bit.ly/4ovTZw") >>> r.geturl() 'http://www.writing.com/main/handler/action/show_document/item_id/933413.mp3' >>> r.headers.get("Content-Type") 'audio/mpeg' But in appengine, the same code shows text/html. def get(self): r = urllib2.urlopen(u"http://b...