I am trying to determine what this one line of code does in php so I can then convert it to VB.NET.
Code: $test = ("www.facebook.com" & "VSSLIGHTBOX007");
When I execute the following in php:
echo $test;
this returns: VSS@A@DBOH #
When I execute the follwing in vb.net:
test = ("www.facebook.com" And "VSSLIGHTBOX007")
Msgbox(test)
this returns: ERROR
Essentially, the result of the vb.net code should equal that of the php code.
What am I doing wrong?
I need to solve this ASAP. Please Help
Thanks.
The PHP manual says that it bitwise AND’s them together using ASCII encoding.
You will have to do this manually. Use the
Encodingclass to get each as an of ASCII bytes then bitwise AND them together.