PHP Classes

Question @ Setting Header

Recommend this page to a friend!

      Portscan  >  All threads  >  Question @ Setting Header  >  (Un) Subscribe thread alerts  
Subject:Question @ Setting Header
Summary:What to do if the Header is already set..?
Messages:3
Author:yeknoM
Date:2006-10-20 07:57:44
Update:2006-10-21 02:06:09
 

 


  1. Question @ Setting Header   Reply   Report abuse  
Picture of yeknoM yeknoM - 2006-10-20 07:57:44
I'm tryin g to include this into one of my sites but the header is already set by another script.

How do i work around that?

  2. Re: Question @ Setting Header   Reply   Report abuse  
Picture of ben ben - 2006-10-20 12:21:53 - In reply to message 1 from yeknoM
just take the index.php
remove the line : header("Pragma: no-cache");

you can also take of the htmlcode like
<html><head></head><body> and so on
the index.php is just an example

  3. Re: Question @ Setting Header   Reply   Report abuse  
Picture of yeknoM yeknoM - 2006-10-21 02:06:09 - In reply to message 2 from ben
yeah i tried just removing that, but then the script doesn't work..