I was wondering if there was any way to get php to simply redirect to an ip.
So I can open an ftp program and in the address type abc.com/index.php and the php will redirect to a specific ip.
The reason is that I have an ftp server at home with a dynamic ip, and I have a .co.uk address that supports php. So I want people to simply type in my static address and this will then redirect them to the ftp.
I know this is fairly easy if they were using IE as their FTP program, I could just use the header("Location: FTP://blah.com"); but I want them to be able to do this from the command line using any ftp software, so they can type ftp open blah.com/ip.php and php will forward/redirect to an IP I specify.
Thank you
Neil