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 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? 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 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! 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 :-) 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
Archived
This topic is now archived and is closed to further replies.