Hey People: I made a form validator script, it redirects you back to the page you were before if you have an error. To do this iam putting a hidden entry that is $REQUEST_URI . So if the script needs to redirect you back itll do this: header("Location: ?$reference&message=another_message"); The problem with this is that the form is put as an include in many pages, some people access the page from index.php others from index.php?page=21 So if they are accessing it from plain index.php itll add a & (as you saw on the code) but i guess this is ok? or anybody know of a better way to do this?
Josepablo _________________________________________________________ Do You Yahoo!? La emoción e intensidad del deporte en Yahoo! Deportes. http://deportes.yahoo.com.mx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php