Re: [PHP] Headers on smart phone browsers

2012-02-07 Thread Ashley Sheridan
On Mon, 2012-02-06 at 18:09 -0600, Donovan Brooke wrote: Mari Masuda wrote: [snip] For a concrete example of responsive design in action, point your browser to http://www.sasquatchfestival.com/ and then slowly make the window wider/skinnier to see how the design adapts to different

Re: [PHP] Headers on smart phone browsers

2012-02-07 Thread Marc Guay
There is only one drawback to using CSS media queries to alter the way a page is displayed on different resolutions, and that is that any media (i.e. background images, etc) referenced in a stylesheet is downloaded, regardless of if it is ever used. Another one worth mentionning is that a lot

Re: [PHP] Headers on smart phone browsers

2012-02-07 Thread Tedd Sperling
On Feb 6, 2012, at 4:01 PM, Stuart Dallas wrote: Generally speaking you're better off with a design that automatically adapts to the viewport on which it's being displayed. While there's more than one reason for this, the overriding reason is that the same software (i.e. the same user

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Jim Giner
Nice article!! You should read up on responsive web design. http://www.alistapart.com/articles/responsive-web-design/ should get you started. HTH!= -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Marc Guay
1) Do smart phones use the same browsers as the desktop, or do they have their own stripped down versions of browsers? Different browsers, some of which are worse than IE (see Blackberry). 2) When a browser broadcasts its header telling the server what kind of browser is involved, do they

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Donovan Brooke
Paul M Foster wrote: This is sort of obliquely related to PHP. I don't have a smart phone, but I need to know a couple of things: 1) Do smart phones use the same browsers as the desktop, or do they have their own stripped down versions of browsers? 2) When a browser broadcasts its header

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Adam Richardson
On Mon, Feb 6, 2012 at 12:58 AM, Paul M Foster pa...@quillandmouse.comwrote: This is sort of obliquely related to PHP. I don't have a smart phone, but I need to know a couple of things: 1) Do smart phones use the same browsers as the desktop, or do they have their own stripped down versions

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Ashley Sheridan
On Mon, 2012-02-06 at 14:28 -0600, Donovan Brooke wrote: Paul M Foster wrote: This is sort of obliquely related to PHP. I don't have a smart phone, but I need to know a couple of things: 1) Do smart phones use the same browsers as the desktop, or do they have their own stripped down

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Stuart Dallas
On 6 Feb 2012, at 05:58, Paul M Foster wrote: This is sort of obliquely related to PHP. I don't have a smart phone, but I need to know a couple of things: There are simulators available for most smartphones. 1) Do smart phones use the same browsers as the desktop, or do they have their

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Adam Richardson
On Mon, Feb 6, 2012 at 3:50 PM, Adam Richardson simples...@gmail.comwrote: On Mon, Feb 6, 2012 at 12:58 AM, Paul M Foster pa...@quillandmouse.comwrote: This is sort of obliquely related to PHP. I don't have a smart phone, but I need to know a couple of things: 1) Do smart phones use the

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Marc Guay
the way your site renders should be purely based upon the size of the display. Although I mostly agree with this statement, it ignores the most interesting aspects of mobile technology, such as being able to ask the user for their GPS location and deliver content accordingly. I worked on some

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Stuart Dallas
On 6 Feb 2012, at 21:12, Marc Guay wrote: the way your site renders should be purely based upon the size of the display. Although I mostly agree with this statement, it ignores the most interesting aspects of mobile technology, such as being able to ask the user for their GPS location and

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Paul M Foster
On Mon, Feb 06, 2012 at 02:28:42PM -0600, Donovan Brooke wrote: Paul M Foster wrote: This is sort of obliquely related to PHP. I don't have a smart phone, but I need to know a couple of things: 1) Do smart phones use the same browsers as the desktop, or do they have their own stripped

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Paul M Foster
On Mon, Feb 06, 2012 at 09:02:34PM +, Ashley Sheridan wrote: [snip] Keeping a PHP angle to this, have you looked at using an up-to-date browscap.ini file with PHP? Basically, you can use that to read in the raw user agent string from the browser, and it then finds a matching entry in

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Donovan Brooke
Ashley Sheridan wrote: [snip] Keeping a PHP angle to this, have you looked at using an up-to-date browscap.ini file with PHP? Basically, you can use that to read in the raw user agent string from the browser, and it then finds a matching entry in the ini file and gives you back some values about

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Donovan Brooke
Stuart Dallas wrote: On 6 Feb 2012, at 21:12, Marc Guay wrote: the way your site renders should be purely based upon the size of the display. Although I mostly agree with this statement, it ignores the most interesting aspects of mobile technology, such as being able to ask the user for

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Paul M Foster
On Mon, Feb 06, 2012 at 04:04:28PM -0500, Adam Richardson wrote: On Mon, Feb 6, 2012 at 3:50 PM, Adam Richardson [1]simples...@gmail.com wrote: On Mon, Feb 6, 2012 at 12:58 AM, Paul M Foster [2]pa...@quillandmouse.com wrote: This is sort of obliquely related to

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Paul M Foster
On Mon, Feb 06, 2012 at 09:01:45PM +, Stuart Dallas wrote: On 6 Feb 2012, at 05:58, Paul M Foster wrote: This is sort of obliquely related to PHP. I don't have a smart phone, but I need to know a couple of things: There are simulators available for most smartphones. 1) Do

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Donovan Brooke
Paul M Foster wrote: [snip] How about this: those of you with iPhones, Androids and the like, point your phones at a page which reports $_SERVER['HTTP_USER_AGENT'] (like a page which runs the phpinfo() function), and post what you get back from that exercise and what device made the query. I'd

