Re: [PHP] headers and cookies

2002-10-29 Thread Chris Shiflett
This is not correct. Both the setcookie() and header() functions manipulate the HTTP headers in the response. You cannot have output prior to any function that manipulates headers - that's the limitation. These two functions work fine together in any order; it's prior output that will cause an

Re: [PHP] headers?

2002-09-28 Thread debbie_dyer
It's giving you this error because you are sending the headers after outputting something (which could be just a blank line) - check in your functions.php that you dont have any blank lines before the start of or after the end of your script. ie. before the ?php or after the ? Debbie -

Re: [PHP] headers?

2002-09-28 Thread cleaner
I´ll do that...I hope thats the problemthanks a LOT! Debbie_dyer [EMAIL PROTECTED] skrev i meddelandet 00d601c266fe$2f4d32f0$0100a8c0@homepc">news:00d601c266fe$2f4d32f0$0100a8c0@homepc... It's giving you this error because you are sending the headers after outputting something (which could

[PHP] Fixed! Re: [PHP] headers showing up in browser

2002-01-11 Thread Mark
After lots of trial and error I traced the problem back to a missing browscap.ini, I commented out that line in php.ini and it worked fine. I guess it was causing php to think the it wasn't dealing with a browser so it sent the headers differently (or something) thanks to everyone. - Mark --

Re: [PHP] headers showing up in browser

2002-01-10 Thread mike cullerton
#!/usr/local/bin/php -q on 1/10/02 12:16 PM, Mark at [EMAIL PROTECTED] wrote: I've got this problem that won't go away. The headers are showing up at the top of the page when I run php in cgi mode. any ideas? -- mike cullerton -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] headers showing up in browser

