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 ag
> 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
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 differe
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 r
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 li
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.
>
>
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 rela
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 their
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
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
> ent
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
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 locat
On Feb 6, 2012, at 1:01 PM, Stuart Dallas wrote:
[snip]
> Generally speaking you're better off with a design that automatically adapts
> to the viewport on which it's being displayed.
[snip]
For a concrete example of responsive design in action, point your browser to
http://www.sasquatchfest
> 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 r
On Mon, Feb 6, 2012 at 3:50 PM, Adam Richardson wrote:
> On Mon, Feb 6, 2012 at 12:58 AM, 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 d
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
> thei
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 st
On Mon, Feb 6, 2012 at 12:58 AM, 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?
>
B
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 telli
> 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 the
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
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
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 kind
> 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
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
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
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 ti
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
2009/2/23 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 sin
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
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
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 bec
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 fla
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 backgro
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
> backgrou
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 dis
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
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 unrecogni
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 ideas??
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.
>
> --
> ---
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
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 J
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 code
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
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???
--
---
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.
>>>
>>>
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 m
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 one
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:
>
> P
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 in
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 mess
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 .
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 using? U
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 out
(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
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...'
If
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
anyone wanted to take an actual look. and as i also stated, yeah, it
could/should 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
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 t
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 abou
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 sessio
Here's below the solution (the encryption will be shortly performed
into login.php).
1
But a QUESTION now :
if line 5 is replaced by these two lines, say here 5a and 5b:
5a require_once("config.inc.php");
5b $PHPcmd = $GLOBALS['gestionale_path_name']."phpcode/login/login.php" ;
this does not
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 crypt
> 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 white
Hi to all,
I got a problem while storing session variables.
After the call to header(...), the values of session variables are lost.
I think I should fix this up with some settings in my php.ini
Could you help me, please?
Alessandro Rosa
--
PHP General Mailing List (http://www.php.net/)
To
Pls Make sure that outside your 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 error
Tim
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 th
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, b
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 cau
--- 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 Shiflet
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 forked
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 contra
[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 url="anotherlocation.htm"> anywher
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
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 don
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
nctions, or
another file access function, and have spaces or empty lines 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 PROTECTE
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
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
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?
http://marc.theaimsgroup.com/?
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
>
>
> Jason,
>
>
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
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
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 anywhere in the page, no matter if I've run CFML,
Javascript it still wo
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
> --
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 s
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 Genera
> > 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 t
> >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
> > >session_start();
> >print 'Content-type:
--- 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 he
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
>session_s
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
' . "\n";
print '' . "\n";
if (!isset($_SESSION['count
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 Pro
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 update-correctio
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 bufferin
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 fix
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
b
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 upd
--- 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
> o
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 m
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 portion
1 - 100 of 178 matches
Mail list logo