Page 1 of 1

simple question

Posted: Fri Mar 21, 2003 3:09 pm
by toms100
ok what i wnat to do is to redirect a user to a webpage (after they have submited a form)
i tried searching on google but all i got is sites where people had used php and were redirecting!
i want something similar to asp's response.redirect.

many thanks

Tom

Posted: Fri Mar 21, 2003 3:20 pm
by twigletmac
http://www.php.net/manual/en/function.header.php
viewtopic.php?t=1157

Code: Select all

header('Location: http://www.mysite.com/page.php');
Mac

Posted: Fri Mar 21, 2003 3:31 pm
by toms100
thanks very much twigletmac:)