Re: [PHP] Headers on smart phone browsers

2012-02-06 Thread Donovan Brooke
Mari Masuda wrote: [snip] For a concrete example of responsive design in action, point your browser to http://www.sasquatchfestival.com/ and then slowly make the window wider/skinnier to see how the design adapts to different viewport sizes. Very nice... makes for an easy display to a wide

[PHP] Headers on smart phone browsers

2012-02-05 Thread Paul M Foster
This is sort of obliquely related to PHP. I don't have a smart phone, but I need to know a couple of things: 1) Do smart phones use the same browsers as the desktop, or do they have their own stripped down versions of browsers? 2) When a browser broadcasts its header telling the server what

Re: [PHP] Headers on smart phone browsers

2012-02-05 Thread Mari Masuda
On Feb 5, 2012, at 9:58 PM, Paul M Foster wrote: [snip] 3) Bonus question: Is there a preferred method amongst coders to determine what type of environment is being browsed from, so as to serve up the proper type of page (desktop or smart phone version of a webpage)? [snip] You should

Re: [PHP] Headers already sent

2011-11-11 Thread Marc Guay
Thanks. That was the problem. I spent a day trying to debug this. Smash head against wall first, ask questions later. That's my methodology as well. :) Marc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Headers already sent

2011-11-10 Thread Larry Garfield
Perhaps your server is configured to have output buffering enabled by default? Check php.ini / phpinfo(). --Larry Garfield On 11/11/2011 12:12 AM, Kranthi Krishna wrote: Hi all, I am missing something pretty obvious here. The PHP Manual says Remember that header() must be called before any

Re: [PHP] Headers already sent

2011-11-10 Thread Kranthi Krishna
Hi, Perhaps your server is configured to have output buffering enabled by default Thanks. That was the problem. I spent a day trying to debug this. Kranthi. http://goo.gl/e6t3 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] headers help

2010-03-12 Thread MEM
Hello all, I must confess I know the very basics on this language and have even less knowledge about http headers. I wish you could help me out on this: I have a form that sends html e-mails and an optional file as attachment. The issue is that, if the file is NOT send, the e-mail receives two

[PHP] headers: setting right for browser to force reload at a certain point in time

2009-02-23 Thread German Geek
Hi All, We have an application that generates dynamic ebooks. One of the (minor) problems (but yet annoying) is that when a user comes back to an ebook, they have to actually delete the cache and reload the page to not get the cached version which might be wrong because the content or even the

Re: [PHP] headers: setting right for browser to force reload at a certain point in time

