> my next question is: how does it work when I use PHP_SELF to
> send a value of a variable to the same page?
You use it to point your <FORM> there.
<FORM ACTION='<?echo $PHP_SELF?>'>
<INPUT TYPE=HIDDEN NAME='name' VALUE='<?echo $value?>'>
<INPUT TYPE=SUBMIT VALUE='Go'>
</FORM>
Now, if the file this form is in gets renamed from foo.php
to bar.php, the form won't break.
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Developer, Melbourne IT
"Work now, freak later!"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]