# PHP redirect when script is done

**URL:** <https://forum.kirupa.com/t/php-redirect-when-script-is-done/174801>\
**Category:** programming\
**Created:** [January 9, 2006, 1:05pm UTC](https://forum.kirupa.com/t/php-redirect-when-script-is-done/174801 "2006-01-09T13:05:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![StarXploser](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/starxploser/32/875_2.png) [@StarXploser](https://forum.kirupa.com/u/StarXploser)\
**Post date:** [January 9, 2006, 1:05pm UTC](https://forum.kirupa.com/t/php-redirect-when-script-is-done/174801/1 "2006-01-09T13:05:10Z")

</div>

Hi,  
Is it possible to redirect the user to a different page once my script is done ?

example

[INDENT]$c = 3+3;  
//im done  
//let’s leave this place

redirectTo(“newplace.php”);  
[/INDENT]  
is that possible ?
