tags:

views:

187

answers:

1

Is there any difference beween:

<form action="">

... and:

<form action=".">

?

+8  A: 

empty string normally indicates current url (e.g., http://example.com/a/test.html)
'.' - current 'directory' (e.g., http://example.com/a/)

SilentGhost
Doesn't '.' indicate the current directory and '../' indicate the parent directory?
David Kolar
Depends on your definition of 'parent'. The 'current' directory is the 'parent' of the current file...
bobince
@David: fixed, thanks
SilentGhost