Cannot modify header information

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Cannot modify header information

    Hello,

    I have this error

    Warning: Cannot modify header information - headers already sent by (output
    started at /home/sites/site46/web/caddie_v2b/clickdroit.inc:2) in
    /home/sites/site46/web/caddie_v2b/modif_caddie.inc on line 27

    and in line 27 I have this
    header("Location: ".$_SERVER["PHP_SELF"]);

    I dont know why but its ok with easyphp and not when I send it in my
    provider

    Could you help me please ?

    Best regards,

    Alain




    MERCI



    dave Guest

  2. Similar Questions and Discussions

    1. #40208 [NEW]: Cannot modify header information
      From: jos_php at yahoo dot com Operating system: linux PHP version: 4.4.4 PHP Bug Type: *General Issues Bug description: ...
    2. SoapExtension and header information
      I appologize for the crosspost to microsoft.public.webservices, I didn't intend to post there at all. I'm new to Soap and I'm trying to write a...
    3. HTTP header information - Acrobat 5
      Is it possible to send HTTP header information such as Referer from inside a PDF?
    4. Cannot add header information - headers already sent
      Hi all, I’m stuck with this one: I have an checkout procedure: when people come to the overview page(step 2), they get: Warning: Cannot add...
    5. [PHP] Cannot add header information - headers already sent
      Hi ermelir, Thanks for your quick response! The http://www.aurelis.org/store/checkout_form.txt file shows in the browser with an empty first...
  3. #2

    Default Re: Cannot modify header information

    dave wrote:
    > Warning: Cannot modify header information - headers already sent by
    > (output started at /home/sites/site46/web/caddie_v2b/clickdroit.inc:2) in
    > /home/sites/site46/web/caddie_v2b/modif_caddie.inc on line 27
    >
    > and in line 27 I have this
    > header("Location: ".$_SERVER["PHP_SELF"]);
    >
    > I dont know why but its ok with easyphp and not when I send it in my
    > provider
    Please refer to [url]http://tinyurl.com/6pqy2[/url] and [url]http://tinyurl.com/58l2o[/url] (these
    are links to past answers using Google Groups).

    --
    Chris Hope - The Electric Toolbox - [url]http://www.electrictoolbox.com/[/url]
    Chris Hope Guest

  4. #3

    Default Re: Cannot modify header information

    THANK YOU VERY VERY MUCH MY FRIEND

    "Chris Hope" <blackhole@electrictoolbox.com> a écrit dans le message de
    news:1097007236_8157@216.128.74.129...
    > dave wrote:
    >
    > > Warning: Cannot modify header information - headers already sent by
    > > (output started at /home/sites/site46/web/caddie_v2b/clickdroit.inc:2)
    in
    > > /home/sites/site46/web/caddie_v2b/modif_caddie.inc on line 27
    > >
    > > and in line 27 I have this
    > > header("Location: ".$_SERVER["PHP_SELF"]);
    > >
    > > I dont know why but its ok with easyphp and not when I send it in my
    > > provider
    >
    > Please refer to [url]http://tinyurl.com/6pqy2[/url] and [url]http://tinyurl.com/58l2o[/url]
    (these
    > are links to past answers using Google Groups).
    >
    > --
    > Chris Hope - The Electric Toolbox - [url]http://www.electrictoolbox.com/[/url]

    dave Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139