Grr it just takes the biscuit. I found the problem in my menu system.
Basically, I was trying to send on two ? rather than using an &.

So incredibly annoying, yet so incredibly simple... ah well

Stephen

----- Original Message -----
From: "Stephen Edmonds" <[EMAIL PROTECTED]>
To: "PHP Windows Helplist" <[EMAIL PROTECTED]>
Sent: Friday, January 17, 2003 12:10 PM
Subject: [PHP-WIN] It just doesn't make sense!


> I am currently re-writing part of my website to allow people who don't use
> cookies to still use the site features. However, I have run into a
problem.
> I send the session ID from page to page via the query string, and retreve
it
> using $_GET. Everything works fine, and if set I store the details in
> $AppendStringToURL
>
> // Code for $AppendStringToURL
> if ( isset( $_GET[NonCookieLogin] ) ) {
>     // Using other method to login
>     $AppendStringToURL = "?NonCookieLogin=".$_GET[NonCookieLogin];
> }
>
> Again, this works fine. I then split the page into two frames as shown
> below:
>
> $FrameProperTarget =
> "http://".$_SERVER["HTTP_HOST"]."/".$FrameTarget.$AppendStringToURL;
> $OffsideTarget =
>
"http://".$_SERVER["HTTP_HOST"]."/members/interface/"."offside.php".$AppendS
> tringToURL;
>
> The problem is that $FrameProperTarget gets the bit added on the end so
that
> the ID is passed on, but $OffsideTarget does not get any value from
> $AppendStringToURL. For example:
>
> Value of $FrameProperTarget -
>
http://scryt.no-ip.com/members/columns.php?NonCookieLogin=896c972ac44a7babdf
> 2549ead6f30b86
> Value of $OffsideTarget -
> http://scryt.no-ip.com/members/interface/offside.php
>
> As you can see, it has not added the bit onto the end... and I have no
idea
> why. Since one works and the other doesn't, yet they both use the same
> construction method, they both use the same variable, and the
> $AppendStringToURL does not show up anywhere else in the source code of
the
> HTML page (i.e. its not outside any ", it doesn't excist. Something has
gone
> totally up the creek here... any ideas?
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to