PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Feb 24, 2020 6:54 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Sun Aug 31, 2003 6:33 pm 
Offline
DevNet Master

Joined: Thu Jan 30, 2003 9:26 pm
Posts: 2893
Location: Glasgow, Scotland


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 01, 2003 7:06 am 
Offline
Forum Newbie

Joined: Wed Oct 01, 2003 7:06 am
Posts: 8
there is one way to disable this error!

Syntax: [ Download ] [ Hide ]
<?
@ini_set("output_buffering","On");
?>


Now you can send text before headers and not get an error, such as cookies, this now would be valid

Syntax: [ Download ] [ Hide ]
 
You are now logged in!<? setcookie('LoggedIn','true',time()+3600);?>
 


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 19, 2003 12:54 pm 
Offline
Forum Contributor
User avatar

Joined: Wed May 29, 2002 3:46 am
Posts: 238
Location: Florida


Last edited by Benjamin on Mon May 11, 2009 2:10 am, edited 1 time in total.
Changed [code] to [code=php]


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 13, 2003 5:44 am 
Offline
Forum Contributor
User avatar

Joined: Fri Aug 08, 2003 6:44 am
Posts: 213
Location: p(h) developer's network


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 13, 2003 6:48 am 
Offline
Her Royal Site Adminness
User avatar

Joined: Tue Apr 23, 2002 2:21 am
Posts: 5371
Location: Essex, UK


Top
 Profile  
 
 Post subject: Still on Variables
PostPosted: Tue Jan 13, 2004 6:05 am 
Offline
Forum Newbie

Joined: Tue Jan 13, 2004 4:41 am
Posts: 6
Thanks, your solution works for header() but i still have problem with the session variable :roll:


Top
 Profile  
 
PostPosted: Wed Jun 23, 2004 2:46 am 
Offline
Forum Newbie

Joined: Tue Jun 22, 2004 4:54 am
Posts: 9
Location: Malaysia


Top
 Profile  
 
PostPosted: Mon May 11, 2009 2:13 am 
Offline
Site Administrator
User avatar

Joined: Sun May 19, 2002 10:24 pm
Posts: 6887
I've fixed the code formatting in this post and resurrected it from the grave. We get this question a lot around here, so keep in mind where this post is so you can refer to it whenever this question arises.

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group