bitz
March 22, 2013, 7:23am
1
Example #1 $_GET example
<?php
echo 'Hello ' . htmlspecialchars($_GET["name"]) . '!';
?>
Assuming the user entered http://example.com/?name=Hannes
The above example will output something similar to:
Hello Hannes!
but i want output like this
http://example.com/Hannes
any one can tell me
Cups
March 22, 2013, 7:39am
2
I am not sure, but I think you mean input like example.com/Hannes if so then you need to read about Apaches mod_rewrite
bitz
March 22, 2013, 8:21am
3
i want to get this veriable dd= from my url
for here
<iframe width=“560” height=“315” src=“http://www.youtube.com/embed/[COLOR=“#FF0000”]oIowZiM41kQ[/COLOR] ” frameborder=“0” allowfullscreen></iframe>
it should be something like this
($_GET[“dd”])
bitz
March 22, 2013, 8:27am
4
please help me for this
i want to get this veriable dd= from my url
for here
<iframe width=“560” height=“315” src=“http://www.youtube.com/embed/[COLOR=“#FF0000”][B]oIowZiM41kQ[/B][/COLOR] ” frameborder=“0” allowfullscreen></iframe>
it should be something like this
($_GET[“dd”])
See your other thread.
And maybe try reading a PHP tutorial? It looks to me you’re trying to implement something that is far beyond your current knowledge and capabilities. A “hack n slash n patch together” approach to website building is NEVER a good idea.