2002-01-10 Thread Rick Emery
what does your code look like? -Original Message- From: Mark [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 10, 2002 1:17 PM To: PHP Subject: [PHP] headers showing up in browser I've got this problem that won't go away. The headers are showing up at the top of the page when I run

Re: [PHP] headers showing up in browser

2002-01-10 Thread Mark
On Thu, 10 Jan 2002 12:53:33 -0700, mike cullerton wrote: #!/usr/local/bin/php -q I don't think you understood what I meant. I want the headers to get sent, but they're showing up in the browser as part of the page content. I had this working before on a different machine where everything to do

RE: [PHP] headers showing up in browser

2002-01-10 Thread Mark
lets say I have a page that contains just this code: ? header(Location: /myfile.html); ? the output I get is: Location: /myfile.html Content-type: text/html - Mark On Thu, 10 Jan 2002 14:03:26 -0600, Rick Emery wrote: what does your code look like? -Original Message- From: Mark

Re: [PHP] headers

2001-12-05 Thread George Pitcher
I'm a newbie but how about: header(location: http://www.xxx.yyy/somepage.php?var1=$var1) and so on. And location: needs a space after it! George _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP

Re: [PHP] headers

2001-12-05 Thread Wilbert Enserink
that's more like a GET method. I prefer the POST method in my case (GPC-order). But thx for the input! - Original Message - From: George Pitcher [EMAIL PROTECTED] To: Wilbert Enserink [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, December 05, 2001 1:18 PM Subject: Re: [PHP

Re: [PHP] headers

2001-12-05 Thread Mirek Novak
http://www.w3.org/Protocols/rfc2616/rfc2616.txt can help, IMHO M.N. atleast, I think, you must somehow announce , that you are using POST method ...? -- Wilbert Enserink wrote: Hi all, my q: The results of a form are being POSTed to a php script. There I play around with the inputted

Re: [PHP] headers

2001-12-05 Thread Mirek Novak
Try this ... http://lwest.free.fr/doc/php/lib/index.php3?page=net_http_clientlang=en - complete HTTP class M.N. -- Wilbert Enserink wrote: Hi all, my q: The results of a form are being POSTed to a php script. There I play around with the inputted variables. Now I want to post them again to

Re: [PHP] headers

2001-12-05 Thread Stefan Rusterholz
Try this: http://phpclasses.upperdesign.com/browse.html/package/375 It let's you easily post an array of variables to another page. To do it manually take a look at the function fsockopen(). If you have the need for a modified variant which is able to handle multiple identically named fields

Re: [PHP] Headers already sent....

2001-08-30 Thread Andrey Hristov
See if there is any symbol before ?php open tag. Also this seems bad : $uid=$HTTP_SESSION_VARS[userid]; may be: $uid=$HTTP_SESSION_VARS[userid]; Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: Nic Skitt [EMAIL PROTECTED] To: [EMAIL PROTECTED]

Re: [PHP] Headers already sent....

2001-08-30 Thread Nic Skitt
Sagar, Thanks but there isnt any spaces or HTML. The code on the page starts with the PHP tags and nothing else. Nic Sagar [EMAIL PROTECTED] wrote in message 00c001c13141$cd995d60$5bed7ccb@ravella">news:00c001c13141$cd995d60$5bed7ccb@ravella... This will not work even if the code is like this

Re: [PHP] Headers already sent....

2001-08-30 Thread Nic Skitt
Thanks Andrey but that still hasnt fixed it. The full error I am getting is: Cannot add header information - headers already sent by (output started at c:\apache\apache\htdocs\client-secure.php:11) in c:\apache\apache\htdocs\client-secure.php on line 18 Line 11 refers to:

Re: [PHP] headers...

2001-08-30 Thread Franklin van Velthuizen
Nic Skitt wrote: Hi all, I am constantly getting Headers already sent errors. What I dont understand is why when I read something that could have come from a cookie or session does that right out to headers. eg: if (!$HTTP_COOKIE_VARS[TrackID]){ } The header error refers to this line as

Re: [PHP] headers...

2001-08-30 Thread Nic Skitt
I cant see any. Again this seems to be a difference between my dev server and the live server. The live server doesnt compain. Any more ideas? NIc Franklin Van Velthuizen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Nic Skitt wrote: Hi all, I am

Re: [PHP] headers...

2001-08-30 Thread Simon Robson
At 17:18 30/08/01 +0100, Nic Skitt wrote: I cant see any. Again this seems to be a difference between my dev server and the live server. The live server doesnt compain. That's the best way round, at least :-) Have you also checked any included/required files for extra lines (after the final

Re: [PHP] Headers already sent....

2001-08-30 Thread Don Read
On 30-Aug-2001 Nic Skitt wrote: Thanks Andrey but that still hasnt fixed it. The full error I am getting is: Cannot add header information - headers already sent by (output started at c:\apache\apache\htdocs\client-secure.php:11) in c:\apache\apache\htdocs\client-secure.php on line 18

RE: [PHP] Headers

2001-07-25 Thread Lawrence . Sheed
: July 26, 2001 12:32 PM To: Richard Baskett; PHP General Subject: Re: [PHP] Headers On Wednesday 25 July 2001 15:24, Richard Baskett wrote: What does the header look like when you submit a form using the POST method? I would like to transfer some php variables to another page using the header

Re: [PHP] Headers sent by - need to clear screen - help me

2001-04-20 Thread Plutarck
Short answer: no. If you can't just put your error information before you write information to the screen you will need to use the ob_* family of functions. Clean the information you've printed so far, then just print out the error information to the screen. -- Plutarck Should be working on

Re: [PHP] headers passthru()

2001-04-04 Thread David Robley
On Thu, 5 Apr 2001 13:29, Nikolai Vladychevski wrote: Hi, i got this problem, when I use an executable to produce the output for the html php sends headers screwing it all. For example, my script is like this: ? . some stuff in php using database to prepare tempfile

Re: [PHP] headers passthru()

2001-04-04 Thread Plutarck
If your program does not explicitly set the content type header, then I believe it is Apache which will send it automatically. So that may be part of your problem. -- Plutarck Should be working on something... ...but forgot what it was. "Nikolai Vladychevski" [EMAIL PROTECTED] wrote in message

Re: [PHP] Headers

2001-03-17 Thread Gianluca Baldo
Clayton, PHP has a function for that: headers_sent (PHP 3= 3.0.8, PHP 4 = 4.0b2) headers_sent -- Returns true if headers have been sent Description boolean headers_sent (void) This function returns true if the HTTP headers have already been sent, false otherwise. See also header() Cheers,

Re: [PHP] Headers

2001-03-17 Thread Clayton Dukes
ROTECTED] Cc: [EMAIL PROTECTED] Sent: Saturday, March 17, 2001 8:55 AM Subject: Re: [PHP] Headers Clayton, PHP has a function for that: headers_sent (PHP 3= 3.0.8, PHP 4 = 4.0b2) headers_sent -- Returns true if headers have been sent Description boolean headers_sent (void) This f

Re: [PHP] Headers

2001-03-17 Thread Brett
How do I do something like: if headers_sent=false include header.inc if (headers_sent() == false)include 'header.inc'; be sure and check the manual to make sure that "header_sent()" is the correct format. Brett -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Headers

2001-03-17 Thread Clayton Dukes
Thanks :-) Clayton Dukes - Original Message - From: "Brett" [EMAIL PROTECTED] To: "PHP" [EMAIL PROTECTED] Sent: Saturday, March 17, 2001 9:17 AM Subject: Re: [PHP] Headers How do I do something like: if headers_sent=false include header.inc if (hea

<    1   2