contraboybish Posted May 17, 2007 Share Posted May 17, 2007 i have a header that redirects to a *.aspx page, eg.... <?php header("Location: logistics.aspx"); ?> It redirects fine but the page loads as source code only!!!! Can you redirect to ASP files? Bish Quote Link to comment https://forums.phpfreaks.com/topic/51793-solved-re-direction-to-aspx-page/ Share on other sites More sharing options...
MadTechie Posted May 17, 2007 Share Posted May 17, 2007 You can but i think your find when you load up that page manually it will still show the source, do your server (with the ASPX file) support ASPx? Quote Link to comment https://forums.phpfreaks.com/topic/51793-solved-re-direction-to-aspx-page/#findComment-255198 Share on other sites More sharing options...
contraboybish Posted May 17, 2007 Author Share Posted May 17, 2007 Yes my server does support ASP. I think i may need to find anither way round this Bish Quote Link to comment https://forums.phpfreaks.com/topic/51793-solved-re-direction-to-aspx-page/#findComment-255204 Share on other sites More sharing options...
MadTechie Posted May 17, 2007 Share Posted May 17, 2007 but does it support aspX.. also correct me if i'm wrong but when you went to thw aspx page manually is showed the code correct! Quote Link to comment https://forums.phpfreaks.com/topic/51793-solved-re-direction-to-aspx-page/#findComment-255206 Share on other sites More sharing options...
contraboybish Posted May 17, 2007 Author Share Posted May 17, 2007 Ok seems to work better when you use a full url eg.. <?php header("Location: http://www.logistics.aspx"); ?> Sorry my server does support aspx i'm using ASP_NET v2 Thanks Anyhoot :-) Quote Link to comment https://forums.phpfreaks.com/topic/51793-solved-re-direction-to-aspx-page/#findComment-255211 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.