2009-02-23 Thread Per Jessen
German Geek wrote: Hi All, We have an application that generates dynamic ebooks. One of the (minor) problems (but yet annoying) is that when a user comes back to an ebook, they have to actually delete the cache and reload the page to not get the cached version which might be wrong because

Re: [PHP] headers: setting right for browser to force reload at a certain point in time

2009-02-23 Thread German Geek
Yes, that's what i thought, but with my FF 3.0 the resources (swf,png,jpg) don't get reloaded. I have to reload the page (after deleting cache). Something to do with the Apache configuration? ?? Thanks for the reply. Tim-Hinnerk Heuer http://www.ihostnz.com Laurence J. Peter - If two wrongs

Re: [PHP] headers: setting right for browser to force reload at a certain point in time

2009-02-23 Thread Per Jessen
German Geek wrote: Yes, that's what i thought, but with my FF 3.0 the resources (swf,png,jpg) don't get reloaded. I have to reload the page (after deleting cache). Something to do with the Apache configuration? Hi Tim, Try loading up just a single file in FF - one of your graphics for

Re: [PHP] headers: setting right for browser to force reload at a certain point in time

2009-02-23 Thread German Geek
2009/2/23 Per Jessen p...@computer.org German Geek wrote: Yes, that's what i thought, but with my FF 3.0 the resources (swf,png,jpg) don't get reloaded. I have to reload the page (after deleting cache). Something to do with the Apache configuration? Hi Tim, Try loading up just a

Re: [PHP] headers: setting right for browser to force reload at a certain point in time

2009-02-23 Thread Per Jessen
German Geek wrote: This didn't work. ctrl+i brought up my bookmarks. ?? Do i need a special plugin/extension? Have web developer etc. Nope, this is standard FF. Ctrl+i should give you the Page Info window. Try looking for that in your menubar and pulldowns. -- Per Jessen, Zürich (3.1°C)

[PHP] Re: Can Safari 3 be forced to cache a large jpeg with PHP headers?

2008-05-14 Thread Colin Guthrie
Chris wrote: Rob Gould wrote: I am creating a touch-screen kiosk application, using a full-screen version of Safari 3.1, and was wondering if there's a way I can force Safari to cache a large background image JPEG. What I'm finding is that Safari 3 will sometimes cache my large 1.1 MB

[PHP] Can Safari 3 be forced to cache a large jpeg with PHP headers?

2008-05-13 Thread Rob Gould
I am creating a touch-screen kiosk application, using a full-screen version of Safari 3.1, and was wondering if there's a way I can force Safari to cache a large background image JPEG. What I'm finding is that Safari 3 will sometimes cache my large 1.1 MB background image (1680x1050), and

Re: [PHP] Can Safari 3 be forced to cache a large jpeg with PHP headers?

2008-05-13 Thread Chris
Rob Gould wrote: I am creating a touch-screen kiosk application, using a full-screen version of Safari 3.1, and was wondering if there's a way I can force Safari to cache a large background image JPEG. What I'm finding is that Safari 3 will sometimes cache my large 1.1 MB background

Re: [PHP] headers-excel file-bad data

2007-08-07 Thread Richard Lynch
On Tue, July 31, 2007 12:32 pm, blackwater dev wrote: I have an excel file that I am generating. If I copy over the generated file and then open it in excel, it works fine, if I try to let the user download it using the headers below, when I then open it excel complains that it is an

[PHP] headers-excel file-bad data

2007-07-31 Thread blackwater dev
Hello, I have an excel file that I am generating. If I copy over the generated file and then open it in excel, it works fine, if I try to let the user download it using the headers below, when I then open it excel complains that it is an unrecognizable format and the info is garbled...any

Re: [PHP] headers-excel file-bad data

2007-07-31 Thread tedd
At 1:32 PM -0400 7/31/07, blackwater dev wrote: Hello, I have an excel file that I am generating. If I copy over the generated file and then open it in excel, it works fine, if I try to let the user download it using the headers below, when I then open it excel complains that it is an

[PHP] headers and newline at end of script

