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
> 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
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
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
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
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
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 talk to about this, who ha
exper
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
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
--- 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
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
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
> > 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
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
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
* Thus wrote Adam i Agnieszka Gasiorowski FNORD ([EMAIL PROTECTED]):
> Wouter van Vliet wrote:
>
> > 110 $File = $this->Get($User);
> > 111
> > 112 foreach($File['Headers'] as $H) header($H);;
> > 113 readfile($File['Path']);
>
>
Wouter van Vliet wrote:
> 110 $File = $this->Get($User);
> 111
> 112 foreach($File['Headers'] as $H) header($H);;
> 113 readfile($File['Path']);
Do I see TWO ; here or it's just a typo?
--
Seks, seksić, seksolatki... news:pl.
alled the function and assigned it to a variable and...
gone with the wind!
Thanks again Mike!
Regards
Fred
-Original Message-
From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]
Sent: vrijdag 18 juli 2003 18:20
To: 'frederik feys '; '[EMAIL PROTECTED] '
Subject: RE: [
-Original Message-
From: frederik feys
To: 'Ford, Mike [LSS]'; [EMAIL PROTECTED]
Here's the URL:
http://www.aurelis.org/store/cart.txt
and the get_cartID:
http://www.aurelis.org/store/includes/functions/get_cartID.txt
--
I've only had time for a quic
20
To: 'frederik feys'; [EMAIL PROTECTED]
Subject: RE: [PHP] headers already sent and cookie problem
> -Original Message-
> From: frederik feys [mailto:[EMAIL PROTECTED]
> Sent: 16 July 2003 10:21
>
> One nasty thing to debug is that the error only shows up from time
> -Original Message-
> From: frederik feys [mailto:[EMAIL PROTECTED]
> Sent: 16 July 2003 10:21
>
> One nasty thing to debug is that the error only shows up from time to
> time.
> So now everything seems OK.
>
> What do i have now?
> I start my code with session_start
> Then include some
of text, sorry for that. But I still don't have the clue.
Maybe you like to see my code?
Any help welcome!
Fred
-Original Message-
From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]
Sent: dinsdag 15 juli 2003 11:36
To: 'frederik feys'; [EMAIL PROTECTED]
Subject: RE: [PHP] h
> -Original Message-
> From: frederik feys [mailto:[EMAIL PROTECTED]
> Sent: 15 July 2003 09:45
>
> This is what i get:
> "Warning: Cannot add header information - headers already
> sent by (output started at /home/u/r/html/store/cart.php:188)
> in /home/u/r/html/store/includes/function
You cannot send any page information before you send headers (ie setting a
cookie), that means there should be no html before the php that sets the
cookie, also any function that are called before you set the cookie cannot
output to the browser.
Ry
On 15/7/03 9:45 am, "frederik feys" <[EMAIL PRO
On Jun 12, 2003, "-{ Rene Brehmer }-" claimed that:
|>You have an extra \r\n. There is one contained in the variable $from so the
|>line $headers .= "From: ".$from."\r\n"; is putting \r\n\r\n which signifies
|>the end of the headers and the begining of the message body.
|
|Stupid me ... so simple
It's not future when I send them ... my clock's within the 15 second limit
my NTP sync allows... but maybe the time difference causes ezmlm to do some
dancing when sending it out ?? I know listserv based lists can get confused
about the time differences...
but thanks anyway ;-)
Rene
At 22:50
At 22:31 11-06-2003, Jennifer Goodie wrote:
>// pull fields from form query
>$to = "[EMAIL PROTECTED]";
>$name = $HTTP_POST_VARS['name'];
>$address = $HTTP_POST_VARS['address'];
>$listname = $HTTP_POST_VARS['listname'];
>$action = strtoupper($HTTP_POST_VARS['action']);
>
>
>
> PS some mailservers do not like \r\n, check the manual on mail() and see
> what they suggest, i think it was just \n.
RFC for SMTP states that CRLF (\r\n) should be used. A lot of mail servers
will accept just \n, but it is best to try and be standards compliant, you
have less potential for p
(darn, this one was already answered, i hate it that some people ask
questions with a future time.)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
When using my yahoo account as test-target for this script, I get this in
return from my Mercury server:
== quote from error message ==
The mail server has encountered errors processing your request:
* Unrecognized command "Reply-to:".
From: "DeltaPower" <[EMAIL PROTECTED]>
Reply-to: "DeltaPowe
>
>// pull fields from form query
>$to = "[EMAIL PROTECTED]";
>$name = $HTTP_POST_VARS['name'];
>$address = $HTTP_POST_VARS['address'];
>$listname = $HTTP_POST_VARS['listname'];
>$action = strtoupper($HTTP_POST_VARS['action']);
>
>// build headers
>$from = "\"$name\"
Malcom,
Do your logic test before your input form. When you think of how a script
is processed, on the server, then you'll see that the logic portion must
precede any display portion.
Juli Meloni has a good example of this structure in her custom error
message example. You'll find it at www.t
On Sat, 2003-02-15 at 09:01, Malcolm wrote:
> Hello,
>
> I've been fooling with this for a few days now.
> I'm getting a hearders already sent error.
> I know it means I've got output before the header but
> I can't figure how else to do this.
Hi Malcom--
Looks like you are outputting data ri
http://www.php.net/manual/en/faq.using.php#faq.using.headers-sent
Justin Garrett
"Chris Winters" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Im SO CLOSE!
>
> Welll to start I had everything running FINE (MySQL, Apache, and PHP)
until
> I installed STUPID Ze
> I have a question about clearing or resetting headers. My script
executes
> a
> function based on the variables passed to it, such as:
>
> events.php?action=add
>
> However, when the function is finished, I need to redirect to
"events.php"
> with no variables, because refreshing the page cause
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
1 - 100 of 131 matches
Mail list logo