> -----Original Message-----
> From: Sailom [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 23 July 2002 12:53 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Getting current URL
>
>
> This might be a silly question.
> Just like the subject, how to get the current URL?  I want to
> make a reload
> button by making a form and direct user to the current page.
>
> Sailom

a couple of ways i can think of ..

1 leave the action blank in your form tags eg... <form> or <form name="foo"
action="" method="POST">

2 have $PHP_SELF as ur action eg <form name="foo" action="<? $PHP_SELF ?>"
method="POST">

cheers


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

Reply via email to