Thanks Norman, you were right.<br><br>I'm not sure whether it is a Windows thing which causes the "\" however I have managed to fix it.<br><br>All I did to get around it was add a line directly above return "http$s://$host$p$path" in the getServerURL() function; which was simply $path = "/" - which forces a forward slash even if Windows or whatever wants to go the other way.
<br><br>I've done a few quick tests and this appears to have solved it. Thanks for the pointer to common.php!<br><br>- Adam Williams<br><br><div><span class="gmail_quote">On 02/05/07, <b class="gmail_sendername">Norman Rasmussen
</b> <<a href="mailto:norman@rasmussen.co.za">norman@rasmussen.co.za</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<span class="q">On 5/2/07, <b class="gmail_sendername">Adam Williams | AW Digital</b> <<a href="mailto:adam.williams@awdigital.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">adam.williams@awdigital.com
</a>> wrote:</span><div><span class="q"><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Have a look at <a href="http://openid.awdigital.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://openid.awdigital.com</a> in firefox (not IE). You will see that all of the references to $server_url are set as
<a>
http://openid.awdigital.com\/.</a>.. with the random backslash i.e. <a>http://openid.awdigital.com\/?action=account</a>. This stops all of the functions from working. If you load the page in IE, instead of \/ you get // which still doesnt work correctly.
<br><br>I think it might be to do with how $server_url is set but i cant find in any of the files a line that is $server_url = <br><br>Has anyone experienced this problem before in this application, if so can you help me out?
</blockquote></span><div><br>It might be because it's apache on windows. has anyone else tried this?<br><br></div></div>The server's URL is detected in common.php in the getServerURL or getRootURL function. My guess is that you'll find that $_SERVER['SCRIPT_NAME'] ends with a '\'. It should be fairly easy to fix it at that point.
<br><span class="sg"><br>-- <br>- Norman Rasmussen<br> - Email: <a href="mailto:norman@rasmussen.co.za" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">norman@rasmussen.co.za</a><br> - Home page: <a href="http://norman.rasmussen.co.za/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://norman.rasmussen.co.za/</a>
</span><br>_______________________________________________<br>Dev mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Dev@lists.openidenabled.com">Dev@lists.openidenabled.com</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.openidenabled.com/mailman/listinfo/dev" target="_blank">
http://lists.openidenabled.com/mailman/listinfo/dev</a><br><br></blockquote></div><br>