Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
test.php?aa=c++ and echo $_GET['aa'] result only c without ++
<?php
echo $_GET['aa'];
?>
That's because the symbol for + is treated as white space by your browser or HTTP client! If you want to actually send the symbol + in your get request, please encode it first in your web browser.
You can try converting your C++ with tools such as this one https://www.w3schools.com/tags/ref_urlencode.ASP.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I used PHP's echo string in the WhatsApp share link, but when I share it on WhatsApp, the title space separates the trailing characters. help me.
<a class="footerbtn" href="whatsapp://send?text= *Surinder Muni* Early To Bed & Early To Rise* %0Amysite.com/?n=Good Morning">
<?php
echo $GET['n']
?>
You need to encode space (and other potencial invalid characters) when create link in WhatsApp
echo urlencode('Good morning');
In PHP for reading the $_GET['n'] value will be
echo urldecode($_GET['n']);
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
a challenge like this $_GET['2020'] snippet boring me a long time, i want to know how this work, but do not know which keywords to search, maybe how the parameter works?
$_GET reads querystring parameters from the URL. So if someone goes to your PHP script with a URL like http://servername/scriptname.php?2020=ABC then when the PHP script runs, the variable $_GET['2020'] will contain the value ABC.
More info is available in the documentation: https://www.php.net/manual/en/reserved.variables.get.php
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
hi i take look inside some php files and find that the php inside is hidden or encrypted ,it's like this
<?php
echo "<div\x20\x69d\x3d\x22s\x69deba\x72\x22>\n\t";
if(is_active_sidebar("\x72igh\x74-\x73i\x64\x65\x62a\x72-s\x69n\x67\x6ce-\x70\x61g\x65"))
{
echo "\t\t";
dynamic_sidebar("\x72\x69\x67\x68\x74-s\x69de\x62\x61r-\x73i\x6e\x67\x6ce-pa\x67e");
echo "\t";
}
echo "\n</\x64\x69v>\x20\x3c!--\x65n\x64\x20\x23s\x69\x64e\x62\x61\x72-->\n\n";
?>
or
<?php $_F=__FILE__;$_X='Pz48NXJ0IDFsNXJ0LTVycjJyJz48NCBjbDFzcz0nNGMybi1yNW0ydjUnPjwvND4gQ1VSTCBQSFAgNXg1bnQ0Mm'));?>
so what's the difference between the both and how we can do this ?
this is not crypting but encoding, the later on is about a file identifier.
It can be done by encoding/decoding text in hexadecimal instead of ascii see http://www.rapidtables.com/convert/number/hex-to-ascii.htm
or by using escaped unicode see https://r12a.github.io/apps/conversion/ <= this is your case
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Can you please tell me what type of php encoding this is:
<?php $ONbp = 'ICRvd0NwID0gJ0lDUkZUbTlJSUQwZ0owbERVbTFXVm1SNlNVUXdaMG93YkVSVmJsSlVWbXRhUzFOVlVYZGFNRzkzWWtWU1ZtRjZSbUZaYTFaTFRteE9WbFZZWkdGTlJ6a3pXV3RXVTFadFNsbFJia3BhWWxSV1ExUlhlRTlXYkZKVlVXeENWMVl6YUVaV01XaDNZakpHUjFSclpGUmhhMHBoV1ZSQk1WSkdVbkphUlhSWVVqRmFTbFp0TVhkaVIwWnlVMjVrV0Zac1duWldWRUY0VTBaU2NsWnRiRTVOV0VKUFZrWlNTMVZ0Vm5OalJXeG9aV3RhVDFSVlVrWk5WbEp6WVVkR2FHSlZjRmxXUjNCTFZsWmFjMU51YkZWaVJsVXhWbXRWTlZaV1ZuUmhSbEpUWVRJNU0xWXhaREJVTVU1ellqTnNWMkV5YUU5V01GVXhWVlpzYzJGSE9XbE5WM2d3VkZaa2QxVkdXbGhsUkVKWFlsUldXRlV5TVVkV2JFNTFZMFpvVjJKVk1UUlhWekUwVVRGYVIxUnVVbXhTTW5odlZteGtNR1ZXVlhsT1dHUnNZa2M1TTFrd1ZtOVdWMFp5WTBoT1dtSlVRVEZaYlhoVFUwZEplbHBIUms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blJoUjNCT1lrWldOVlpIZEZwT1YwVjRZMFpvVldKc2NHaFZha1pYWkd4T2NsWnFVbWhXYkZwS1ZrWm9RMVZIVmxaVGJrNWhVbnBHU0ZsNlFqQlNSbFp6VW0xMGFWWlhlRE5XUkU1ellXczBlR05HYkZoaVYyaHdWVlJLYTJOc1pGZFdiRXBxVWxScmVsVkdVWGRpYXprMVZXeHNWVlV3UlRWVFZVNXFZVEZHZEZkdWNFcFNSRUp1VjFjeFIyVnNjRlZYVkVKWlRXeEtjMWRVU1RWaE1YQlVXakowYVZaWGVGTlZNVTV5VGpCc1NGWnFTbHBXTTJSMlUydFdTMkpYVGpWaGVtUkxaVzVTYzFwSE1VZGpNSFJFVld4c1ZWVXljek5LZW5OcldWVTRaMUJUUVc1S1NHeHRZM2xCT1VsSFNtaGpNbFV5VGtZNWExcFhUblphUjFWdlNrZGFWbFl6VFhCUGVVSnNaRzFHYzB0RFVqVmFiazF3VDNsak4xcFlXbWhpUTJkcldWVTRjRTkzUFQwbk95UkNUQ0E5SUNja2RscGhJRDBnWW1GelpUWTBYMlJsWTI5a1pTZ2tSVTV2U0NrN0lHVjJZV3dvSkhaYVlTazdKenRsZG1Gc0tDUkNUQ2s3JzskbHEgPSAnJFpuTSA9IGJhc2U2NF9kZWNvZGUoJG93Q3ApOyBldmFsKCRabk0pOyc7ZXZhbCgkbHEpOw==';$cD = '$LVt = base64_decode($ONbp); eval($LVt);';eval($cD);?>
and can we decode this ? If yes how can I ?
This type of encoding is called Base64 - http://en.wikipedia.org/wiki/Base64
You can decode it using base64_decode() function in PHP (as you can see it attached snippet) or online there - https://www.base64decode.org/
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I need to find a program for see that data are sent a thought the method Post or Get in PHP
without use $_POST and $_GET
You can use $_REQUEST["my_variable"] for php ( server side )
If you want see in browser extension you can use firebug ( client side )
Firebug: how do I see GET parameters?