How to distinguish addresses currencies apart on php I need depending on the address to assign a value of the transaction. 
Both at the level of php distinguish btc ltc from ppc?
A Bitcoin address always start with 1 or 3. 
A [Litecoin] address always starts with the letter L. 
A Peercoin address starts with the letter P. 


Assuming you can figure out how to check the first character in php, you can distinguish between different addresses. Then you can program whatever value you want into the transaction. Good luck!