On Fri, Jul 10, 2009 at 12:49 PM, Michael A. Peters mpet...@mac.com wrote:
James Colannino wrote:
White space can cause this - make sure your code has ?php as the very top
and ? at the very bottom, or the white space may trigger the web server to
send a header and the white space as data
On Sunday 12 July 2009 12:01:12 Lenin wrote:
On Fri, Jul 10, 2009 at 12:49 PM, Michael A. Peters mpet...@mac.com wrote:
James Colannino wrote:
White space can cause this - make sure your code has ?php as the very
top and ? at the very bottom, or the white space may trigger the web
At 12:09 PM +0100 7/12/09, Ashley Sheridan wrote:
On Sunday 12 July 2009 12:01:12 Lenin wrote:
On Fri, Jul 10, 2009 at 12:49 PM, Michael A. Peters mpet...@mac.com wrote:
James Colannino wrote:
White space can cause this - make sure your code has ?php as the very
top and ? at the
On Fri, Jul 10, 2009 at 12:54 PM, James Colannino ja...@colannino.orgwrote:
Eddie Drapkin wrote:
HTTP headers are sent and finalized after the first bit of output. I
had the same problem before and it turned out to be because I had a
close tag ? at the end of a file followed by some
Zareef Ahmed wrote:
You should get a headers already sent output started at kind of error
if you have enabled error reporting with display_errors ON.
Actually, I did. I just didn't think to mention it in my first post.
The thing was that it said it was coming from one of my includes,
On Sun, Jul 12, 2009 at 11:27 PM, James Colannino ja...@colannino.orgwrote:
Zareef Ahmed wrote:
You should get a headers already sent output started at kind of
error
if you have enabled error reporting with display_errors ON.
Actually, I did. I just didn't think to mention it in my
Eddie Drapkin wrote:
HTTP headers are sent and finalized after the first bit of output. I
had the same problem before and it turned out to be because I had a
close tag ? at the end of a file followed by some whitespace. The
solution was to remove the ? from the end of all the files and I
a single line break after the closing ? will not cause this problem. PHP
interpreter will neglect a single line break after ? a good debugger like
xdebug will be helpful in this case. u can also see the source code of the
file to locate the output. any thing before php warning is the output before
tedd wrote:
At 12:24 AM -0700 7/10/09, James Colannino wrote:
Eddie Drapkin wrote:
HTTP headers are sent and finalized after the first bit of output. I
had the same problem before and it turned out to be because I had a
close tag ? at the end of a file followed by some whitespace. The
Hey everyone,
I've been hard at work on a new web application, and discovered
something that I would never have seen coming. I was noticing that when
I called session_start() after a few lines of includes, I was getting
complaints because the HTTP headers had already been sent out. Then,
after
On Fri, Jul 10, 2009 at 1:21 AM, James Colanninoja...@colannino.org wrote:
Hey everyone,
I've been hard at work on a new web application, and discovered
something that I would never have seen coming. I was noticing that when
I called session_start() after a few lines of includes, I was
James Colannino wrote:
Hey everyone,
I've been hard at work on a new web application, and discovered
something that I would never have seen coming. I was noticing that when
I called session_start() after a few lines of includes, I was getting
complaints because the HTTP headers had already
kartikay malhotra wrote:
Hi all!
I use HTTP POST to upload a file. I've a PHP script running on the server.
Are HTTP headers passed with this request? How can I see the headers passed
to the server?
Headers are passed by the client and server with every request. The
Firefox Tamper Data
(sorry for the dup kartikay, forgot to hit reply to all;-)
So is the file going from server to server or from a client machine to the
server? It sounds like server to server - which if that's the case you can
use headers_list() to see what your server is going to be sending out to the
other
Hi all!
I use HTTP POST to upload a file. I've a PHP script running on the server.
Are HTTP headers passed with this request? How can I see the headers passed
to the server?
Thanks
KM
Hi,
i've tested Apache Content Negotiation with a PHP Content Managment
System. Apache works correctly, but doesn't tell PHP what it has done.
Example:
I have a directory with two files:
- test.de.htm
- test.en.htm
As Apache is configured for Content Negotiation I can enter test in my
I'm writing a script to view/download an email-attachment. If the file
happens to be an MS Word document and the browser IE (only tried with 6.0),
then the download fails.
If I choose to download (Content-Disposition: attachment;
filename=whatever.doc) then only a part of the file (2/3) is saved
Using phpinfo() I can see that the header Last-Modified exists.
How do I go about accessing the header??
Thanks,
Paul
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
Hi Paul,
@ 7:42:49 AM on 11/21/01, Paul - Zenith Tech Inc wrote:
Using phpinfo() I can see that the header Last-Modified exists.
How do I go about accessing the header??
http://www.php.net/manual/en/function.header.php
http://www.php.net/manual/en/language.variables.predefined.php
] HTTP Headers
Date: Fri, 9 Nov 2001 18:55:16 -0500
Is it possible to redirect to an IP address but have the browser address
bar
show an URL?
Mike H.
http://ibiz-tools.com http://vestudiohost.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
On Fri, 2001-11-09 at 15:55, Mike Harvey wrote:
Is it possible to redirect to an IP address but have the browser address bar
show an URL?
assuming you have a valid url with a hostname, just wrap the ip address
url inside of a frame that takes up the entire window.
--Brent
--
PHP General
Is it possible to redirect to an IP address but have the browser address bar
show an URL?
Mike H.
http://ibiz-tools.com http://vestudiohost.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
On Fri, 9 Nov 2001, Mike Harvey wrote:
Is it possible to redirect to an IP address but have the browser address bar
show an URL?
Assuming that you meant hostname instead of URL since the browser
address bar will always display a URL ... No.
~Chris /\
Boy, that's one of those Imagine the trouble we would get into if we
could! questions, isn't it? Just like How do I disable the back
button?, or How do I use PHP to feed me the contents of a web browser's
hard drive?
That said, some hosting services support what is called domain parking,
On Thursday 23 August 2001 02:36, Casteele/ShadowLord wrote:
Andy [EMAIL PROTECTED] wrote in article
See if is there some kind of echo before header()s, or HTML sent to
browser.
No, I've been extremely careful to avoid that. The following are the
two test files I've been using to try
I've written a separate function library for a cluster of web pages, and I
then include(slib.php) in each of the web pages, instead of copying 12k
of code to each page individually. Some of the pages require (simple)
authentication or redirection headers, which some of the code in the
library is
it before any output. As I said sometimes a simple echo()
breaks all.
Andrey Hristov
IcyGEN Corporation
http://www.icygen.com
99%
- Original Message -
From: Casteele/ShadowLord [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, August 22, 2001 6:52 PM
Subject: [PHP] HTTP
Andy [EMAIL PROTECTED] wrote in article
003b01c12b23$d1f245d0$0b01a8c0@ANDreY...
See if is there some kind of echo before header()s, or HTML sent to
browser.
No, I've been extremely careful to avoid that. The following are the two
test files I've been using to try to solve this.. (sans
On Thu, 23 Aug 2001 10:06, Casteele/ShadowLord wrote:
Andy [EMAIL PROTECTED] wrote in article
003b01c12b23$d1f245d0$0b01a8c0@ANDreY...
See if is there some kind of echo before header()s, or HTML sent to
browser.
No, I've been extremely careful to avoid that. The following are the
two
29 matches
Mail list logo