php redirect

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ahmetbm
    New Member
    • Nov 2007
    • 9

    php redirect

    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.
  • spudse
    New Member
    • Jan 2008
    • 11

    #2
    You can use the header function for this. No output may be sent before using this function.

    [code=php]<?php
    header('Locatio n: http://www.yourdomain. com/page.asp');
    ?> [/code]

    Comment

    Working...