By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,101 Members | 1,394 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,101 IT Pros & Developers. It's quick & easy.

php redirect

P: 9
hi;

i want to redirect my php file to an aspx file. is it possible? in my php file i have a form, i will get some values from form prepare the url and redirect.

thanks.
Jan 7 '08 #1
Share this Question
Share on Google+
1 Reply


P: 11
You can use the header function for this. No output may be sent before using this function.

Expand|Select|Wrap|Line Numbers
  1. <?php
  2. header('Location: http://www.yourdomain.com/page.asp');
  3. ?> 
Jan 7 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.