<snip>
Or, correctly:

header("Location: http://www.yourdomain.com/personalpage.php?id=$id";);

</snip>

to add to what john said, you could make it a little easier to move
your script from place to place if you use some php variables and the
dirname function.

this comes right from the manual:

<?php
header("Location: http://"; . $_SERVER['HTTP_HOST']
                     . dirname($_SERVER['PHP_SELF'])
                     . "/" . $relative_url);
?> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to