Hi to all!
Can you tell me how hide a url with php code?
For example if my url is
http://www.myweb.com/file.php?var=n&var2=n2
I want the user watch this
http://www.myweb.com/file.php
Thanks to everyone will help me!
from above i can see that you are using GET method for your links.
if you dont want your users to see the GET parameters, then simply use POST method for the links (though the links had to be in buttons)
then you will only see file.php in all cases.
Basiclly you want to past your info in a form you use hidden and when the page is submitted the form passes your values
<input type"hidden" name="var" value="n">
Hope this helps
Basiclly you want to past your info in a form you use hidden and when the page is submitted the form passes your values <input type"hidden" name="var" value="n">
Uhm no, if you'd use <form method="get"> you would still see the ?var=n in the url. Only if you explicitly use method="post", the values will be submitted through POST. BTW the default is GET.
to take this one step further (one year later) how would one make it so that only the directory is to be shown?
i.e. http://www.blahdewhoo.com/eat-this/something.php3?num=2&id=123641&thread=123585 --> http://www.blahdewhoo.com/eat-this/