urlencode() htmlentities()
and how can I do links like that one "http://www.blablabla.com/index.php?s="
thanks for anyone who helps me !!!🙂
Hi,
I suggest you read the manual.
http://www.phpbuilder.com/
http://www.phpbuilder.com/manual/function.urlencode.php
J.
urlencode : http://www.php.net/manual/en/function.urlencode.php htmlentities() : http://www.php.net/manual/en/function.htmlentities.php
what exactly do u mean by
if you have a varialbe $s that you want to pass to a page through a link one os the ways to do it is
<?php $s = "something"; echo "http://www.blablabla.com/index.php?s=".$s; ?>
U know that the user that surf in the site will see the real url!
it usually come with id=4918209(or something like that) in the url
well im not sure what it is that you are asking ?? what do you need to get done ? if you tell us that clearly perhaps we can help you
reg kevin
If the page prior to the one where you see the complete link in the url box is a form, you see the blah.php?id=4 stuff like that from them choosing either get or post as the method in the form. One shows all the variables while the other does not
OK thanks u helped me ! I understood thanks to all of u!🙂