HW TO REDIRECT

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
abhijith
Forum Newbie
Posts: 3
Joined: Wed Jun 10, 2009 6:51 am

HW TO REDIRECT

Post by abhijith »

how to redirect to a page iused Location:Header"pagename.php"
Location:Header"url" its not working is there anything other than the above or writing inside formaction


still not working please reply
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: HW TO REDIRECT

Post by papa »

header('Location: http://www.example.com/');
User avatar
susrisha
Forum Contributor
Posts: 439
Joined: Thu Aug 07, 2008 11:43 pm
Location: Hyderabad India

Re: HW TO REDIRECT

Post by susrisha »

and dont forget a space between Location: and the url..
It drove me nuts once.
Post Reply