I've come up with a way to do this for two reasons:
1) I run uTorrent at my Grandparents' house on their computer with FAST cable internet which has a dynamic IP. I needed the IP because uTorrent has a WebInterface allowing me to start torrents remotely.
2) The game I will be programming will require a computer for a server for stats and such and static IP's normally cost extra. This to will most likely run at my Grandparents' house too.
Basically, what you will need is a host and a domain name. It needs to have (if this will be a big server) high bandwidth, but small storage.You have 2 PHP files, which I can write for you. One file will write your IP to either a MySQL database, or much easier, a text file. The other PHP file will display the text file/MySQL database information. If you only need one user, then it will only require one PHP file and one text file.
On your computer, you have a program which connects to
http://whatismyip.com and splits/strips your IP address from the source. The program running on your computer would do this at an interval that you would set. It would then connect to your host/domain and connect to the PHP file that writes the text file or the MySQL database.
For the client program to connect to your IP (I assume this is for a chat system or something of the sort) you have it connect to the PHP file which displays your IP, which you could encrypt (I can help you with that too.) Reads that, decrypts it if nessicery(yes I know it is spelled wrong), and then is able to connect to it.
The actual server program and client program is up to you to write, but in my spare time this summer, I will write a nice tutorial with source code for all of this. Heck, I'll even host the PHP files for you since my server is already set up for a multi-user for updating IPs.
Let me know how this works and if you need help.
You can add me on AIM. Kingsoccer425
HaloJunkie