Re: [PHP] PHP Header issue

2009-09-18 Thread Angus Mann
Your code does not make sense (to me anyway). It flags an error because you are sending HTML before the header command. Don't bother looking for whitespace etc...the etc is more than enough to produce this error. Using "Location" redirects to another URL. It does not make sense to redirect in

Re: [PHP] PHP Header issue

2009-09-18 Thread Ben Dunlap
> I will look into getting from one page to the next page after a Submit If it's any help, I've got a light-weight contact-form code on github, that's meant to be dropped into an otherwise-static site with minimal fuss: http://github.com/bdunlap/Drop-in-Widgets/tree/master/contactform/ It uses a

RE: [PHP] PHP Header issue

2009-09-18 Thread Ernie Kemp
o the next page after a Submit Thanks, /Ernie +++== -Original Message- From: Ernie Kemp [mailto:ernie.k...@sympatico.ca] Sent: September-18-09 2:27 PM To: 'HallMarc Websites'; 'Jim Lucas' Cc: php-general@list

Re: [PHP] PHP Header issue

2009-09-18 Thread Ben Dunlap
> The fundamental idea was to fill in a contact forum , submit it and then go > to an upload page. By "upload", do you mean "transmit the information that the user entered into the contact form"? Or is the upload page supposed to do something separate from the contact form? Ben -- PHP General

RE: [PHP] PHP Header issue

2009-09-18 Thread HallMarc Websites
> -Original Message- > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: Friday, September 18, 2009 2:31 PM > To: Ernie Kemp > Cc: 'HallMarc Websites'; 'Jim Lucas'; php-general@lists.php.net > Subject: RE: [PHP] PHP Header issue > &

RE: [PHP] PHP Header issue

2009-09-18 Thread Ashley Sheridan
gt; Thanks, > /Ernie > +++ > -Original Message- > From: HallMarc Websites [mailto:m...@hallmarcwebsites.com] > Sent: September-18-09 2:00 PM > To: 'Jim Lucas'; 'Ernie Kemp' > Cc: php-general@lists.php.net > Su

RE: [PHP] PHP Header issue

2009-09-18 Thread Ernie Kemp
: HallMarc Websites [mailto:m...@hallmarcwebsites.com] Sent: September-18-09 2:00 PM To: 'Jim Lucas'; 'Ernie Kemp' Cc: php-general@lists.php.net Subject: RE: [PHP] PHP Header issue > -Original Message- > From: Jim Lucas [mailto:li...@cmsws.com] > Sent: Friday, Se

RE: [PHP] PHP Header issue

2009-09-18 Thread HallMarc Websites
> -Original Message- > From: Jim Lucas [mailto:li...@cmsws.com] > Sent: Friday, September 18, 2009 1:33 PM > To: Ernie Kemp > Cc: php-general@lists.php.net > Subject: Re: [PHP] PHP Header issue > > Jim Lucas wrote: > > Ernie Kemp wrote: > >> >

RE: [PHP] PHP Header issue

2009-09-18 Thread Ernie Kemp
agentintellect.com] Sent: September-18-09 1:41 PM To: Jim Lucas Cc: Ernie Kemp; php-general@lists.php.net Subject: Re: [PHP] PHP Header issue > if ... you have > output_buffering option enabled in the php configuration. Which is probably the case on the OP's local machine, and would expla

Re: [PHP] PHP Header issue

2009-09-18 Thread Ben Dunlap
> if ... you have > output_buffering option enabled in the php configuration. Which is probably the case on the OP's local machine, and would explain why the code doesn't fail for him there. Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] PHP Header issue

2009-09-18 Thread Jim Lucas
Jim Lucas wrote: > Ernie Kemp wrote: >> >> >> >> >> >> >> Contact Us >> >> >> >> >> >> >> >> >> >> >> >> The above is just snippet of the code but even this simple example throws >> the Header Warning / Error. >> >> Warning: Cannot modify header information - headers already sent by

RE: [PHP] PHP Header issue

2009-09-18 Thread Ashley Sheridan
lard [mailto:aball...@gmail.com] > Sent: September-18-09 12:44 PM > To: Ernie Kemp > Cc: php-general@lists.php.net > Subject: Re: [PHP] PHP Header issue > > On Fri, Sep 18, 2009 at 12:39 PM, Ernie Kemp wrote: > > > > > > > > > > > > Contact Us

RE: [PHP] PHP Header issue

2009-09-18 Thread HallMarc Websites
I'm bewildered, bemused, astonished and am trying really hard not to lash out Thank you, Marc Hall HallMarc Websites 610.446.3346 __ Information from ESET Smart Security, version of virus signature database 4438 (20090918) __ The message was checked by ESET Smart S

RE: [PHP] PHP Header issue

2009-09-18 Thread Ernie Kemp
et Subject: Re: [PHP] PHP Header issue On Fri, Sep 18, 2009 at 12:39 PM, Ernie Kemp wrote: > > > > > > Contact Us > > > > > > > > > > > > The above is just snippet of the code but even this simple example throws the > Header Warning /

RE: [PHP] PHP Header issue

2009-09-18 Thread HallMarc Websites
http://us3.php.net/manual/en/function.header.php Thank you, Marc Hall HallMarc Websites 610.446.3346 __ Information from ESET Smart Security, version of virus signature database 4438 (20090918) __ The message was checked by ESET Smart Security. http://www.eset.com -- PHP

Re: [PHP] PHP Header issue

2009-09-18 Thread Jim Lucas
Ernie Kemp wrote: > > > > > > > Contact Us > > > > > > > > > > > > The above is just snippet of the code but even this simple example throws > the Header Warning / Error. > > Warning: Cannot modify header information - headers already sent by (output > started at /home/cont

Re: [PHP] PHP Header issue

2009-09-18 Thread Andrew Ballard
On Fri, Sep 18, 2009 at 12:39 PM, Ernie Kemp wrote: > > > > > > Contact Us > > > > > > > > > > > > The above is just snippet of the code but even this simple example throws the > Header Warning / Error. > > > > Warning: Cannot modify header information - headers already sent by (output >