This may seem like a dumb question, but is there any difference in the data sent or the way it is sent, between these two 'actions' for forms.
action="http://www.site.com/search.php"
and
action="/search.php"
????????
Obviously I'll use the later to reduce code if everything is the same.
The reason I ask is that I found a site that uses a mixture of both - and I can't reason why. Either there is a difference, or it is just inconsistent coding through the site.
I don't think there is really a reason.
It depends on the script. If they have a script that just takes you to that url then there would be no difference between http://www.mydomain.com/search.php and /search.php. But for external links you would have to do http://www.someguysdomain.com.
Bookmarks