whats a code that i can use in a hidden field to retrieve the URL that the user is currently viewing
<form action='/something.php' method=post> <input type=hidden name=coming_from value='<?php echo $PHP_SELF; ?>'> ..... .... .... </form>
what something.php will get in $_POST['coming_from'] is the url of the page from which the form was submitted
perfect thanks
actually this did not work it only came back with "/index.php"
anyway I can make it the full url?
http://www.phpbuilder.com/board/showthread.php?s=&threadid=10243458 Post here this is the same issue...thanks