2006-07-20 Thread Martin Marques
I'm looking for an opinion on programming style. Basicaly, I make systems using PEAR::DB and PEAR::HTML_Template_IT. This last one puts all the HTML away from the PHP code, which has made life much easier. Now, sometimes I warning messages like this one: PHP Warning: Cannot modify header

Re: [PHP] headers and newline at end of script

2006-07-20 Thread Jochem Maas
Martin Marques wrote: I'm looking for an opinion on programming style. Basicaly, I make systems using PEAR::DB and PEAR::HTML_Template_IT. This last one puts all the HTML away from the PHP code, which has made life much easier. Now, sometimes I warning messages like this one: PHP

Re: [PHP] headers and newline at end of script

2006-07-20 Thread John Nichel
Jochem Maas wrote: Martin Marques wrote: I'm looking for an opinion on programming style. Basicaly, I make systems using PEAR::DB and PEAR::HTML_Template_IT. This last one puts all the HTML away from the PHP code, which has made life much easier. Now, sometimes I warning messages like this

Re: [PHP] headers and newline at end of script

2006-07-20 Thread Robert Cummings
On Thu, 2006-07-20 at 11:30, John Nichel wrote: Jochem Maas wrote: Martin Marques wrote: I'm looking for an opinion on programming style. Basicaly, I make systems using PEAR::DB and PEAR::HTML_Template_IT. This last one puts all the HTML away from the PHP code, which has made life

Re: [PHP] headers and newline at end of script

2006-07-20 Thread Jochem Maas
John Nichel wrote: Jochem Maas wrote: Martin Marques wrote: I'm looking for an opinion on programming style. Basicaly, I make systems using PEAR::DB and PEAR::HTML_Template_IT. This last one puts all the HTML away from the PHP code, which has made life much easier. Now, sometimes I

Re: [PHP] headers and newline at end of script

2006-07-20 Thread Martin Marques
On Thu, 20 Jul 2006 11:30:14 -0400, John Nichel [EMAIL PROTECTED] wrote: Jochem Maas wrote: I never add the final closing '?' in any script for this very reason. 'Cause you're a SLACKER!!! What the hell is a SLACKER??? -- - Lic.

RE: [PHP] headers and newline at end of script

