Professional Web Applications Themes

[PHP] Header won't redirect - PHP Development

[snip] Jay, good guess, but wrong! While register_globals does equal off, I am using $_GET['pagename'] to assign the value to $pagename before the snippet of code that I sent. Sorry I didn't mention that earlier. I tried putting the _GET in my header redirection directly, but that didn't help. Any other ideas? Anyone else have an idea? [/snip] Can we see the line of code where you are making the assignment?...

  1. #1

    Default RE: [PHP] Re: Header won't redirect

    [snip]
    Jay, good guess, but wrong! While register_globals does equal off, I am
    using $_GET['pagename'] to assign the value to $pagename before the
    snippet
    of code that I sent. Sorry I didn't mention that earlier. I tried
    putting
    the _GET in my header redirection directly, but that didn't help. Any
    other
    ideas? Anyone else have an idea?
    [/snip]

    Can we see the line of code where you are making the assignment?
    Jay Blanchard Guest

  2. #2

    Default Re: [PHP] Re: Header won't redirect

    Jay,

    Try replying to the group so that your contributions stay with the thread
    instead of being orphaned and lost.

    Regards,
    Jonathan Duncan


    "Jay Blanchard" <jay.blanchardniicommunications.com> wrote in message
    news:C8F323573C030A448F3E5A2B6FE2070B01AFA841neme sis...
    [snip]
    Jay, good guess, but wrong! While register_globals does equal off, I am
    using $_GET['pagename'] to assign the value to $pagename before the
    snippet
    of code that I sent. Sorry I didn't mention that earlier. I tried
    putting
    the _GET in my header redirection directly, but that didn't help. Any
    other
    ideas? Anyone else have an idea?
    [/snip]

    Can we see the line of code where you are making the assignment?
    Jonathan Duncan Guest

  3. #3

    Default Re: [PHP] Re: Header won't redirect

    Try $_REQUEST['pagename'] instead. Oh before you do that, try this and see
    if you have any received data at all in the first place. just look for
    'pagename' in any arrays, don't look for $_GET['pagename'], just look for
    'pagename' and see if there is any.

    --snip--
    <?
    print_r($GLOBALS);
    ?>
    --snip--
    "Jay Blanchard" <jay.blanchardniicommunications.com> wrote in message
    news:C8F323573C030A448F3E5A2B6FE2070B01AFA841neme sis...
    [snip]
    Jay, good guess, but wrong! While register_globals does equal off, I am
    using $_GET['pagename'] to assign the value to $pagename before the
    snippet
    of code that I sent. Sorry I didn't mention that earlier. I tried
    putting
    the _GET in my header redirection directly, but that didn't help. Any
    other
    ideas? Anyone else have an idea?
    [/snip]

    Can we see the line of code where you are making the assignment?
    Scott Fletcher Guest

  4. #4

    Default Re: [PHP] Re: Header won't redirect

    * Thus wrote Jonathan Duncan (jonathannacnud.com):
    > Jay,
    >
    > Try replying to the group so that your contributions stay with the thread
    > instead of being orphaned and lost.
    he did.

    Curt
    --
    "I used to think I was indecisive, but now I'm not so sure."
    Curt Zirzow Guest

Similar Threads

  1. Location header - slow redirect
    By Admin in forum PHP Development
    Replies: 3
    Last Post: July 13th, 03:47 PM
  2. Cannot verify connection - PHP header redirect
    By soetes in forum Macromedia Contribute Connection Administrtion
    Replies: 1
    Last Post: December 15th, 01:42 PM
  3. [PHP] Header won't redirect
    By Jay Blanchard in forum PHP Development
    Replies: 3
    Last Post: September 19th, 05:08 PM
  4. Header won't redirect
    By Jonathan Duncan in forum PHP Development
    Replies: 4
    Last Post: September 19th, 04:01 PM
  5. [PHP] Header won't redirect
    By Jay Blanchard in forum PHP Development
    Replies: 0
    Last Post: September 19th, 01:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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