Hi all,
I'm making a website that enables easy sharing of Public PGP keys using PHP and MySQL server side and JS client side making it all nice and dynamic. The site works fine on localhost, but I have just uploaded it to my host, TuxFamily, and it doesn't work. I am unable to find out what the problem is with my query, because that is what I think is wrong.
Anyway here's the code :
index.php : http://pastebin.com/TqJryvC2
inc/pgpshare.class.php : http://pastebin.com/XXMv2PjK
Connections to the MySQL server are made via MySQLi, which connects correctly, all the other functions seem to work except GetUser1Key($id) Line n° 14 in index.php / Line n° 151 in pgpshare.class.php
Thanks in advance ;)