2006-07-20 Thread Kilbride, James P.
I'd explain but it'd be too much work. James Kilbride -Original Message- From: Martin Marques [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 2:32 PM To: John Nichel Cc: php-general@lists.php.net Subject: Re: [PHP] headers and newline at end of script On Thu, 20 Jul

RE: [PHP] headers and newline at end of script

2006-07-20 Thread Kilbride, James P.
He never said he didn't want you to do his coding, simply that you were a slacker. Considering he's self proclaimed 'lazy' just means the two of you should get on great and you'll probably understand his code better. James Kilbride SNIPPAGE(Jochem Maas wrote:) no chance of me getting that

RE: [PHP] headers and newline at end of script

2006-07-20 Thread Robert Cummings
On Thu, 2006-07-20 at 14:39, Kilbride, James P. wrote: He never said he didn't want you to do his coding, simply that you were a slacker. Considering he's self proclaimed 'lazy' just means the two of you should get on great and you'll probably understand his code better. Won't work because

Re: [PHP] headers and newline at end of script

2006-07-20 Thread John Nichel
Jochem Maas wrote: Martin Marques wrote: On Thu, 20 Jul 2006 11:30:14 -0400, John Nichel [EMAIL PROTECTED] wrote: Jochem Maas wrote: I never add the final closing '?' in any script for this very reason. 'Cause you're a SLACKER!!! What the hell is a SLACKER??? I'm a slacker. Which is

Re: [PHP] headers and newline at end of script

2006-07-20 Thread Jochem Maas
Martin Marques wrote: On Thu, 20 Jul 2006 11:30:14 -0400, John Nichel [EMAIL PROTECTED] wrote: Jochem Maas wrote: I never add the final closing '?' in any script for this very reason. 'Cause you're a SLACKER!!! What the hell is a SLACKER??? I'm a slacker. --

Re: [PHP] headers already sent.

2006-04-08 Thread P. Guethlein
At 10:30 PM 04/07/2006, you wrote: Comment inline: Thanks, I just found that out after, well I don't want to say how long it took smile. Is that just the way things are in PHP or is there a command / configuration to make something like this more obvious? Hmmm. maybe the IDE I'm

Re: [PHP] headers already sent.

2006-04-08 Thread Stephen Lake
There is no real way of knowing if output is going to be sent before a header or not, unless its a very simple page. Your best bet is to investigate the output buffering functions here: http://www.php.net/manual/en/ref.outcontrol.php HTH Steve P. Guethlein [EMAIL PROTECTED] wrote in message

[PHP] headers already sent.

2006-04-07 Thread P. Guethlein
(Know enough to be dangerous beginner...) Routine for a web login asked user name and password. User Name is entered correctly. Password is Incorrect. Next Try. User Name is enter correctly. Password is Entered Correctly. PHP notifies me on the html output that I am logged in. However, an

Re: [PHP] headers already sent.

2006-04-07 Thread Chris
Comment inline: P. Guethlein wrote: (Know enough to be dangerous beginner...) Routine for a web login asked user name and password. User Name is entered correctly. Password is Incorrect. Next Try. User Name is enter correctly. Password is Entered Correctly. PHP notifies me on the html

RE: [PHP] headers .vs javascript location.href

2005-09-19 Thread bruce
be cleaned up, but for now, it's a test app... -bruce -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: Sunday, September 18, 2005 8:20 PM To: [EMAIL PROTECTED] Cc: 'php' Subject: Re: [PHP] headers .vs javascript location.href bruce wrote: need to talk to someone

Re: [PHP] headers .vs javascript location.href

2005-09-19 Thread Chris Shiflett
bruce wrote: i'd already asked/explained the error. to reiterate, the error i'm getting is the error that's generated when you try to use the php 'header' function, and it throws a warning/error regarding 'headers already being sent...' If you're absolutely certain that your script produces no

Re: [PHP] headers .vs javascript location.href

2005-09-19 Thread Joe Wollard
On Sep 19, 2005, at 5:08 PM, Chris Shiflett wrote: bruce wrote: i'd already asked/explained the error. to reiterate, the error i'm getting is the error that's generated when you try to use the php 'header' function, and it throws a warning/error regarding 'headers already being sent...'

Re: [PHP] headers .vs javascript location.href

2005-09-18 Thread Chris Shiflett
bruce wrote: need to talk to someone to figure out how/what i need to do to use the php 'headers' function, as opposed to the javascript 'location.href'. i've tried to implement the buffering functions, but still get the same error... is there someone that i can talk to about this, who ha

[PHP] headers .vs javascript location.href

2005-09-17 Thread bruce
hi.. need to talk to someone to figure out how/what i need to do to use the php 'headers' function, as opposed to the javascript 'location.href'. i've tried to implement the buffering functions, but still get the same error... is there someone that i can talk to about this, who ha experience

Re: [PHP] headers and session

2005-06-07 Thread Angelo Zanetti
Hi Alessandro try this as well (Put these lines before and after your redirect/header statement); session_write_close(); header( Location: .$PHPcmd ); exit(); hope this helps Angelo Zanetti Z Logic www.zlogic.co.za Alessandro Rosa wrote: Hi to all, I got a problem while storing session

[PHP] headers and session

2005-06-06 Thread Alessandro Rosa
Hi to all, I got a problem while storing session variables. ?php session_start(); header( Cache-control: private ); require_once(config.inc.php); $_SESSION['session_psw'] = $_POST['txtPassword']; $_SESSION['session_user'] =

[PHP] headers and session

2005-06-06 Thread Alessandro Rosa
Does config.inc.php have any whitespace following the closing ? tag, or does it output any HTML? That could be your culprit. What happens if you do your $_SESSION setting *before* the require, but directly after the initial header() call? He knew that header may give problems with

[PHP] headers and session (2)

2005-06-06 Thread Alessandro Rosa
I want to thank you all for previous helpings. Really the first code was easy to be solved, but this is how it shall work out. This is a program running locally and the trouble is that session vars are stored in local files. I must avoid to store a plain text password therein, thus I need to

[PHP] headers and session (question)

2005-06-06 Thread Alessandro Rosa
Here's below the solution (the encryption will be shortly performed into login.php). 1 ?php 2 session_start(); 3 $_SESSION['session_user'] = $_POST['txtIdUtente']; 4 $_SESSION['session_password'] = $_POST['txtPassword']; 5 $PHPcmd = login.php ; 6 header( Location: .$PHPcmd ); 7 ? But a

RE: [PHP] Headers already sent error

2005-02-03 Thread yangshiqi
Pls Make sure that outside your ?php and ? tags, these is no any blankspace or sth else. Best regards, Yang Shiqi -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 3:44 PM To: [php] PHP General List Subject: Re: [PHP] Headers already sent

[PHP] Headers already sent error

2005-02-02 Thread Tim Burgan
Hello, I'm receiving an error Cannot modify header information - headers already sent by XXX. In my php, I have a heap of code, then use header(Location: blah.php); to redirect the user. I get this error on the webhost, but not on my local host. I've searched and found that this can be caused

Re: [PHP] Headers already sent error

2005-02-02 Thread Robby Russell
On Thu, 2005-02-03 at 12:59 +1030, Tim Burgan wrote: Hello, I'm receiving an error Cannot modify header information - headers already sent by XXX. In my php, I have a heap of code, then use header(Location: blah.php); to redirect the user. I get this error on the webhost, but not on

Re: [PHP] Headers already sent error

2005-02-02 Thread Chris
Tim Burgan wrote: Hello, I'm receiving an error Cannot modify header information - headers already sent by XXX. In my php, I have a heap of code, then use header(Location: blah.php); to redirect the user. I get this error on the webhost, but not on my local host. I've searched and found that

Re: [PHP] Headers Again

2004-02-20 Thread Stuart
PETCOL wrote: Unfortunately history tells me that php like ColdFusion will one day be bought out by the big corporates, or at least they'll have a considerable financial vested interest in it. Not likely. Since PHP is open source if Zend decided to change the license I'm certain it would be

Re: [PHP] Headers Again

2004-02-20 Thread Chris Shiflett
--- PETCOL [EMAIL PROTECTED] wrote: Unfortunately history tells me that php like ColdFusion will one day be bought out by the big corporates, or at least they'll have a considerable financial vested interest in it. There's nothing to buy. Welcome to open source. Chris = Chris Shiflett -

Re: [PHP] Headers Again

2004-02-19 Thread PETCOL
Stuart, Unfortunately history tells me that php like ColdFusion will one day be bought out by the big corporates, or at least they'll have a considerable financial vested interest in it. At which time we hope way off in the future, we'll all have to start paying for support and maintenance

Re: [PHP] Headers Again

2004-02-17 Thread PETCOL
Jason, What I shock, 307,000 entries returned. Maybe someone with ability greater or other than I, should give some serious consideration to a solution or work around. I've been using ColdFuion for 7 years and I can do a cflocation url=anotherlocation.htm anywhere in the page, no matter if

Re: [PHP] Headers Again

2004-02-17 Thread Jason Wong
On Tuesday 17 February 2004 16:37, PETCOL wrote: What you're asking is a VERY FAQ. Something that's asked almost every other day. The list archives will have plenty of answers. What I shock, 307,000 entries returned. If you don't want to trawl through those search results then read the error

Re: [PHP] Headers Again

2004-02-17 Thread PETCOL
Jason, I appreciate people get just as frustrate by reading repetative posts. Alliare and Macromedias forums for ColdFusion and other software, allow a search through the entire post, archive everything. Which always avoid this problem of a newsgroup. Maybe I'm wrong, but I don't thing there's

RE: [PHP] Headers Again

2004-02-17 Thread Michael Egan
file. Not hard is it? Regards, Michael Egan -Original Message- From: PETCOL [mailto:[EMAIL PROTECTED] Sent: 17 February 2004 09:22 To: [EMAIL PROTECTED] Subject: Re: [PHP] Headers Again Jason, I appreciate people get just as frustrate by reading repetative posts. Alliare

Re: [PHP] Headers Again

2004-02-17 Thread Stuart
PETCOL wrote: Alliare and Macromedias forums for ColdFusion and other software, allow a search through the entire post, archive everything. Which always avoid this problem of a newsgroup. Maybe I'm wrong, but I don't thing there's a search like this for a newsgroup?

Re[2]: [PHP] Headers Again

2004-02-17 Thread Richard Davey
Hello PETCOL, Tuesday, February 17, 2004, 8:37:15 AM, you wrote: google? P What I shock, 307,000 entries returned. Assuming you're running Windows, do what I do and download the Windows CHM help file version of the PHP manual. It includes standard search capabilities, so clicking on Search

Re: [PHP] Headers Again

2004-02-17 Thread PETCOL
Stuart Thank you. Stuart [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] PETCOL wrote: Alliare and Macromedias forums for ColdFusion and other software, allow a search through the entire post, archive everything. Which always avoid this problem of a newsgroup. Maybe I'm

Re: [PHP] Headers Again

2004-02-17 Thread PETCOL
that are output before header() is called. The same problem exists when using a single PHP/HTML file. Not hard is it? Regards, Michael Egan -Original Message- From: PETCOL [mailto:[EMAIL PROTECTED] Sent: 17 February 2004 09:22 To: [EMAIL PROTECTED] Subject: Re: [PHP] Headers Again

Re: [PHP] Headers Again

2004-02-17 Thread Stuart
PETCOL wrote: Stuart Thank you. Don't thank me[1], thank them. Preferably with cash[2]. [1] I will accept cash if offered. [2] http://marc.theaimsgroup.com/?q=about#Begware -- Stuart -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re[2]: [PHP] Headers Again

2004-02-17 Thread Richard Davey
Hello PETCOL, Tuesday, February 17, 2004, 11:52:25 AM, you wrote: P I've tried ob_end_flush(); it didn't work, maybe it's a server P configuration issue. Maybe it's just php can not do it? Have a look at the headers_sent() function to see *where* your script is outputting the headers you

Re: [PHP] Headers Again

2004-02-17 Thread Jason Wong
On Tuesday 17 February 2004 17:21, PETCOL wrote: Alliare and Macromedias forums for ColdFusion and other software, allow a search through the entire post, archive everything. Which always avoid this problem of a newsgroup. Maybe I'm wrong, but I don't thing there's a search like this for a

Re: [PHP] Headers Again

2004-02-17 Thread Comex
[EMAIL PROTECTED] Petcol: Jason, What I shock, 307,000 entries returned. Maybe someone with ability greater or other than I, should give some serious consideration to a solution or work around. I've been using ColdFuion for 7 years and I can do a cflocation url=anotherlocation.htm

[PHP] Headers Again

2004-02-16 Thread PETCOL
Hi, I have authenticated a user, after that I want to take them to another page: Header(Location: welcome.php); But I get the following error? error Cannot modify header information - headers already sent error Suggestions? Col -- PHP General

Re: [PHP] Headers Again

2004-02-16 Thread John Nichel
PETCOL wrote: Hi, I have authenticated a user, after that I want to take them to another page: Header(Location: welcome.php); But I get the following error? error Cannot modify header information - headers already sent error Suggestions? Don't

Re: [PHP] Headers Again

2004-02-16 Thread Jason Wong
On Tuesday 17 February 2004 09:57, PETCOL wrote: I have authenticated a user, after that I want to take them to another page: Header(Location: welcome.php); But I get the following error? error Cannot modify header information - headers already sent

[PHP] Headers and sessions in php .cgi

2004-01-10 Thread Børge Strand
Hi there, I have a problem setting my headers right with php running as .cgi. I have to specify a Content-type for the cgi file to work. But how should I do both that and start a session? I have a few options: #! /usr/local/bin/php ?php session_start(); print 'Content-type: text/html'

Re: [PHP] Headers and sessions in php .cgi

2004-01-10 Thread David Otton
On Sat, 10 Jan 2004 17:44:18 +0100 (MET), you wrote: I have a problem setting my headers right with php running as .cgi. I have to specify a Content-type for the cgi file to work. But how should I do both that and start a session? I have a few options: #! /usr/local/bin/php ?php

Re: [PHP] Headers and sessions in php .cgi

2004-01-10 Thread Chris Shiflett
--- Børge Strand [EMAIL PROTECTED] wrote: I have a problem setting my headers right with php running as .cgi. I have to specify a Content-type for the cgi file to work. But how should I do both that and start a session? Try using header() instead of print to set Content-Type. Hope that helps.

Re: [PHP] Headers and sessions in php .cgi

2004-01-10 Thread Børge Strand
I have a problem setting my headers right with php running as .cgi. I have to specify a Content-type for the cgi file to work. But how should I do both that and start a session? I have a few options: #! /usr/local/bin/php ?php session_start(); print 'Content-type: text/html' .

Re: [PHP] Headers and sessions in php .cgi

2004-01-10 Thread Børge Strand
I have a problem setting my headers right with php running as .cgi. I have to specify a Content-type for the cgi file to work. But how should I do both that and start a session? Try using header() instead of print to set Content-Type. Hope that helps. Thanks Chris. I tried that (see

RE: [PHP] Headers Problem

2003-12-24 Thread Beauford
Beauford wrote: I'm getting the following error. My question is, where would I use the ob_start() and ob_end_flush() function so I can get rid of this. I have read the PHP manual, but not quite getting it.Or if there is a better way? Don't work around the problem with output buffering;

Re: [PHP] Headers Problem

2003-12-24 Thread CPT John W. Holmes
From: Beauford [EMAIL PROTECTED] Just a clarification, session_start() is on the first line of restricted.inc and restricted.inc is included on the first line of update-corrections-input.php. All update-corrections-write.php does is write info to a database and includes

RE: [PHP] Headers Problem

2003-12-24 Thread Beauford
and testing. I have looked at both php.ini files, and other than the OS specific stuff, they are the same as well. Thanks again... -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: December 24, 2003 8:52 AM To: Beauford Cc: 'PHP' Subject: Re: [PHP] Headers Problem From

[PHP] Headers Problem

2003-12-23 Thread Beauford
I'm getting the following error. My question is, where would I use the ob_start() and ob_end_flush() function so I can get rid of this. I have read the PHP manual, but not quite getting it.Or if there is a better way? This is how the files work. update-corrections-input.php (user inputs info

Re: [PHP] Headers Problem

2003-12-23 Thread John W. Holmes
Beauford wrote: I'm getting the following error. My question is, where would I use the ob_start() and ob_end_flush() function so I can get rid of this. I have read the PHP manual, but not quite getting it.Or if there is a better way? Don't work around the problem with output buffering; try

[PHP] Headers Sent Message

2003-11-14 Thread Mark Roberts
Could someone help me out with this. I had this problem about a year ago with another site and I can't for the life of me remember what I had to do to fix it. I am in a oscommerce application, however I think it is really a php problem. I get this message when ever I try to update the admin

Re: [PHP] Headers Sent Message

2003-11-14 Thread CPT John W. Holmes
From: Mark Roberts [EMAIL PROTECTED] Could someone help me out with this. I had this problem about a year ago with another site and I can't for the life of me remember what I had to do to fix it. I am in a oscommerce application, however I think it is really a php problem. I get this message

Re: [PHP] Headers Sent Message

2003-11-14 Thread Chris Shiflett
--- Mark Roberts [EMAIL PROTECTED] wrote: Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site1/fst/var/www/html/admin3/includes/application_top.php:267 ) in /home/virtual/site1/fst/var/www/html/admin3/includes/functions/general.php on line

Re: [PHP] Headers Sent Message

2003-11-14 Thread Marek Kilimajer
Mark Roberts wrote: Could someone help me out with this. I had this problem about a year ago with another site and I can't for the life of me remember what I had to do to fix it. I am in a oscommerce application, however I think it is really a php problem. I get this message when ever I try to

[PHP] Headers, outputting a file ..

2003-09-17 Thread Wouter van Vliet
Hi All, I feel almost ashamed for having to ask this question. Mostlly because I know it's been asked so many tmes but I just don't seem to be able to get it working. I want to secure some files from viewing by putting them in a different folder than the document root. Then, through a simple

  1   2   >