<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    I passed the URL through to the wifidog manually, and then pulled it
    out of the URI_REFERER on the output page.<br>
    <br>
    Can't remember which page it was, but if your're using PHP:<br>
    <br>
    $data = $_SERVER['HTTP_REFERER'];<br>
    //split up the string<br>
    $array = explode('php?', $data);<br>
    //use only part 2<br>
    $data = $array[1];<br>
    //split that<br>
    $array = explode('&', $data);<br>
    foreach ($array as $items) {<br>
        $item = explode('=', $items);<br>
        if ('url' == $item[0]) {<br>
            //this is where we want to go<br>
            $url = urldecode($item[1]);<br>
        }<br>
    }<br>
    <br>
    But you'll need to just do some basic debugging, etc  to work out
    which pages you're using. I think it sends you to gateway.php - but
    I can't actually remember, and don't have the setup here any more.<br>
    <br>
    HTH, Chris<br>
    <br>
    <br>
    On 15/09/2010 17:01, Jim Musson wrote:
    <blockquote
      cite="mid:ECC8D32CB8F95B4BB163B82AC69A17CCFE4A@exch.digserv.ext"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 11 (filtered
        medium)">
      <o:smarttagtype
        namespaceuri="urn:schemas-microsoft-com:office:smarttags"
        name="PostalCode">
        <o:smarttagtype
          namespaceuri="urn:schemas-microsoft-com:office:smarttags"
          name="State">
          <o:smarttagtype
            namespaceuri="urn:schemas-microsoft-com:office:smarttags"
            name="City">
            <o:smarttagtype
              namespaceuri="urn:schemas-microsoft-com:office:smarttags"
              name="Street">
              <o:smarttagtype
                namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                name="address">
                <o:smarttagtype
                  namespaceuri="urn:schemas-microsoft-com:office:smarttags"
                  name="place">
                  <!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
                  <style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoAutoSig, li.MsoAutoSig, div.MsoAutoSig
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
                  <div class="Section1">
                    <p class="MsoNormal"><font size="2" face="Arial"><span
                          style="font-size: 10pt; font-family: Arial;">Hi,<o:p></o:p></span></font></p>
                    <p class="MsoNormal"><font size="2" face="Arial"><span
                          style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
                    <p class="MsoNormal"><font size="2" face="Arial"><span
                          style="font-size: 10pt; font-family: Arial;">Can
                          someone tell me how to have users redirected
                          to the web
                          site name they originally entered after they
                          complete the logon page?<o:p></o:p></span></font></p>
                    <p class="MsoNormal"><font size="2" face="Arial"><span
                          style="font-size: 10pt; font-family: Arial;">My
                          setup now brings them to the portal page.<o:p></o:p></span></font></p>
                    <p class="MsoNormal"><font size="2" face="Arial"><span
                          style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
                    <p class="MsoNormal"><font size="2" face="Arial"><span
                          style="font-size: 10pt; font-family: Arial;">Thanks!<o:p></o:p></span></font></p>
                    <p class="MsoNormal"><font size="2" face="Arial"><span
                          style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
                    <p class="MsoAutoSig" style="margin-bottom: 12pt;"><font
                        size="3" face="Times New Roman"><span
                          style="font-size: 12pt;">Jim Musson<br>
                          <i><span style="font-style: italic;">Digital
                              Computer Services<br>
                              <u3:street u4:st="on"><u3:address
                                  u4:st="on"><u1:street u2:st="on"><u1:address
                                      u2:st="on"><st1:street w:st="on"><st1:address
                                          w:st="on">105 W King St Suite
                                          201</st1:address></st1:street></u1:address></u1:street></u3:address></u3:street><br>
                              <u3:place u4:st="on"><u3:city u4:st="on"><u1:place
                                    u2:st="on"><u1:city u2:st="on"><st1:place
                                        w:st="on"><st1:city w:st="on">Hillsborough</st1:city></st1:place></u1:city></u1:place>
                                  <u3:state u4:st="on"><u1:state
                                      u2:st="on"><st1:state w:st="on">NC</st1:state></u1:state></u3:state>
                                  <u3:postalcode u4:st="on"><u1:postalcode
                                      u2:st="on"><st1:postalcode
                                        w:st="on">27278</st1:postalcode></u1:postalcode></u3:postalcode></u3:city></u3:place><br>
                            </span></i><a moz-do-not-send="true"
                            href="mailto:jmusson@digserv.com"
                            title="mailto:jmusson@digserv.com
                            blocked::jmusson@digserv.com">jmusson@digserv.com</a></span><o:p></o:p></font></p>
                    <p class="MsoNormal"><font size="3" face="Times New
                        Roman"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p>
                  </div>
                  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
WiFiDog mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WiFiDog@listes.ilesansfil.org">WiFiDog@listes.ilesansfil.org</a>
<a class="moz-txt-link-freetext" href="http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog">http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog</a></pre>
                </o:smarttagtype></o:smarttagtype></o:smarttagtype></o:smarttagtype></o:smarttagtype></o:smarttagtype></blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <p> </p>
      <p><font color="#666666"><font face="Trebuchet MS"><font
              style="font-size: 11pt;" size="3"><b>Chris
                Tate-Davies</b></font></font></font></p>
      <p><font color="#ff7800"><font face="Trebuchet MS"><font size="2"><span
                lang="en-GB"><b>Software
                  Development</b></span></font></font></font> <font
          color="#335e93"><font face="Trebuchet MS"><font
              style="font-size: 8pt;" size="1"><span lang="en-GB"><br>
                Inflight
                Productions Ltd<br>
                Telephone: 01295 269 680<br>
                15 Stukeley Street |
                London | WC2B 5LT<br>
              </span></font></font></font><font color="#335e93"><font
            face="Trebuchet MS"><font style="font-size: 8pt;" size="1"><span
                lang="en-GB"><b>Email:</b></span></font></font></font><font
          color="#335e93"><font face="Trebuchet MS"><font
              style="font-size: 8pt;" size="1"><span lang="en-GB">
                <a
                  href="mailto:chris.tatedavies@inflightproductions.com">chris.tatedavies@inflightproductions.com</a><br>
              </span></font></font></font><font color="#335e93"><font
            face="Trebuchet MS"><font style="font-size: 8pt;" size="1"><span
                lang="en-GB"><b>Web:</b></span></font></font></font><font
          color="#335e93"><font face="Trebuchet MS"><font
              style="font-size: 8pt;" size="1"><span lang="en-GB">
                <a href="http://www.inflightproductions.com/">www.inflightproductions.com</a></span></font></font></font></p>
      <p> </p>
      <p style="margin-bottom: 0cm;"><br>
      </p>
    </div>
  </body>
</html>

<html>
        <head>
                <style type="text/css">
                body, a
                        {
                        font-family: "Arial", "Times New Roman";
                        font-size: 10pt;
                        }
                </style>
        </head>
        <body>
                <hr align="left" size="2" width="400">
                <br />Registered Office: 15 Stukeley Street, London WC2B 5LT, England. Registered in England number 1421223
                <br />
                <br />This message is for the designated recipient only and may 
                contain privileged, proprietary, or otherwise private information. If you have 
                received it in error, please notify the sender immediately and delete the 
                original. Any other use of the email by you is prohibited. Please note that the 
                information provided in this e-mail is in any case not legally binding; all 
                committing statements require legally binding signatures.
                <br />
                <br /><a href="http://www.inflightproductions.com" target="_blank">http://www.inflightproductions.com</a>
        </body>
</html>