Tag Info

New answers tagged

-1

You can do this with the PHP function gethostbyaddr() $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']); echo $hostname; In your case gethostbyaddr('123.45.678.90') will return "pool-123-45-678-90.phlapa.fios.verizon.net" See: http://php.net/gethostbyaddr EDIT: In your comment you say to be concerned about this call to be time consuming. I've done a ...


0

This actually happens in all formats that I've tried (not just PDF). I can't offer a ready-made solution for generating the PDF format. But I did solve this for HTML. Programmatically, you would need to parse the (HTML) document and rewrite the href attribute while URLdecoding the true link which is after the ?q= part. The code here is PHP from the ...



Top 50 recent answers are included