> -----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.
a couple of ways i can think of ..
1 leave the action blank in your form tags eg... <form> or <form name="foo"
2 have $PHP_SELF as ur action eg <form name="foo" action="<? $PHP_SELF ?>"
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php